summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--tapsets.cxx1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ba967de5..46e197ff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-07 Josh Stone <joshua.i.stone@intel.com>
+
+ PR 2068
+ * tapsets.cxx (dwarf_query::blacklisted_p): add __switch_to
+ to the blacklist for x86_64 architecture only.
+
2006-02-06 Will Cohen <wcohen@redhat.com>
* tapset/syscall2.stp: Correct opening comment typo.
diff --git a/tapsets.cxx b/tapsets.cxx
index 7705711e..6e5f2146 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -1974,6 +1974,7 @@ dwarf_query::blacklisted_p(string const & funcname,
string filename_s = filename; // is passed as const char*
if (funcname == "do_IRQ" ||
funcname == "notifier_call_chain" ||
+ (funcname == "__switch_to" && sess.architecture == "x86_64") ||
filename_s == "kernel/kprobes.c" ||
0 == fnmatch ("arch/*/kernel/kprobes.c", filename, 0) ||
(has_return && (funcname == "sys_exit" ||