summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorfche <fche>2008-02-13 18:49:34 +0000
committerfche <fche>2008-02-13 18:49:34 +0000
commita8c9be6f3914af63a30e1566cd5895be5980b39f (patch)
tree2a590f84f5272bc08f7e99f5e30f2ecbc8197ded /tapsets.cxx
parent2c5a19c6ba969d8fa30070e7579c1597a0e1c194 (diff)
downloadsystemtap-steved-a8c9be6f3914af63a30e1566cd5895be5980b39f.tar.gz
systemtap-steved-a8c9be6f3914af63a30e1566cd5895be5980b39f.tar.xz
systemtap-steved-a8c9be6f3914af63a30e1566cd5895be5980b39f.zip
2008-02-13 Frank Ch. Eigler <fche@elastic.org>
PR 5759 * tapsets.cxx (build_blacklist): Add some CONFIG_PREEMPT-related functions.
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx5
1 files changed, 5 insertions, 0 deletions
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")