How to trace kvm:kvm_exit using fprobe?
A message that is not in the archive (sent off-list or not yet received): CAH8woH1vBJSZOD=ZXVRt8NOPfi89gWbKmpHGJZVs=Wqj00DG7Q@mail.gmail.com
Masami Hiramatsu (Google)
maintainerHi don,
Thanks for reporting!
I confirmed that the raw tracepoint probe event does not work on the tracepoint in the module. (not only kvm but also other modules)
Let me fix the issue.
Thank you,
Quoted 19 lines · On Tue, 21 May 2024 17:28:48 -0700 don <[email protected]> wrote:
Hi, Mr Masami Hiramatsu,
I see your presentation "Function Parameters with BTF Function tracing with parameters",
and I started using fprobe anddynamic_eventsto trace functions.I have a question regarding tracepoints using fprobe/dynamic_events I can trace the kvm:kvm_exit event using trace-cmd:
*trace-cmd stream -e kvm:kvm_exit*
But if I echo todynamic_eventwill get "Invalid argument" error:# cd /sys/kernel/debug/tracing*# echo 't:kvm
kvm_exit' >> dynamic_events*-bash: echo: write error:
Invalid argumentHow to solve this problem?
Thanks,
don
Signature · 1 line
Masami Hiramatsu (Google) <[email protected]>