This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6711] need script syntax for extending blacklist
- From: "wenji dot huang at oracle dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 25 Jan 2010 07:52:16 -0000
- Subject: [Bug translator/6711] need script syntax for extending blacklist
- References: <20080630230203.6711.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From wenji dot huang at oracle dot com 2010-01-25 07:52 -------
Created an attachment (id=4553)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4553&action=view)
patch v2
According to the top words on the bug page, seems no
intention to replace current static black list, just additional
script-syntax adding entries on the fly.
Updated patch is to achieve that. Currently it only filters
dwarf_derived_probe,
easy to extend other probe types. Also Api function defined on tapset is
convenient.
$ ./stap -l 'kernel.function("sys_write*")'
kernel.function("sys_write@fs/read_write.c:390")
kernel.function("sys_writev@fs/read_write.c:714")
$ cat /tmp/noprobe.stp
noprobe kernel.function("sys_writev"), kernel.function("no_such")
probe kernel.function("sys_write*") {}
probe process("/home/wjhuang/systemtap/stap").function("main"){}
$ ./stap -wp2 /tmp/noprobe.stp
# probes
kernel.function("sys_write@fs/read_write.c:390") /* pc=_stext+0xf39f5 */ /* <-
kernel.function("sys_write*") */
process("/home/wjhuang/systemtap/stap").function("main@/home/wjhuang/systemtap/main.cxx:439")
/* pc=.absolute+0x40acd0 */ /* <-
process("/home/wjhuang/systemtap/stap").function("main") */
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #4544 is|0 |1
obsolete| |
http://sourceware.org/bugzilla/show_bug.cgi?id=6711
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.