This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/2666] New: List active probes
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 16 May 2006 16:56:28 -0000
- Subject: [Bug kprobes/2666] New: List active probes
- Reply-to: sourceware-bugzilla at sourceware dot org
It has been requested that we provide the ability to list all probes that are
currently active in the system. This could presumably be done either via /proc
or by adding a function to the kprobes API.
If we did it via /proc, the listing might look something like this:
k c0151ece do_pipe+0x177/0x1d1
r c01105f6 do_fork
j c01105f6 do_fork
This would indicate that there's a kprobe somewhere in do_pipe, and a return
probe and a jprobe on do_fork.
Should we include the handlers' addresses?
Presumably, such a function would iterate through the kprobe_table[] and spit
out the probes in whatever order it finds them. Don't forget about aggregate
probes. A jprobe is a kprobe with a break_handler. A kretprobe is a kprobe
with pre_handler=pre_handler_kretprobe.
The implementation should take into account the possibility of user-space
probes, user-space return probes, and watchpoint probes (kernel & user).
--
Summary: List active probes
Product: systemtap
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P3
Component: kprobes
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: jkenisto at us dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2666
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.