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/18000] New: kernel tracepoints not found without using the cache


https://sourceware.org/bugzilla/show_bug.cgi?id=18000

            Bug ID: 18000
           Summary: kernel tracepoints not found without using the cache
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com

On 3.18.3-201.fc21.x86_64 with HEAD systemtap, I'm seeing this:

====
# rm -rf ~/.systemtap/cache
# stap --disable-cache -p4 -e 'probe kernel.trace("net_dev_queue") { exit() }'
semantic error: while resolving probe point: identifier 'kernel' at <input>:1:7
        source: probe kernel.trace("net_dev_queue") { exit() }
                      ^

semantic error: no match

Pass 2: analysis failed.  [man error::pass2]
# stap -p4 -e 'probe kernel.trace("net_dev_queue") { exit() }'
/home/dsmith/.systemtap/cache/32/stap_32123f202c07308478d5a4b63bd3f3fb_1013.ko
====

So, if you disable the cache, the net_dev_queue tracepoint cannot be found. The
same thing happens if you use 'net:net_dev_queue":

====
# rm -rf ~/.systemtap/cache/
# stap --disable-cache -p4 -e 'probe kernel.trace("net:net_dev_queue") { exit()
}'
semantic error: while resolving probe point: identifier 'kernel' at <input>:1:7
        source: probe kernel.trace("net:net_dev_queue") { exit() }
                      ^

semantic error: no match

Pass 2: analysis failed.  [man error::pass2]
# stap -p4 -e 'probe kernel.trace("net:net_dev_queue") { exit() }'
/home/dsmith/.systemtap/cache/39/stap_395be0216c36fbd440e26cf3ceb7745a_1017.ko
====

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