[Bug tapsets/20075] target_set_pid() returns False when execve() syscall is successful

mysecondaccountabc at gmail dot com sourceware-bugzilla@sourceware.org
Mon May 16 07:45:00 GMT 2016


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.


More information about the Systemtap mailing list