* perf-stat: count events for BPF programs
@ 2022-12-05 12:52 Sebastiano Miano
0 siblings, 0 replies; only message in thread
From: Sebastiano Miano @ 2022-12-05 12:52 UTC (permalink / raw)
To: linux-perf-users
Dear all,
I have a question regarding the use of the new 'perf stat -b' feature
to collect various events for a specific eBPF program.
I am running the following command on kernel 6.0.9-060009-generic:
sudo ./perf stat -e cycles --bpf-prog 96 --interval-print 1000
but I am unable to get any metric. The output is the following:
# time counts unit events
1.001015662 <not supported> cycles
2.002171264 <not supported> cycles
3.003229801 <not supported> cycles
any idea/suggestion of which could be the problem?
Thanks,
Sebastiano
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-05 12:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-05 12:52 perf-stat: count events for BPF programs Sebastiano Miano
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 NNTP newsgroup(s).