public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug bpf/24639] New: "next" statement not recognized by stap bpf backend
@ 2019-06-05 15:29 wcohen at redhat dot com
  2019-06-05 20:34 ` [Bug bpf/24639] " me at serhei dot io
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: wcohen at redhat dot com @ 2019-06-05 15:29 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 24639
           Summary: "next" statement not recognized by stap bpf backend
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: bpf
          Assignee: systemtap at sourceware dot org
          Reporter: wcohen at redhat dot com
  Target Milestone: ---

The bpf backend doesn't understand next statement

[wcohen@fedora30 systemtap]$ sudo ../install/bin/stap --bpf  -e 'probe
kernel.trace("mm_filemap_*") {if (tid()!=pid()) next}' -T 1
[sudo] password for wcohen: 
semantic error: unhandled statement or expression type: keyword at <input>:1:55
        source: probe kernel.trace("mm_filemap_*") {if (tid()!=pid()) next}
                                                                      ^

Pass 4: compilation failed.  [man error::pass4]

However the tradtional backend does work:

[wcohen@fedora30 systemtap]$ sudo ../install/bin/stap -e 'probe
kernel.trace("mm_filemap_*") {if (tid()!=pid()) next}' -T 1
wcohen@fedora30 systemtap]$

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

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

end of thread, other threads:[~2019-06-10 17:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-05 15:29 [Bug bpf/24639] New: "next" statement not recognized by stap bpf backend wcohen at redhat dot com
2019-06-05 20:34 ` [Bug bpf/24639] " me at serhei dot io
2019-06-06 21:13 ` wcohen at redhat dot com
2019-06-06 21:30 ` wcohen at redhat dot com
2019-06-06 21:30 ` wcohen at redhat dot com
2019-06-06 21:37 ` me at serhei dot io
2019-06-07 13:49 ` wcohen at redhat dot com
2019-06-10 17:11 ` me at serhei dot io

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