All of lore.kernel.org
 help / color / mirror / Atom feed
* Event Tracing in the Linux kernel
@ 2022-03-02 14:37 David Kahurani
  2022-03-02 14:53 ` Constantine Shulyupin
  0 siblings, 1 reply; 4+ messages in thread
From: David Kahurani @ 2022-03-02 14:37 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 608 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1437 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

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

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

* Re: Event Tracing in the Linux kernel
  2022-03-02 14:37 Event Tracing in the Linux kernel David Kahurani
@ 2022-03-02 14:53 ` Constantine Shulyupin
  2022-03-02 14:57   ` David Kahurani
  0 siblings, 1 reply; 4+ messages in thread
From: Constantine Shulyupin @ 2022-03-02 14:53 UTC (permalink / raw)
  To: David Kahurani; +Cc: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 1012 bytes --]

Please check
https://www.kernel.org/doc/html/latest/trace/events.html

On Wed, 2 Mar 2022 at 16:38, David Kahurani <k.kahurani@gmail.com> 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@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>


-- 
Constantine Shulyupin

[-- Attachment #1.2: Type: text/html, Size: 2450 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

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

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

* Re: Event Tracing in the Linux kernel
  2022-03-02 14:53 ` Constantine Shulyupin
@ 2022-03-02 14:57   ` David Kahurani
  2022-03-03 10:46     ` Donald Hunter
  0 siblings, 1 reply; 4+ messages in thread
From: David Kahurani @ 2022-03-02 14:57 UTC (permalink / raw)
  To: Constantine Shulyupin; +Cc: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 1252 bytes --]

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@gmail.com> wrote:

> Please check
> https://www.kernel.org/doc/html/latest/trace/events.html
>
> On Wed, 2 Mar 2022 at 16:38, David Kahurani <k.kahurani@gmail.com> 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@kernelnewbies.org
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
>
> --
> Constantine Shulyupin
>

[-- Attachment #1.2: Type: text/html, Size: 2950 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

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

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

* Re: Event Tracing in the Linux kernel
  2022-03-02 14:57   ` David Kahurani
@ 2022-03-03 10:46     ` Donald Hunter
  0 siblings, 0 replies; 4+ messages in thread
From: Donald Hunter @ 2022-03-03 10:46 UTC (permalink / raw)
  To: David Kahurani; +Cc: Constantine Shulyupin, kernelnewbies

David Kahurani <k.kahurani@gmail.com> writes:

> Yes, I am using that reference but since no tracepoints are being hit, it leaves me confused.

I think you need to cat /sys/kernel/debug/tracing/trace_pipe as mentioned in
https://www.kernel.org/doc/html/latest/trace/tracepoint-analysis.html

Regards,
Donald.

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

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

end of thread, other threads:[~2022-03-03 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 14:37 Event Tracing in the Linux kernel David Kahurani
2022-03-02 14:53 ` Constantine Shulyupin
2022-03-02 14:57   ` David Kahurani
2022-03-03 10:46     ` Donald Hunter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.