This still appears to be an issue. Events are listed in `perf list` but
not available for use by `perf record`

e.g.

$ sudo /usr/lib/linux-tools/6.2.0-39-generic/perf record -e 
syscalls:sys_enter_fsync -ag
event syntax error: 'syscalls:sys_enter_fsync'
                     \___ unsupported tracepoint

libtraceevent is necessary for tracepoint support
Run 'perf list' for a list of valid events

 Usage: perf record [<options>] [<command>]
    or: perf record [<options>] -- <command> [<options>]

    -e, --event <event>   event selector. use 'perf list' to list
available events


➜  test git:(UPM-29742) ✗ /usr/lib/linux-tools/6.2.0-39-generic/perf version
perf version 6.2.16

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2019247

Title:
  perf should be compiled with libtraceevent

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  libtraceevent was removed from the kernel tree in
  https://lore.kernel.org/lkml/20221130062935.2219247-1-irog...@google.com/.
  The linux-tools-6.2.0-20-generic I have in Lunar doesn't not use
  compile perf against libtraceevent, making perf unable to record
  traceevents.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2019247/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to