Re: [lttng-dev] Monitor user space threads without user events

2024-04-15 Thread Zvi Vered via lttng-dev
Hi Kienan, Thank you very much ! Zvika On Mon, Apr 15, 2024 at 9:25 PM Kienan Stewart via lttng-dev < lttng-dev@lists.lttng.org> wrote: > Hi Zvika, > > with a session that has kernel events enabled, I think you could use the > sched_switch event. > > thanks, > kienan

[lttng-dev] Monitor user space threads without user events

2024-04-05 Thread Zvi Vered via lttng-dev
Hello, My user space process contains 2 threads: First thread is blocked upon a kernel event created by a hardware interrupt handled by the kernel. The thread is sending ioctl which is blocked till this interrupt occurs. Second thread has just a 5msec sleep. It does something and then sleeps fo

Re: [lttng-dev] babeltrace2 on windows

2024-04-04 Thread Zvi Vered via lttng-dev
t; > thanks, > kienan > > > On 4/4/24 4:08 PM, Zvi Vered via lttng-dev wrote: > > Hello, > > > > I'm required to analyze an lttng trace with Babeltrace2 python API. > > The host is running windows 10. > > But according to : https://babeltrace.org/#bt2-ge

[lttng-dev] babeltrace2 on windows

2024-04-04 Thread Zvi Vered via lttng-dev
Hello, I'm required to analyze an lttng trace with Babeltrace2 python API. The host is running windows 10. But according to : https://babeltrace.org/#bt2-get Windows is not mentioned at all. I prefer python but I can also consider using the C library for windows. Thank you, Zvika __

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

2024-04-02 Thread Zvi Vered via lttng-dev
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) ? Best regards, Zvika On Tue, Apr 2, 2024 at 5:11 PM Erica Bugden wrote: > Hello Zvika, > > On 2024-03-29 01:09, Zvi Vered via lttng-dev wrot

Re: [lttng-dev] lttng-modules(13.9) : insmod order

2024-04-02 Thread Zvi Vered via lttng-dev
epending on how the build was configured. > > thanks, > kienan > > [1]: https://lttng.org/docs/v2.13/#doc-lttng-modules > > > On 3/30/24 10:52 PM, Zvi Vered via lttng-dev wrote: > > Hello, > > > > For some reason, I failed to integrate v13.9 into buildroot 20

[lttng-dev] lttng-modules(13.9) : insmod order

2024-03-30 Thread Zvi Vered via lttng-dev
Hello, For some reason, I failed to integrate v13.9 into buildroot 2023.02.2 But I compiled all modules with the my kernel source: 5.4.249 Can you please tell what is the right order of *insmod *for the kernel modules ? All I need is to record IRQ events and user space events. Thank you, Zvika

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

2024-03-28 Thread Zvi Vered via lttng-dev
ith lttng (maybe even just > tracecompass) or perfetto to get that kind of trace > > > https://archive.eclipse.org/tracecompass.incubator/doc/org.eclipse.tracecompass.incubator.ftrace.doc.user/User-Guide.html > > or > > https://ui.perfetto.dev/ > > On Wed, Mar 27, 2024, at

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

2024-03-27 Thread Zvi Vered via lttng-dev
Hello, I have an application with 4 threads. I'm required to display on the graph when thread starts working till it blocks for the next semaphore. But without using the lttng userspace library. Is it possible ? Thank you, Zvika ___ lttng-dev mailing

Re: [lttng-dev] tracing user event from multiple dockers

2024-03-05 Thread Zvi Vered via lttng-dev
mjeanson/gcloud-lttng/blob/master/pods/demo1.yaml.in > > In a scenario with multiple sessionds (eg. one per container), the > traces could be combined in post using babeltrace. > > thanks, > kienan > > > On 3/2/24 12:31 AM, Zvi Vered via lttng-dev wrote: > > Hell

[lttng-dev] tracing user event from multiple dockers

2024-03-01 Thread Zvi Vered via lttng-dev
Hello, I have an application working with multiple dockers. Each docker is a fedora O.S running an application. The host is centos 8.5. This host will be upgraded to RHEL 9.2 in the near future. Is it possible that all traces from multiple dockers will all be written to one metadata ? versions: l

Re: [lttng-dev] Understand userspace events in babeltrace output

2019-07-19 Thread Zvi Vered
Hi Jonathan, Thank you very much ! Best regards, Zvika On Fri, Jul 19, 2019 at 11:48 PM Jonathan Rajotte-Julien < jonathan.rajotte-jul...@efficios.com> wrote: > Hi Zvi, > > On Fri, Jul 19, 2019 at 05:28:48PM +0300, Zvi Vered wrote: > > Hello, > > > > Using

[lttng-dev] Understand userspace events in babeltrace output

2019-07-19 Thread Zvi Vered
Hello, Using babeltrace I created a text trace. How can I understand it ? For example: I logged userspace events. One of my threads is called: RSPOn3 I can see the following lines: sched_switch: { cpu_id = 0 }, { prev_comm = "RSPOn3", prev_tid = 27307, prev_prio = -58, prev_state = 1, next_comm

[lttng-dev] Log semaphore, mutex in CTF

2019-06-30 Thread Zvi Vered
Hello, I converted CTF files created by ltt-ng to text file using babeltrace. Can you please tell how semaphore, mutex are logged in this text file ? I did not find the terms "sema" or "mutex". Thank you, Zvika ___ lttng-dev mailing list lttng-dev@lis

[lttng-dev] Using babeltrace python under ubuntu

2019-06-20 Thread Zvi Vered
Hello, Under ubuntu 16.04 I ran: sudo apt-get install babeltrace This installed babeltrace which is working OK. Can I use also the python version ? The goal: Use the python version "as is" under windows. Thank you, Zvika ___ lttng-dev mailing list ltt

Re: [lttng-dev] (no subject)

2019-06-13 Thread Zvi Vered
Hi Jonathan, I need a windows library (+ sample code that uses it) that can read events from a pre-recorded CTF file created by ltt-ng (metadata, channels) I think (not sure) that compiling babeltrace (e.g 1.5.23) with Mingw is not simple. As a start, the bootstrap, cannot run under windows. Than

Re: [lttng-dev] (no subject)

2019-06-13 Thread Zvi Vered
Jun 12, 2019 at 11:22 PM Zvi Vered wrote: > > > > Hello, > > > > I'm trying to read the file "metadata". > > I read the struct: > > > > struct metadata_packet_header { > > uint32_t magic; /* 0x75D11D57 */ > > uint8_t uuid[16];

[lttng-dev] (no subject)

2019-06-12 Thread Zvi Vered
Hello, I'm trying to read the file "metadata". I read the struct: struct metadata_packet_header { uint32_t magic; /* 0x75D11D57 */ uint8_t uuid[16]; /* Unique Universal Identifier */ uint32_t checksum; /* 0 if unused */ uint32_t content_size; /* in bits */ uint32_t packet_size; /* in bits */ uin

Re: [lttng-dev] lttng trace" Read trace under windows

2019-06-10 Thread Zvi Vered
Hi Jonathan, All, If I build babeltrace (1.5) on cygwin, can I use the libraries under native windows ? Thank you, Zvika On Tue, May 21, 2019 at 5:48 PM Jonathan Rajotte-Julien < jonathan.rajotte-jul...@efficios.com> wrote: > Hi, > > On Mon, May 20, 2019 at 10:49:49PM -0700,

[lttng-dev] Read CTF file

2019-06-04 Thread Zvi Vered
Hello, I downloaded babeltrace from git using: git clone git://git.efficios.com/babeltrace.git Where can I find a sample code that reads a CTF file ? Thank you, Zvika ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/

Re: [lttng-dev] lttng trace" Read trace under windows

2019-05-25 Thread Zvi Vered
@efficios.com> wrote: > Hi, > > On Mon, May 20, 2019 at 10:49:49PM -0700, Zvi Vered wrote: > > Hello, > > > > I'm looking for a windows library that can read a trace ? > > Babeltrace 1.5 can be build on cygwin. > > > Or - detailed instructions on

[lttng-dev] lttng trace" Read trace under windows

2019-05-20 Thread Zvi Vered
Hello, I'm looking for a windows library that can read a trace ? Or - detailed instructions on the structure of each file in the trace. Can you please advise ? Thank you, Zvika ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.or

Re: [lttng-dev] lttng-tools-2.10.6: Spawning consumerd failed

2019-05-19 Thread Zvi Vered
> > On Fri, May 17, 2019 at 04:50:02AM +0300, Zvi Vered wrote: > > Hi Janathan, All, > > > > I solved the path issue with > > > > export LTTNG_CONSUMERD32_BIN=/lib/lttng/libexec > > export LTTNG_CONSUMERD32_LIBDIR =/lib > > export LTTNG_SESSION_CO

[lttng-dev] Monitor threads with lttng

2019-05-15 Thread Zvi Vered
Hello, Can I use lttng to monitor threads in my process ? For example, I want to see when a thread is active and when it is blocked (waiting for a signal or an IOCL to complete). Is it possible doing it without linking the application with libust and calling UST API ? Thank you, Zvika __

Re: [lttng-dev] lttng-tools-2.10.6: Spawning consumerd failed

2019-05-15 Thread Zvi Vered
Hi Jonathan, I'm not using buildroot nor Yokto. In order to build lttng-tools I ran: ./configure --prefix=/64_sw/git/zvi_vered/MY_PROJ/linux4.9.20/boot/rootfs make make install This path contains a complete root file system (based on busybox) that is later copied to my target. On the target I ra

[lttng-dev] lttng-tools-2.10.6: Spawning consumerd failed

2019-05-14 Thread Zvi Vered
Hello, I ran the following command on the target (where my kernel is running): ~ # ./lttng create my-kernel-session --output=/tmp/my-kernel-trace and then: ~ # ./lttng enable-event --kernel --syscall open,close and got: Error: Spawning consumerd failed Error: Event open: Kernel consumer star

Re: [lttng-dev] lttng-modules-2.7.0 : compilation error

2015-12-03 Thread Zvi Vered
Thank you. Z.V On Dec 3, 2015 9:21 AM, "Mathieu Desnoyers" wrote: > - On Dec 3, 2015, at 4:20 AM, Zvi Vered vered...@gmail.com wrote: > > > Hello, > > > > I'm tried to compile lttng-modules: > > > > more /proc/version: > >

[lttng-dev] lttng-modules-2.7.0 : compilation error

2015-12-02 Thread Zvi Vered
Hello, I'm tried to compile lttng-modules: more /proc/version: Linux version 2.6.32-279.el6.x86_64 (mockbu...@c6b9.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Jun 22 12:19:21 UTC 2012 yum install kernel-headers cd lttng-modules-2.7.0 make and got: LTTN

Re: [lttng-dev] compile error in lttng-ust-2.4.4

2015-11-29 Thread Zvi Vered
clearly not supported. You will need to upgrade your compiler. > > Thanks, > > Mathieu > > - On Nov 28, 2015, at 11:13 PM, Zvi Vered vered...@gmail.com wrote: > >> Hi Jonathan, >> >> I tried compiling lttng-ust-2.7.1 and got the same compilation error. >

Re: [lttng-dev] compile error in lttng-ust-2.4.4

2015-11-28 Thread Zvi Vered
(modules/ust/tools) is not officially supported (actively > developed) anymore. I highly encourage you to move towards lttng 2.7 tool > set unless you have very specific requirements. > > Cheers! > > > On Thu, Nov 26, 2015 at 11:20 PM, Zvi Vered wrote: > >> Hello, >&

[lttng-dev] compile error in lttng-ust-2.4.4

2015-11-26 Thread Zvi Vered
Hello, I downloaded lttng-ust-2.4.4 extracted it and ran ./configure Then I ran make. I got the following error: CC lttng-filter-specialize.lo CC lttng-filter-interpreter.lo CC lttng-ust-baddr.lo In file included from ../include/lttng/ust-tracepoint-event.h:724,

[lttng-dev] (no subject)

2015-11-26 Thread Zvi Vered
Hello, I downloaded lttng-tools-2.7.0 and tried to run ./configure. I got the error message: checking for xml2-config... /home/zvivered/GNU/libxml2/release/bin/xml2-config checking for libxml - version >= 2.7.6... yes (version 2.7.7) checking for uuid_generate in -luuid... no checking for u

[lttng-dev] Compilation error in LTTng-UST 2.0.8

2013-08-17 Thread Zvi Vered
Hello, I downloaded the file lttng-ust-2.0.8.tar.bz2, extracted it and the ran: ./configure make After a while I got the following compilcation error: CC ltt-probes.lo CC lttng-probe-ust.lo In file included from ../include/lttng/ust-tracepoint-event.h:506, from ../in

[lttng-dev] Using LTTng to monitr several thread in one process (under vanilla 3.4.7)

2013-08-16 Thread Zvi Vered
Hello, I’m using vanilla 3.4.7 on an Intel's Ivy-Bridge PC104. The application (compiled and built with intel compiler) contains 8 threads. My goal it to use “LTTng Project” to display all threads on a graph. Each thread will have its own “line” and I will be able to see when the CPU is idle