public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/18000] New: kernel tracepoints not found without using the cache
@ 2015-02-19 16:24 dsmith at redhat dot com
  2015-02-19 23:04 ` [Bug translator/18000] " jistone at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2015-02-19 16:24 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/18000] kernel tracepoints not found without using the cache
  2015-02-19 16:24 [Bug translator/18000] New: kernel tracepoints not found without using the cache dsmith at redhat dot com
@ 2015-02-19 23:04 ` jistone at redhat dot com
  2015-02-20 15:29 ` dsmith at redhat dot com
  2015-02-20 19:45 ` jistone at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2015-02-19 23:04 UTC (permalink / raw)
  To: systemtap

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

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jistone at redhat dot com

--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
Created attachment 8139
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8139&action=edit
Always use new tracequery modules directly

How does this look?

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/18000] kernel tracepoints not found without using the cache
  2015-02-19 16:24 [Bug translator/18000] New: kernel tracepoints not found without using the cache dsmith at redhat dot com
  2015-02-19 23:04 ` [Bug translator/18000] " jistone at redhat dot com
@ 2015-02-20 15:29 ` dsmith at redhat dot com
  2015-02-20 19:45 ` jistone at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2015-02-20 15:29 UTC (permalink / raw)
  To: systemtap

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

--- Comment #2 from David Smith <dsmith at redhat dot com> ---
(In reply to Josh Stone from comment #1)
> Created attachment 8139 [details]
> Always use new tracequery modules directly
> 
> How does this look?

I'm not really familiar with that part of the code, but it looks reasonable to
me.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug translator/18000] kernel tracepoints not found without using the cache
  2015-02-19 16:24 [Bug translator/18000] New: kernel tracepoints not found without using the cache dsmith at redhat dot com
  2015-02-19 23:04 ` [Bug translator/18000] " jistone at redhat dot com
  2015-02-20 15:29 ` dsmith at redhat dot com
@ 2015-02-20 19:45 ` jistone at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: jistone at redhat dot com @ 2015-02-20 19:45 UTC (permalink / raw)
  To: systemtap

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

Josh Stone <jistone at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Josh Stone <jistone at redhat dot com> ---
commit 40d78ace0f1d4eff2bdfc8b940ad939d39274b6e

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-02-20 19:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-19 16:24 [Bug translator/18000] New: kernel tracepoints not found without using the cache dsmith at redhat dot com
2015-02-19 23:04 ` [Bug translator/18000] " jistone at redhat dot com
2015-02-20 15:29 ` dsmith at redhat dot com
2015-02-20 19:45 ` jistone at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).