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


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

             Bug #: 13313
           Summary: Can't parse SDT_V3 operand '(%rcx,%rax,8)'
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: jistone@redhat.com
    Classification: Unclassified


It seems there's yet another new SDT operand in town, with systemtap.git
compiled by gcc-4.6.1-10.fc16.x86_64.

$ stap -e 'probe process("stap").mark("cache__clean") { println($arg1) }'
WARNING: Can't parse SDT_V3 operand '(%rcx,%rax,8)': identifier '$arg1' at
<input>:1:54
 source: probe process("stap").mark("cache__clean") { println($arg1) }
                                                              ^
semantic error: unable to find local 'arg1' near pc 0x4f6320  in  <unknown>
../cache.cxx ( (alternatives: $j): identifier '$arg1' at :1:54
        source: probe process("stap").mark("cache__clean") { println($arg1) }
                                                                     ^
Pass 2: analysis failed.  Try again with another '--vp 01' option.


$ objdump -s -j .note.stapsdt stap-cache.o

stap-cache.o:     file format elf64-x86-64

Contents of section .note.stapsdt:
 0000 08000000 3b000000 03000000 73746170  ....;.......stap
 0010 73647400 00000000 00000000 00000000  sdt.............
 0020 00000000 00000000 00000000 73746170  ............stap
 0030 00636163 68655f5f 67657400 38402572  .cache__get.8@%r
 0040 64782038 40363838 28257262 70290000  dx 8@688(%rbp)..
 0050 08000000 3a000000 03000000 73746170  ....:.......stap
 0060 73647400 00000000 00000000 00000000  sdt.............
 0070 00000000 00000000 00000000 73746170  ............stap
 0080 00636163 68655f5f 636c6561 6e003840  .cache__clean.8@
 0090 28257263 782c2572 61782c38 29000000  (%rcx,%rax,8)...
 00a0 08000000 47000000 03000000 73746170  ....G.......stap
 00b0 73647400 00000000 00000000 00000000  sdt.............
 00c0 00000000 00000000 00000000 73746170  ............stap
 00d0 00636163 68655f5f 6164645f 5f6d6f64  .cache__add__mod
 00e0 756c6500 38403136 28257273 70292038  ule.8@16(%rsp) 8
 00f0 40363838 28257262 78290000 08000000  @688(%rbx)......
 0100 48000000 03000000 73746170 73647400  H.......stapsdt.
 0110 00000000 00000000 00000000 00000000  ................
 0120 00000000 00000000 73746170 00636163  ........stap.cac
 0130 68655f5f 6164645f 5f736f75 72636500  he__add__source.
 0140 38403734 34282572 62782920 38403131  8@744(%rbx) 8@11
 0150 32282572 73702900                    2(%rsp).

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