Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] Adding a simple "look here" event to the trace
@ 2023-09-08 10:56 Danter, Richard via lttng-dev
  2023-09-27 11:54 ` Erica Bugden via lttng-dev
  0 siblings, 1 reply; 2+ messages in thread
From: Danter, Richard via lttng-dev @ 2023-09-08 10:56 UTC (permalink / raw)
  To: lttng-dev


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

Hi all,

I am investigating an issue that takes some time to reproduce. Finding
the right point in the logs is therefore very difficult.

Since I can detect when the issue happens in the kernel I would like to
be able to emit an event into the trace that I can then search for in
Trace Compass of through Babeltrace. So basically a kind of flag that
says "look here". That way I can jump right to the problem and then
look backwards from there to see what happened just before.

I have looked at the docs for how to add a trace point, but it seems
pretty complicated. I may have missed something though, so I wonder if
there is a trivial way to add such a flag to the log? Up to now I just
put a printk() in which helps, but would still be nicer to have
something directly in the log.

If there isn't such a thing already, then would it be a reasonable
enhancement request to be able to add such a feature?

Thanks
Rich


[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

end of thread, other threads:[~2023-09-27 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-08 10:56 [lttng-dev] Adding a simple "look here" event to the trace Danter, Richard via lttng-dev
2023-09-27 11:54 ` Erica Bugden via lttng-dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox