This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/20075] target_set_pid() returns False when execve() syscall is successful
- From: "mysecondaccountabc at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 16 May 2016 07:45:20 +0000
- Subject: [Bug tapsets/20075] target_set_pid() returns False when execve() syscall is successful
- Auto-submitted: auto-generated
- References: <bug-20075-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20075
--- Comment #2 from Gustavo Moreira <mysecondaccountabc at gmail dot com> ---
Cool. So it would be the fix/workaround for your strace.stp example file.
--- strace.stp.old 2016-05-16 17:36:21.463561868 +1000
+++ strace.stp.new 2016-05-16 17:30:12.385743161 +1000
@@ -47,7 +47,7 @@
probe nd_syscall.*.return
{
- if (filter_p()) next;
+ if (filter_p() && !(tid() in thread_argstr)) next;
report(name,thread_argstr[tid()],retstr)
}
Thanks,
Gustavo
--
You are receiving this mail because:
You are the assignee for the bug.