This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [Bug kprobes/2666] List active probes
- From: "James Dickens" <jamesd dot wi at gmail dot com>
- To: sourceware-bugzilla at sourceware dot org
- Cc: systemtap at sources dot redhat dot com
- Date: Mon, 15 Jan 2007 19:22:24 -0600
- Subject: Re: [Bug kprobes/2666] List active probes
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WlCIHu3NyCCMUlh6+6aqCtROiv1x7wtO416hmF73qvFcf4x+lyNghh+JGMOA7nIQbwYHKoIeYtL7x7Z9nkbdrPFM1fHAe2P6BWtVTE7WGJO3LFxjkiz8advEShdk5KGQIZ4ZAfr3jBDFVwTbTUMIM0KfkwtnzQNDMuU6YVqGdZo=
- References: <20060516165627.2666.jkenisto@us.ibm.com> <20070115103858.9808.qmail@sourceware.org>
On 15 Jan 2007 10:38:58 -0000, srinivasa at in dot ibm dot com
<sourceware-bugzilla@sourceware.org> wrote:
------- 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.
any idea how the system will respond when there are 40,000 active
probes or more?
James Dickens
uadmin.blogspot.com
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.