linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about 'for_each_kernel_tracepoint(...)' function
@ 2022-10-20  9:32 richard clark
  2022-10-20 15:14 ` Steven Rostedt
  0 siblings, 1 reply; 7+ messages in thread
From: richard clark @ 2022-10-20  9:32 UTC (permalink / raw)
  To: rostedt, bristot; +Cc: linux-trace-devel, linux-kernel

Hi,
Can this function only find the trace points defined in the kernel
image? I want to define a trace event in my kernel module A, then B
module to register a probe callback function for that event TP in A. I
want to kick off a timer in A and call the traced function
periodically, thus I can monitor the events happening in A from B.

Can I do that, is it possible?

Richard

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

end of thread, other threads:[~2022-10-22  2:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-20  9:32 Question about 'for_each_kernel_tracepoint(...)' function richard clark
2022-10-20 15:14 ` Steven Rostedt
2022-10-21  1:43   ` richard clark
2022-10-21  2:12     ` Steven Rostedt
2022-10-21  3:51       ` richard clark
2022-10-21 12:32         ` Steven Rostedt
2022-10-22  2:55           ` richard clark

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