summaryrefslogtreecommitdiffstats
path: root/tapset-itrace.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapset-itrace.cxx')
-rw-r--r--tapset-itrace.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/tapset-itrace.cxx b/tapset-itrace.cxx
index 9fc59d42..84cfbf90 100644
--- a/tapset-itrace.cxx
+++ b/tapset-itrace.cxx
@@ -75,6 +75,8 @@ itrace_derived_probe::itrace_derived_probe (systemtap_session &s,
):
derived_probe(p, l), has_path(hp), path(pn), pid(pd), single_step(ss)
{
+ if (s.kernel_config["CONFIG_UTRACE"] != string("y"))
+ throw semantic_error ("process probes not available without kernel CONFIG_UTRACE");
}