From: Hemant Kumar Date: Fri, 2 Sep 2016 00:57:43 +0000 (+0530) Subject: systemtap: Blacklist powerpc:hash_fault tracepoint X-Git-Tag: release-3.1~611 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=9091831522a91613e7db24d54c647f57c9fdeb0b;p=systemtap.git systemtap: Blacklist powerpc:hash_fault tracepoint Commit c4a048331603a3fe19c886498e957f5f2a577ed9 blacklists hcall_* kernel tracepoints for powerpc to avoid recursive page faults and kernel panic due to that. powerpc:hash_fault should be blacklisted too, since, its placed in the same path of kernel code which is invoked on a page fault. Signed-off-by: Hemant Kumar --- diff --git a/tapsets.cxx b/tapsets.cxx index bf1bcc066..016dd3aba 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -11430,7 +11430,8 @@ tracepoint_query::handle_query_func(Dwarf_Die * func) if ((sess.architecture.substr(0,3) == "ppc" || sess.architecture.substr(0,7) == "powerpc") && (tracepoint_instance == "hcall_entry" || - tracepoint_instance == "hcall_exit")) + tracepoint_instance == "hcall_exit" || + tracepoint_instance == "hash_fault")) { sess.print_warning(_F("tracepoint %s is blacklisted on architecture %s", tracepoint_instance.c_str(), sess.architecture.c_str()));