linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Using Intel PT with JIT
@ 2023-07-11 13:54 Roman Lozko
  2023-07-11 19:05 ` Adrian Hunter
  0 siblings, 1 reply; 2+ messages in thread
From: Roman Lozko @ 2023-07-11 13:54 UTC (permalink / raw)
  To: linux-perf-users

Hi, I tried to use `perf record` with Intel PT but afterwards I can't
inject JIT dump to trace, `perf inject` says:

error, jitted code must be sampled with perf record -k 1
0x59d8 [0xb0]: failed to process type: 10 [Operation not permitted]

On the other hand, `-k 1` cannot be passed to `perf record`:

Cannot use clockid (-k option) with intel_pt

Is there a way to use Intel PT with jitted code? I am using perf
5.13.8, maybe it is already implemented in later versions?

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

end of thread, other threads:[~2023-07-11 19:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-11 13:54 Using Intel PT with JIT Roman Lozko
2023-07-11 19:05 ` Adrian Hunter

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