]> sourceware.org Git - systemtap.git/commitdiff
systemtap: Blacklist powerpc:hash_fault tracepoint
authorHemant Kumar <hemant@linux.vnet.ibm.com>
Fri, 2 Sep 2016 00:57:43 +0000 (06:27 +0530)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 2 Sep 2016 01:00:24 +0000 (21:00 -0400)
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 <hemant@linux.vnet.ibm.com>
tapsets.cxx

index bf1bcc06696beec5583d00ccb60ca1155bcf0014..016dd3abace7cd88d453486495a11a7ddab984a6 100644 (file)
@@ -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()));
This page took 0.041846 seconds and 5 git commands to generate.