From 6cdf2889024b6538665a00f2ecd7321626624bb8 Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 12 Aug 2008 10:18:56 -0500 Subject: PR 6445 (partial). Implemented system-wide utrace probes. 2008-08-12 David Smith PR 6445 (partial) * tapsets.cxx (utrace_builder::build): Validates pid and allows probing of "*" to mean all threads. * stapprobes.5.in: Added note about a process path of "*" means to probe all threads. 2008-08-12 David Smith PR 6445 (partial) * task_finder.c (stap_register_task_finder_target): Handles probing all threads. (__stp_utrace_attach_match_filename): Ditto. (stap_start_task_finder): Ditto. 2008-08-12 David Smith PR 6445 (partial) * systemtap.base/utrace_p4.exp: Added test that probes all threads. * semko/utrace14.stp: New test. --- testsuite/semko/utrace14.stp | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 testsuite/semko/utrace14.stp (limited to 'testsuite/semko') diff --git a/testsuite/semko/utrace14.stp b/testsuite/semko/utrace14.stp new file mode 100755 index 00000000..80847f7f --- /dev/null +++ b/testsuite/semko/utrace14.stp @@ -0,0 +1,4 @@ +#! stap -p2 + +# pid can't be less than 2 +probe process(1).begin { } -- cgit