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 runtime/6500] New: Systemtap's utrace support needs to follow new threads


Running the following script on a multi-threaded process yields traces only for
the tgid and not for any of the threads:

probe process(<path to multithreaded proc>).syscall
{
        printf("%d thread[%d] syscall\n", pid(), tid())
}

output:
...
5739 thread[5739] syscall
5739 thread[5739] syscall
5739 thread[5739] syscall
5739 thread[5739] syscall
...

[ananth@thinktux]$ ls /proc/5739/task/
5739  5740  5741

-- 
           Summary: Systemtap's utrace support needs to follow new threads
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: ananth at in dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6500

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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