summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
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")