From a8c9be6f3914af63a30e1566cd5895be5980b39f Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 13 Feb 2008 18:49:34 +0000 Subject: 2008-02-13 Frank Ch. Eigler PR 5759 * tapsets.cxx (build_blacklist): Add some CONFIG_PREEMPT-related functions. --- ChangeLog | 6 ++++++ tapsets.cxx | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0695df39..89eb1c7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-02-13 Frank Ch. Eigler + + PR 5759 + * tapsets.cxx (build_blacklist): Add some CONFIG_PREEMPT-related + functions. + 2008-02-13 Dave Brolley 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") -- cgit