aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/buffer_sync.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-12-19 12:59:28 +0100
committerRobert Richter <robert.richter@amd.com>2009-01-07 17:06:32 +0100
commit8350c78734e67ac1f8bfd4eb14b70ff4d01a9a12 (patch)
treea4a78d79a0d88f98fffab92e66906121841ca893 /drivers/oprofile/buffer_sync.c
parentoprofile: remove unused ibs macro (diff)
downloadlinux-dev-8350c78734e67ac1f8bfd4eb14b70ff4d01a9a12.tar.xz
linux-dev-8350c78734e67ac1f8bfd4eb14b70ff4d01a9a12.zip
oprofile: remove backtrace code for ibs
This code is broken since a TRACE_BEGIN_CODE is never sent to the daemon. The data becomes corrupt since the backtrace is interpreted as ibs sample. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'drivers/oprofile/buffer_sync.c')
-rw-r--r--drivers/oprofile/buffer_sync.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/oprofile/buffer_sync.c b/drivers/oprofile/buffer_sync.c
index 7415d2e6b3a1..e61e25fda1ad 100644
--- a/drivers/oprofile/buffer_sync.c
+++ b/drivers/oprofile/buffer_sync.c
@@ -557,11 +557,9 @@ void sync_buffer(int cpu)
break;
#ifdef CONFIG_OPROFILE_IBS
case IBS_FETCH_BEGIN:
- state = sb_bt_start;
add_ibs_begin(cpu, IBS_FETCH_CODE, mm);
break;
case IBS_OP_BEGIN:
- state = sb_bt_start;
add_ibs_begin(cpu, IBS_OP_CODE, mm);
break;
#endif