This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug kprobes/2666] List active probes
- From: "srinivasa at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 15 Jan 2007 10:38:58 -0000
- Subject: [Bug kprobes/2666] List active probes
- References: <20060516165627.2666.jkenisto@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From srinivasa at in dot ibm dot com 2007-01-15 10:38 -------
Created an attachment (id=1494)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1494&action=view)
Patch to list active probes in the system.
Jim
I have developed a patch, that lists all active probes on the system through
the proc interface. Somehow I couldn't able to send this patch to lkml last
time. I did some minor changes to the patch to suit 2.6.20 kernel.
Output looks like this
======================
[root@llm31 a]# cat /proc/kprobes/list
c0000000000c0720 r .sys_write+0x0
c0000000000c0720 k .sys_write+0x0
c00000000004c550 k .do_fork+0x0
c00000000004c550 k .do_fork+0x0
c00000000004c550 j .do_fork+0x0
c0000000000bfed4 r .vfs_read+0x0
c0000000000bddb4 r .sys_open+0x0
c0000000000c0694 r .sys_read+0x0
c0000000000c0694 k .sys_read+0x0
c00000000004c554 k .do_fork+0x4
d0000000000781b0 k .autofs4_dentry_release+0x0 autofs4
c0000000000275d0 k kretprobe_trampoline+0x0
c0000000000bfd18 k .vfs_write+0x0
====================================
So please review my patch and let me know your suggestions,so that I
incorporate those changes in my patch.
Thanks
Srinivasa DS
--
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.