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/6525] need utrace task-finder-based pid->execname, pid->cwd-path-name tables


https://sourceware.org/bugzilla/show_bug.cgi?id=6525

--- Comment #14 from Frank Ch. Eigler <fche at redhat dot com> ---
e.g. approximately

cat > tapset/linux/pid2cmdline.stp
global __pid2cmdline%
function pid2cmdline(p) { if (p in __pid2cmdline) return __pid2cmdline[p] }
probe kprocess.exec_complete { 
   __pid2cmdline(tid() /* or pid? */) = cmdline_str() 
}
^D

etc.

-- 
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]