From 275a898f43b2e6f7a55112fce91cbeb8a32f99ac Mon Sep 17 00:00:00 2001 From: Ananth N Mavinakayanahalli Date: Thu, 12 Feb 2009 20:00:27 +0530 Subject: [PATCH] Extend blacklist to cover bitops.h. While there, fixup paths for existing blacklisted files --- tapsets.cxx | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) Index: src/tapsets.cxx =================================================================== --- src.orig/tapsets.cxx +++ src/tapsets.cxx @@ -2937,6 +2937,13 @@ dwarf_query::build_blacklist() blfile += "kernel/kprobes.c"; // first alternative, no "|" blfile += "|arch/.*/kernel/kprobes.c"; + // Older kernels need ... + blfile += "|include/asm/io.h"; + blfile += "|include/asm/bitops.h"; + // While newer ones need ... + blfile += "|arch/.*/include/asm/io.h"; + blfile += "|arch/.*/include/asm/bitops.h"; + blfile += "|drivers/ide/ide-iops.c"; // XXX: it would be nice if these blacklisted functions were pulled // in dynamically, instead of being statically defined here. Index: src/testsuite/systemtap.examples/profiling/functioncallcount.stp =================================================================== --- src.orig/testsuite/systemtap.examples/profiling/functioncallcount.stp +++ src/testsuite/systemtap.examples/profiling/functioncallcount.stp @@ -3,7 +3,7 @@ # # stap functioncallcount.stp "*@mm/*.c" -probe kernel.function(@1) { # probe functions listed on commandline +probe kernel.function(@1).call { # probe functions listed on commandline called[probefunc()] <<< 1 # add a count efficiently }