This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH] systemtap: Blacklist powerpc:hash_fault tracepoint
- From: Hemant Kumar <hemant at linux dot vnet dot ibm dot com>
- To: systemtap at sourceware dot org
- Cc: fche at redhat dot com, mjw at redhat dot com, Hemant Kumar <hemant at linux dot vnet dot ibm dot com>
- Date: Fri, 2 Sep 2016 06:27:43 +0530
- Subject: [PATCH] systemtap: Blacklist powerpc:hash_fault tracepoint
- Authentication-results: sourceware.org; auth=none
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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tapsets.cxx b/tapsets.cxx
index db1e7cc..5ac339f 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -11424,7 +11424,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()));
--
2.7.4