Re: [lttng-dev] Adding a simple "look here" event to the trace

2023-09-27 Thread Erica Bugden via lttng-dev
On 2023-09-08 06:56, Danter, Richard via lttng-dev wrote: 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

Re: [lttng-dev] userspace logs cpu analysis and LTTng UST Callstack

2023-08-23 Thread Erica Bugden via lttng-dev
On 2023-08-23 13:14, Matthew Khouzam via lttng-dev wrote: Here is a youtube video showing how userspace and kernel traces can play nicely together. https://www.youtube.com/watch?v=K1JNQ-HkC6w *From:* lttng-dev on

Re: [lttng-dev] Discarded events

2023-08-23 Thread Erica Bugden via lttng-dev
Hello Bala, If you'd like more information about which event types (tracepoints) are practical for investigating which areas, the `ltting-utils` [1] project could be useful! The repository contains scripts that record LTTng traces. Each script is focused on a different investigation area

Re: [lttng-dev] How to use lttng-live plugin with babeltrace2 python api for live LTTng trace reading?

2023-08-08 Thread Erica Bugden via lttng-dev
Hello Ruoxiang! Thank you for your question. It's true that there are no Python bindings examples specific to lttng live (we've provided a brief example below). Unfortunately, the python bindings documentation is currently incomplete, but information about using lttng live can be pieced

Re: [lttng-dev] Discarded events

2023-08-14 Thread Erica Bugden via lttng-dev
On 2023-08-13 10:58, Bala Gundeboina via lttng-dev wrote: Hi, I am Using LTTng in my project , I am recording a kernel session for long duration (eg more than 15minutes) I am enabling all the events for recording but some events discarding after stopping the session, if i run more than 5

Re: [lttng-dev] [Ext] Re: How to use lttng-live plugin with babeltrace2 python api for live LTTng trace reading?

2023-08-14 Thread Erica Bugden via lttng-dev
You're welcome Ruoxiang! On 2023-08-10 22:50, LI Ruoxiang wrote: HiErica, Thank you for your kind help. It works for my case. Best, Ruoxiang *From: *Erica Bugden *Date: *Wednesday, August 9, 2023 at 05:29 *To: *LI Ruoxiang , lttng-dev@lists.lttng.org *Subject: *[Ext] Re: How to use

Re: [lttng-dev] Lttng: display active threads in multiple cores.

2024-04-03 Thread Erica Bugden via lttng-dev
Hello Zvika, On 2024-04-02 23:52, Zvi Vered wrote: Hi Erica, Thank you very much for your answer. Can you please tell what is the added value of ftrace (compared to using only lttng) ? I don't think I understand the intention behind your question. I'll make some guesses below and you're

Re: [lttng-dev] Lttng: display active threads in multiple cores.

2024-04-02 Thread Erica Bugden via lttng-dev
Hello Zvika, On 2024-03-29 01:09, Zvi Vered via lttng-dev wrote: Hi Christopher, Thank you very much for your reply. Can you please explain what do you mean by ftrace-enabled kernel ? I believe what Christopher means by "ftrace-enabled" kernel is that the Linux kernel has been configured to