This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/13017] New: process().attach/detach probe
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 22 Jul 2011 09:09:55 +0000
- Subject: [Bug runtime/13017] New: process().attach/detach probe
- Auto-submitted: auto-generated
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.