This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]