commit | 9b1f261166f56d4b2c33fdf5aad64edd5e30b46f | [log] [tgz] |
---|---|---|
author | Barry Kasindorf <barry.kasindorf@amd.com> | Tue Jul 15 00:10:36 2008 +0200 |
committer | Robert Richter <robert.richter@amd.com> | Mon Oct 20 13:44:21 2008 +0200 |
tree | 748011b45dc178a218df9146921ca027fa99b2cc | |
parent | 4bd9b9dc97e344670e9e5762399a07dcd5f15311 [diff] |
OProfile: Fix buffer synchronization for IBS The patch is needed since there is some IBS code in add_ibs_begin() that handles more than one sample per iteration. This requires calling get_slots() during each loop. This fixes the current problem, but a proper solution that reworks the cpu buffer synchronization is needed here in the future. Signed-off-by: Barry Kasindorf <barry.kasindorf@amd.com> Signed-off-by: Robert Richter <robert.richter@amd.com>