Re: Event Tracing in the Linux kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alright, got it.

The trace is in the file

/sys/kernel/debug/tracing/trace

I was checking for the messages in dmesg instead. My issue. Also, enabling all the events is probably not a good idea, on my system the file does not open after enabling all the events, my guess is that there are way to many tracepoints being hit and logged.

On Wed, Mar 2, 2022 at 5:57 PM David Kahurani <k.kahurani@xxxxxxxxx> wrote:
Yes, I am using that reference but since no tracepoints are being hit, it leaves me confused.

On Wed, Mar 2, 2022 at 5:53 PM Constantine Shulyupin <constantine.shulyupin@xxxxxxxxx> wrote:

On Wed, 2 Mar 2022 at 16:38, David Kahurani <k.kahurani@xxxxxxxxx> wrote:
Hello,

I have compiled a pretty recent Linux kernel mostly basing the configuration on the older kernel. 

I am now testing out the event tracing system but seem to be having a problem.

Having enabled all events with 

# echo *:* > /sys/kernel/debug/tracing/set_event

As described here [1], I expect that dmesg shows me some traces but there aren't any. My dmesg logs are empty(just the same as with not having enabled the events).

What could I be missing? Am I checking the wrong place for the trace? Are there no tracepoints getting hit?

Any hits and pointers would be much appreciated.

Regards,
David
 





_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


--
Constantine Shulyupin
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux