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/13017] New: process().attach/detach probe


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.


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