OProfile: Fix buffer synchronization for IBS
authorBarry Kasindorf <barry.kasindorf@amd.com>
Mon, 14 Jul 2008 22:10:36 +0000 (00:10 +0200)
committerRobert Richter <robert.richter@amd.com>
Mon, 20 Oct 2008 11:44:21 +0000 (13:44 +0200)
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>

No differences found