Re: [PATCH V4 10/11] perf intel-pt: Add documentation for pause / resume

From: Andi Kleen
Date: Tue Jan 16 2024 - 06:15:23 EST


Adrian Hunter <adrian.hunter@xxxxxxxxx> writes:
> +
> +For example, to trace only the uname system call (sys_newuname) when running the
> +command line utility uname:
> +
> + $ perf record --kcore -e
> intel_pt/aux-action=start-paused/k,syscalls:sys_enter_newuname/aux-action=resume/,syscalls:sys_exit_newuname/aux-action=pause/
> uname

It's unclear if the syntax works for hardware break points, kprobes, uprobes too?
That would be most useful. If it works would be good to add examples for it.

-Andi