linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: How to trace kvm:kvm_exit using fprobe?
       [not found] <CAH8woH1vBJSZOD=ZXVRt8NOPfi89gWbKmpHGJZVs=Wqj00DG7Q@mail.gmail.com>
@ 2024-05-30 12:57 ` Masami Hiramatsu
  0 siblings, 0 replies; only message in thread
From: Masami Hiramatsu @ 2024-05-30 12:57 UTC (permalink / raw)
  To: don; +Cc: Linux Trace Kernel

Hi 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,

On Tue, 21 May 2024 17:28:48 -0700
don <zds100@gmail.com> wrote:

> Hi,  Mr Masami Hiramatsu,
> I see your presentation "Function Parameters with BTF Function tracing with
> parameters",
> and I started using fprobe and dynamic_events to 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 to dynamic_event will get "Invalid argument" error:
> # cd /sys/kernel/debug/tracing
> 
> *# echo 't:kvm kvm_exit' >> dynamic_events*-bash: echo: write error:
> Invalid argument
> 
> How to solve this problem?
> 
> Thanks,
> don


-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-30 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAH8woH1vBJSZOD=ZXVRt8NOPfi89gWbKmpHGJZVs=Wqj00DG7Q@mail.gmail.com>
2024-05-30 12:57 ` How to trace kvm:kvm_exit using fprobe? Masami Hiramatsu

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