linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Getting PMU stats on specific syscalls
@ 2024-01-09 22:55 Kees Cook
  2024-01-09 23:52 ` Namhyung Kim
       [not found] ` <CA+JHD90kw0CX9=E18A7NBJrxdPDQuwrew355RV47oBhn_1s_QQ@mail.gmail.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Kees Cook @ 2024-01-09 22:55 UTC (permalink / raw)
  To: linux-perf-users

Hi,

I'd like to get PMU stats only on specific syscalls. I haven't been able
to figure this out. i.e. how do I run:

	perf stat -e some_syscall_name_here make -j128

I can't figure out how to limit collection to only time spent during the
syscall I'm interested in. I tried building synthetic events, but that
doesn't seem to work...

Thanks!

-Kees

-- 
Kees Cook

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

end of thread, other threads:[~2024-01-11 15:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09 22:55 Getting PMU stats on specific syscalls Kees Cook
2024-01-09 23:52 ` Namhyung Kim
2024-01-10  1:01   ` Kees Cook
2024-01-10  1:52     ` Leo Yan
     [not found] ` <CA+JHD90kw0CX9=E18A7NBJrxdPDQuwrew355RV47oBhn_1s_QQ@mail.gmail.com>
2024-01-10  1:04   ` Kees Cook
2024-01-10  1:45     ` Arnaldo Carvalho de Melo
2024-01-11  0:40       ` Kees Cook
2024-01-11 15:53         ` Arnaldo Carvalho de Melo

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