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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2019247

Title:
  perf should be compiled with libtraceevent

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to