summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--tapsets.cxx5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0695df39..89eb1c7f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-13 Frank Ch. Eigler <fche@elastic.org>
+
+ PR 5759
+ * tapsets.cxx (build_blacklist): Add some CONFIG_PREEMPT-related
+ functions.
+
2008-02-13 Dave Brolley <brolley@redhat.com>
PR5609
diff --git a/tapsets.cxx b/tapsets.cxx
index 9fbad6bb..66fb8bde 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -2418,6 +2418,11 @@ dwarf_query::build_blacklist()
blacklisted_probes.insert("_spin_unlock");
blacklisted_probes.insert("_spin_unlock_irqrestore");
+ // PR 5759, CONFIG_PREEMPT kernels
+ blacklisted_probes.insert("add_preempt_count");
+ blacklisted_probes.insert("preempt_schedule");
+ blacklisted_probes.insert("sub_preempt_count");
+
// __switch_to changes "current" on x86_64 and i686, so return probes
// would cause kernel panic, and it is marked as "__kprobes" on x86_64
if (sess.architecture == "x86_64")