public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug bpf/27152] New: Missing tracepoints for for stap --bpf -L 'kernel.trace("*")'
@ 2021-01-05 19:46 wcohen at redhat dot com
  2021-01-06 19:23 ` [Bug bpf/27152] " wcohen at redhat dot com
  2021-01-11  3:45 ` wcohen at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: wcohen at redhat dot com @ 2021-01-05 19:46 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 27152
           Summary: Missing tracepoints for for stap --bpf -L
                    'kernel.trace("*")'
           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 expectation is that both the traditional kernel module backend and bpf back
would report the same set of trace points however the following returns no
tracepoints:

 $ ../install/bin/stap --bpf -l 'kernel.trace("*")' |wc
      0       0       0

Include the --compatible=4.1 option and there are many tracepoints reported

$ ../install/bin/stap --compatible=4.1  --bpf -l 'kernel.trace("*")' |wc
   2235   16451  260254

The number of tracepoints reported is not quite as many as the traditional stap
kernel module backend:

$ ../install/bin/stap  -l 'kernel.trace("*")' |wc
   2365   14367  232387

This was observed with locally built systemtap commit
6cb54128e005d1220a7b064ee42b9f72561c28e7 using a Fedora 32
5.9.16-100.fc32.x86_64 kernel.

Looks like the search in collect_raw_tracepoint() from commit
fcdd71babea2435601e5e7f8b6b5faae4a663443 is not finding the various raw
tracepoints.

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

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

end of thread, other threads:[~2021-01-11  3:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-05 19:46 [Bug bpf/27152] New: Missing tracepoints for for stap --bpf -L 'kernel.trace("*")' wcohen at redhat dot com
2021-01-06 19:23 ` [Bug bpf/27152] " wcohen at redhat dot com
2021-01-11  3:45 ` wcohen 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).