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 tapsets/13313] Can't parse SDT_V3 operand '(%rcx,%rax,8)'


http://sourceware.org/bugzilla/show_bug.cgi?id=13313

--- Comment #8 from Sergio Durigan Junior <sergiodj at redhat dot com> 2011-12-09 04:37:55 UTC ---
I was testing my implementation of the SystemTap probe argument parser on GDB,
specifically trying to parse `(%rcx,%rax,8)'.  I decided to compare the
obtained result from GDB with the result from SystemTap, and for that I have
used the command specified here:

stap -e 'probe process("/home/sergio/programs/bin/stap").mark("cache__clean") {
println($arg1) }'

However, I still see the error message:

WARNING: Can't parse SDT_V3 operand '(%rcx,%rax,8)': identifier '$arg1' at
<input>:1:80
 source: probe process("/home/sergio/programs/bin/stap").mark("cache__clean") {
println($arg1) }

            ^
semantic error: unable to find local 'arg1' near pc 0x4fb700  in  <unknown>
../../../systemtap/cache.cxx ( (alternatives: $j): identifier '$arg1' at :1:80
        source: probe
process("/home/sergio/programs/bin/stap").mark("cache__clean") { println($arg1)
}

             ^
Pass 2: analysis failed.  Try again with another '--vp 01' option.

I am using the following version of SystemTap:

Systemtap translator/driver (version 1.7/0.152 commit release-1.6-556-gbfffa44)
Copyright (C) 2005-2011 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: LIBRPM BOOST_SHARED_PTR TR1_UNORDERED_MAP NLS

I am not sure if I am doing something wrong, but I believe this error should
have been fixed by the commits listed here, right?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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