This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6905] process("a").statement("main@/root/a.c:*") fails by giving error message.
- From: "wenji dot huang at oracle dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 27 Jul 2009 02:38:25 -0000
- Subject: [Bug translator/6905] process("a").statement("main@/root/a.c:*") fails by giving error message.
- References: <20080919084710.6905.srinivasa@in.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From wenji dot huang at oracle dot com 2009-07-27 02:38 -------
Created an attachment (id=4087)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4087&action=view)
patch and testcase
The related code has been re-organized, but the problem still exists. The patch
has been rebased and a simple test case is provided.
Example:
$ stap -p2 -e 'probe
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:*")
{print("ok")}'
# probes
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:4") /*
pc=.absolute+0x80483c4 */ /* <-
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:*") */
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:5") /*
pc=.absolute+0x80483cd */ /* <-
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:*") */
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:6") /*
pc=.absolute+0x80483d5 */ /* <-
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:*") */
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:7") /*
pc=.absolute+0x80483da */ /* <-
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:*") */
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:8") /*
pc=.absolute+0x80483ee */ /* <-
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:*") */
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:9") /*
pc=.absolute+0x80483f3 */ /* <-
process("/home/wjhuang/a.out").statement("main@/home/wjhuang/test.c:*") */
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #3108 is|0 |1
obsolete| |
http://sourceware.org/bugzilla/show_bug.cgi?id=6905
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.