From e56e51c92847a328a713e56eb6796a25cf6eb3e2 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 5 Sep 2008 23:18:24 -0400 Subject: task_finder <-> target_pid coupling; staprun/target_cmd fork under ptrace control --- tapsets.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tapsets.cxx') diff --git a/tapsets.cxx b/tapsets.cxx index 4fa53a88..240af469 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -5868,8 +5868,11 @@ utrace_derived_probe::utrace_derived_probe (systemtap_session &s, vector comps; if (hp) comps.push_back (new probe_point::component(TOK_PROCESS, new literal_string(path))); - else + else if (pid != 0) comps.push_back (new probe_point::component(TOK_PROCESS, new literal_number(pid))); + else + comps.push_back (new probe_point::component(TOK_PROCESS)); + switch (flags) { case UDPF_THREAD_BEGIN: -- cgit From 02a929d10b4cc68ef46d85af8d055ac0fcad3a71 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Sun, 7 Sep 2008 18:14:44 -0400 Subject: x86-32 blacklist extension (rhel5 testing based) --- tapsets.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tapsets.cxx') diff --git a/tapsets.cxx b/tapsets.cxx index 240af469..64fa9d34 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -2919,6 +2919,8 @@ dwarf_query::build_blacklist() blfile += "kernel/kprobes.c"; // first alternative, no "|" blfile += "|arch/.*/kernel/kprobes.c"; + blfile += "|include/asm/io.h"; + blfile += "|drivers/ide/ide-iops.c"; // XXX: it would be nice if these blacklisted functions were pulled // in dynamically, instead of being statically defined here. -- cgit