linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Intel SPR: perf-record doesn't support topdown events?
@ 2024-10-22 16:40 laksono
  2024-10-30  0:02 ` Namhyung Kim
  0 siblings, 1 reply; 4+ messages in thread
From: laksono @ 2024-10-22 16:40 UTC (permalink / raw)
  To: linux-perf-users

All,

I am interested in using Intel TMA support in Linux perf. I can run

$ perf stat -e '{slots,topdown-be-bound}' ...

on Intel SPR with no problem, but running with perf record doesn't work:

$ perf record -e '{slots,topdown-be-bound}' ...
Error:
The sys_perf_event_open() syscall returned with 22 (Invalid argument)
for event (topdown-be-bound).

I suspect MSR_PERF_METRICS cannot be used in the perf_event sampling
mode. Could someone (probably from Intel) confirm?

My Linux kernel: 5.15.0-86-generic #96-Ubuntu (just in case this matters).

Regards

Laksono Adhianto

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

end of thread, other threads:[~2024-10-30 12:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-22 16:40 Intel SPR: perf-record doesn't support topdown events? laksono
2024-10-30  0:02 ` Namhyung Kim
2024-10-30  1:00   ` laksono
2024-10-30 12:57     ` Liang, Kan

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