kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Need help with tracepoints
@ 2017-04-29 10:52 Matwey V. Kornilov
  2017-04-29 11:46 ` Peter Senna Tschudin
  2017-04-29 12:50 ` Matwey V. Kornilov
  0 siblings, 2 replies; 4+ messages in thread
From: Matwey V. Kornilov @ 2017-04-29 10:52 UTC (permalink / raw)
  To: kernelnewbies

Hello,

I am following trace/tracepoints.txt guide to add some tracepoints to
already existing kernel module.

I've created include/trace/events/mysubsys.h
and added

#include <trace/events/mysubsys.h>

#define CREATE_TRACE_POINTS
DEFINE_TRACE(mysubsys_event1);
EXPORT_TRACEPOINT_SYMBOL_GPL(mysubsys_event1);

to the module sources. There are symbols *_mysubsys_event1 in module ko
file.

The issue is that I don't see my events in /sys/kernel/debug/tracing/events
Not even ./mysubsys path here.

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

end of thread, other threads:[~2017-04-29 12:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-29 10:52 Need help with tracepoints Matwey V. Kornilov
2017-04-29 11:46 ` Peter Senna Tschudin
2017-04-29 11:47   ` Peter Senna Tschudin
2017-04-29 12:50 ` Matwey V. Kornilov

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