This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/6905] process("a").statement("main@/root/a.c:*") fails by giving error message.


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]