Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [lttng-dev] workqueue tracing symbols
@ 2024-09-17  0:44 Akhil Veeraghanta via lttng-dev
  2024-09-17 10:12 ` Mathieu Desnoyers via lttng-dev
  0 siblings, 1 reply; 2+ messages in thread
From: Akhil Veeraghanta via lttng-dev @ 2024-09-17  0:44 UTC (permalink / raw)
  To: Akhil Veeraghanta via lttng-dev


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

Hello,

We are trying to debug kernel work queue related issues in our system. And as such, we've turned on workqueue_queue_work, workqueue_active_work, workqueue_execute_start, workqueue_execute_end.

The tracepoint itself stores the function pointer which we can look up from /proc/kallsyms manually.

We've been struggling to do this automatically, we've tried:


  1.
Using babeltrace2 to "convert" from lttng to lttng by just editing the events in place. This doesn't work (atleast as easily) because the event iterator is const.

  2.
Loading the kallsyms file with "Configure Symbols" in trace compass doesn't work either because it doesn't know that it can look up functions in workqueue events from that file.

Converting to a text based format like chrome trace and replacing the fields works, but then we have to use chrome::tracing which isn't as powerful.

Before we go any futher modifying trace compass or writing a smarter parser, is there a way we can trace the workqueues and do the lookup properly?

  3.


[-- Attachment #1.2: Type: text/html, Size: 2198 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:[~2024-09-17 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-17  0:44 [lttng-dev] workqueue tracing symbols Akhil Veeraghanta via lttng-dev
2024-09-17 10:12 ` Mathieu Desnoyers 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