[Bug runtime/13017] New: process().attach/detach probe
mjw at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Jul 22 09:10:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=13017
Summary: process().attach/detach probe
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sourceware.org
ReportedBy: mjw@redhat.com
Sometimes it is useful to be able to see which processes staps vma tracker will
be monitoring. Just so you know whether or not you can expect any other probe
triggers.
The use case would be with processes that are mostly idle. So you might run a
script like:
probe process("lazy_daemon").function("*") { printf("%d: %s\n", pid(), pp()) }
But now you don't get any feedback if the lazy_daemon is just sleeping.
So you would like to add something like:
probe process("lazy_daemon").attach { printf("monitoring %d\n", pid()) }
probe process("lazy_daemon").detach { printf("%d is gone\n", pid()) }
These should just trigger when the stap runtime vma tracker
registers/deregisters a process.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list