commit 26f262a7b2712a98d12261b12a5729d9d5e7cb0b
Author: David Smith <dsmith@redhat.com>
Date: Thu Mar 23 16:21:37 2017 -0500
BZ1431263: Disable kernel.data probes on arm64.
* tapsets.cxx (hwbkpt_builder::build): On arm64, hardware breakpoint
probes continually get triggered. So, disable them.
diff --git a/tapsets.cxx b/tapsets.cxx
index 32dfde3..9be2d04 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -10392,6 +10392,12 @@ hwbkpt_builder::build(systemtap_session & sess,
throw SEMANTIC_ERROR (_("CONFIG_HAVE_HW_BREAKPOINT not available on this kernel"),
location->components[0]->tok);
+ // See BZ1431263 (on aarch64, running the hw_watch_addr.stp
+ // systemtap examples cause a stuck CPU).
+ if (sess.architecture == string("arm64"))
+ throw SEMANTIC_ERROR (_("kernel.data probes are not supported on arm64 kernels"),
+ location->components[0]->tok);
+
has_addr = get_param (parameters, TOK_HWBKPT, hwbkpt_address);
has_symbol_str = get_param (parameters, TOK_HWBKPT, symbol_str_val);
has_len = get_param (parameters, TOK_LENGTH, len);