Re: [lttng-dev] [lttng-tools] Removal of root_regression tests

2022-06-13 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Marcel, - Original Message - > From: "Marcel Hamer via lttng-dev" > To: "lttng-dev" > Sent: Monday, 13 June, 2022 07:49:39 > Subject: [lttng-dev] [lttng-tools] Removal of root_regression tests > Hello, > > Since version v2.12.9 of lttng-tools the root_regression file has been

Re: [lttng-dev] [PATCH lttng-tools] Fix: cleanup stream on snapshot failure

2022-05-31 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Marcel, This is exactly the kind of reproducer we are looking for. Thanks for providing it. I'll try it out and check if we need anything more in that patch. Cheers - Original Message - > From: "Marcel Hamer" > To: "jonathan rajotte-julien" > Cc: "lttng-dev" > Sent: Tuesday, May

Re: [lttng-dev] [PATCH lttng-tools] Fix: cleanup stream on snapshot failure

2022-05-30 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Marcel, Thanks for sending this patch. Looks sensible to me, still do you have a reproducer for it? I went back to bug 1352 and even with https://bugs.lttng.org/attachments/546 was unable to force the assert failure. Cheers - Original Message - > From: "Marcel Hamer via lttng-dev"

Re: [lttng-dev] how to create a issue about userspace rcu

2022-03-25 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, You should have access to https://bugs.lttng.org/projects/urcu/issues/new when you are logged in. If not ping me in private and we will fix this. But afaik permissions looks good for the urcu project. Cheers On Fri, Mar 25, 2022 at 11:15:02AM +0800, yaowenbin via lttng-dev wrote: > Hello,

Re: [lttng-dev] In lttng-live mode, if the printing speed cannot keep up with the generation speed of the parsed ctf data, where will the data be stored?

2022-03-08 Thread Jonathan Rajotte-Julien via lttng-dev
On Wed, Mar 09, 2022 at 01:26:42AM +0800, 熊毓华 wrote: > If for some reason (for example, here my socket send function in print_message > is blocked and the Babeltrace2 may be suspended), the speed of the reader > (babeltrace2) cannot keep up with the speed of the > producer(lttng/lttng-consumerd),

Re: [lttng-dev] In lttng-live mode, if the printing speed cannot keep up with the generation speed of the parsed ctf data, where will the data be stored?

2022-03-08 Thread Jonathan Rajotte-Julien via lttng-dev
Hi > I wonder if my socket recv function is blocked on the other end, causing the > socket send function to block in print_message function in babeltrace2;or when > printing to the console, the printing speed can't keep up with the parsed CTF > data generation speed and the print buffer is also

Re: [lttng-dev] 回复: 回复: shm leak in traced application?

2022-02-25 Thread Jonathan Rajotte-Julien via lttng-dev
Hi zhenyu.ren, Please open a bug on our bug tracker and provide a reproducer against the latest stable version (2.13.x). https://bugs.lttng.org/ Please follow the guidelines: https://bugs.lttng.org/#Bug-reporting-guidelines Cheers On Fri, Feb 25, 2022 at 12:47:34PM +0800, zhenyu.ren via

Re: [lttng-dev] [PATCH] lttng-ust-common: link with liburcu explicitly

2021-12-02 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Alexander, Thanks for sending this patch. Could you provide more details regarding the linking errors? lttng-ust must not depends on liburcu at runtime since commit 10544ee8af31afb239e3dfa71cb2fe09d3de3771 commit 10544ee8af31afb239e3dfa71cb2fe09d3de3771 Author: Mathieu Desnoyers Date:

Re: [lttng-dev] quick question about setting up lttng on Redhat

2021-07-19 Thread Jonathan Rajotte-Julien via lttng-dev
Hello, On Mon, Jul 19, 2021 at 09:40:06AM -0400, Evan Galea via lttng-dev wrote: > Hello there > > We have been considering setting up Redhat on my system and have learned > that Lttng packages are supported. I was hoping to quickly learn the answer EfficiOS provides commercial support for

Re: [lttng-dev] LTTng 32 bits on 64 bits systems - kernel events... but no user-event

2021-06-07 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Julien, A fix is on the way for libfd-tracker lib problem: https://review.lttng.org/c/lttng-tools/+/6045 > Thank you ! The following modification is working : > lttng-sessiond --consumerd32-libdir=/usr/local/lib32 > --consumerd32-path=/usr/local/lib32/lttng/libexec/lttng-consumerd

Re: [lttng-dev] LTTng 32 bits on 64 bits systems - kernel events... but no user-event

2021-06-07 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, > I am currently trying to add lttng 32bits on a 64bits system with a custom > kernel 4.19.177+ x86_64 (Debian 10.9) > My former attempt only with only a 100% arm32 bits was successful (raspberry). > I am facing now a strange issue : I can record kernel event but not userspace > event... but

Re: [lttng-dev] Syntax error running lttng

2021-06-02 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, Side note: not sure what is wrong with my email setup or the mailing list but I cannot see the reply you sent in my email folder, but it is available here: https://lists.lttng.org/pipermail/lttng-dev/2021-June/030021.html In any case, this look strangely like the problem seen in [1][2].

Re: [lttng-dev] Syntax error running lttng

2021-06-01 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Tue, Jun 01, 2021 at 10:48:13AM +1000, Merlin via lttng-dev wrote: > Hi, > > > > I have compiled LTTNG for ARM but when I try to run the executable, I get > this error: Do you have any of the logs for the lttng-tools project? That would be `config.log` and the output from `make` and

Re: [lttng-dev] lttng live event loss with babeltrace2

2021-05-10 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, > I ran my test with the new changes and it seems to improve the lossiness but > not > eliminate it. For example it seems in the hello world example that if the > application exits too quickly after emitting the tracepoint, we might still > lose some events in the consumer even though they

Re: [lttng-dev] lttng live event loss with babeltrace2

2021-05-07 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, See https://github.com/lttng/lttng-tools/commit/c876d657fb08a91ca7c907b92f1b7604aee664ee . We would appreciate your feedback on this if possible based on your use case. Cheers On Mon, May 03, 2021 at 05:05:10PM -0700, Eqbal via lttng-dev wrote: > Hi, > > I have a lttng live session

Re: [lttng-dev] lttng live event loss with babeltrace2

2021-05-04 Thread Jonathan Rajotte-Julien via lttng-dev
On Mon, May 03, 2021 at 05:05:10PM -0700, Eqbal via lttng-dev wrote: > Hi, > > I have a lttng live session trace consumer application using libbabeltrace2 > where I create a graph to consume lttng live session traces and output to > another sink. I am running the graph in a loop at some polling

Re: [lttng-dev] lttng live event loss with babeltrace2

2021-05-04 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Mon, May 03, 2021 at 05:05:10PM -0700, Eqbal via lttng-dev wrote: > Hi, > > I have a lttng live session trace consumer application using libbabeltrace2 > where I create a graph to consume lttng live session traces and output to > another sink. I am running the graph in a loop at some

Re: [lttng-dev] lttng-dev Digest, Vol 156, Issue 3

2021-04-06 Thread Jonathan Rajotte-Julien via lttng-dev
> I followed your command sequence and noticed a bunch of files being > created. However when I tried to run babeltrace on these outputs I don't > see any of the functions that should have been called. Including below the > search for symbols. At least userspace tracing seems to work. I would

Re: [lttng-dev] Userspace tracing in docker containers

2021-04-06 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Mon, Apr 05, 2021 at 11:09:39AM -0700, Eqbal via lttng-dev wrote: > Hi, > > I am trying to get user space tracing working for an application running in > a docker container. I am running lttng session daemon in another container. > I mounted the unix socket locations (either

Re: [lttng-dev] lttng-dev Digest, Vol 156, Issue 3

2021-04-06 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, I think you need to take a step back and figure out how lttng is deployed and more importantly the overall architecture of lttng and its principal moving pieces. First, you need a functioning and running lttng-sessiond process. >From lttng-console-log.txt:

Re: [lttng-dev] Can't trace function calls

2021-04-02 Thread Jonathan Rajotte-Julien via lttng-dev
On Wed, Mar 31, 2021 at 12:55:53PM -0500, Ramesh Errabolu wrote: > root@RocrLnx23:~/git/compute/out/ubuntu-18.04/18.04/bin# ls ~/ | grep -i ltt > root@RocrLnx23:~/git/compute/out/ubuntu-18.04/18.04/bin# lttng create > my-kernel-session --output=~/my-kernel-trace > Session my-kernel-session

Re: [lttng-dev] [PATCH lttng-tools] Fix: test code assumes that child process is schedule to run before parent

2021-04-01 Thread Jonathan Rajotte-Julien via lttng-dev
On Thu, Apr 01, 2021 at 03:21:10AM +0200, Anders Wallin wrote: > Hi Jonathan :) > > It's very unlikely that the race could occur, BUT it can happen. > > OK run > 1. test_event_tracker starts gen-ust-events > 2. test_event_tracker waits for gen-ust-events to create AFTER_FIRST_PATH > 3.

Re: [lttng-dev] [PATCH lttng-tools] Fix: test code assumes that child process is schedule to run before parent

2021-03-31 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Wed, Mar 31, 2021 at 11:09:42PM +0200, Anders Wallin wrote: > Hi Julian, You can use Jonathan. ;) > > Neither mine "sleep 0.1" or your version with "while [! -f " > are race condition free. I might be missing something here but as far as I understand the race you are trying

Re: [lttng-dev] [PATCH lttng-tools] Fix: test code assumes that child process is schedule to run before parent

2021-03-31 Thread Jonathan Rajotte-Julien via lttng-dev
> # > # SPDX-License-Identifier: GPL-2.0-only > > -TEST_DESC="LTTng - Event traker test" > +TEST_DESC="LTTng - Event tracker test" > > CURDIR=$(dirname "$0")/ > TESTDIR="$CURDIR/../../.." > @@ -42,6 +42,8 @@ function prepare_ust_app > > $TESTAPP_BIN -i $NR_ITER -w $NR_USEC_WAIT -a

Re: [lttng-dev] Can't trace function calls

2021-03-31 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Wed, Mar 31, 2021 at 10:51:03AM -0500, Ramesh Errabolu via lttng-dev wrote: > I am trying to capture the list of functions being called by an app. The > app relies on a couple of shared libraries (libhsa-runtime64.so and > libhsakmt.so). ok. > > My experiments all *FAIL *i.e. there are

Re: [lttng-dev] Question/Issue compilation ARMv7 of LTTng

2021-03-31 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Tue, Mar 30, 2021 at 10:29:22PM +, MONTET Julien via lttng-dev wrote: > Hello the developpers ! > > On my side, userspace and kernel event are working for both x86_64 and 32bits > on Ubuntu 20.04. > One of my main goals is to use LTTng on an armv7 target (Raspbian 32 bits). Ok. >

Re: [lttng-dev] LTTng 32 bits : Cannot find liburcu-bp 0.11 or newer

2021-03-29 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Julien, Yeah, the urcu version is wrong here it should be >= 0.11. We will get that fixed. Thanks On Mon, Mar 29, 2021 at 01:24:48PM +, MONTET Julien via lttng-dev wrote: > Oh my bad ! > You just have to choose modify the lines of the tutorial (rcu). > I chose >

Re: [lttng-dev] Issues on basic LTTng trace userspace (tutorial)

2021-03-24 Thread Jonathan Rajotte-Julien via lttng-dev
On Wed, Mar 24, 2021 at 06:55:37PM +, MONTET Julien wrote: > Hi Jonathan, > > You are absolutely right ! > I have two different lttng : find /usr -name "*liblttng-ust*" Ubuntu > Pastebin Glad to know that we are making progress. > > According to

Re: [lttng-dev] Issues on basic LTTng trace userspace (tutorial)

2021-03-24 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Julien, > TBH nothing points toward a problem here. I would need to spawn a 20.04 to > check > if something is broken, I might have time later today. Finally I had a Vagrant definition file laying around for the stable-2.12 ppa that let me bring up a vm easily. All seems fine. How lttng is

Re: [lttng-dev] Issues on basic LTTng trace userspace (tutorial)

2021-03-24 Thread Jonathan Rajotte-Julien via lttng-dev
On Wed, Mar 24, 2021 at 03:53:14PM +, MONTET Julien wrote: > Hi Jonathan, > > After having written 'sudo systemctl stop lttng-sessiond.service', the > command 'sudo lttng-sessiond -vvv > /tmp/lttng-sessiond.log 2>&1' gives me > nothing. The log should be in /tmp/lttng-sessiond.log. > >

Re: [lttng-dev] Issues on basic LTTng trace userspace (tutorial)

2021-03-24 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Julien, Please always keep the mailing list in CC. > I am running 'lttng list --userspace' with the application running in another > terminal (like the tutorial, and also with a while that loop on > tracepoint(...). ok. > > You can find here the Ubuntu paste : Ubuntu >

Re: [lttng-dev] Issues on basic LTTng trace userspace (tutorial)

2021-03-24 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Julien, On Wed, Mar 24, 2021 at 11:29:04AM +, MONTET Julien via lttng-dev wrote: > Hello the LTTng team ! > > I would like, at first, to thank you for your projet and your impressive work > ! > > For the past few days I have been trying to learn how to use lttng (v2.12). > > I followed

Re: [lttng-dev] Reg: LTTNG Support for arm64 based k3-am654 board

2021-03-17 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Wed, Mar 17, 2021 at 01:43:59PM +, Vadivel, Arulpandiyan via lttng-dev wrote: > Hi Team, > > We are working on the Texas Instrument's K3-am654 board(ARM64 based), on > 4.19.165-cip41 RT and Non-RT kernel. We would like to have the lttng > support on the board. Hence I

Re: [lttng-dev] 回复: 回复: help modpost: "__bad_cmpxchg"

2021-01-15 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Quiang, Please test the attached patch. Cheers On Sat, Jan 09, 2021 at 05:40:48AM +, Zhang, Qiang wrote: > > > > 发件人: Jonathan Rajotte-Julien > 发送时间: 2021年1月8日 0:54 > 收件人: Zhang, Qiang > 抄送: lttng-dev > 主题: Re: 回复: help modpost: "__bad_cmpxchg"

Re: [lttng-dev] 回复: help modpost: "__bad_cmpxchg"

2021-01-07 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, Note The initial email was sent to the "owner" of the mailing list. Please *always* send email to the mailing list directly: lttng-dev@lists.lttng.org . Otherwise we will not be interested in helping you in the future. Sorry forgot to ask you the following. What is the arm CPU you

Re: [lttng-dev] 回复: Enamebling namespace contexts

2021-01-04 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, > The version of my lttng is: lttng (LTTng Trace Control) 2.10.7 - KeKriek. Please upgrade to lttng 2.12.x. Container awareness was added in the 2.12 release cycle. Cheers > Thanks, > Serica > > > --原始邮件-- > 发件人:

Re: [lttng-dev] Some confusion about cpu usage of the lttng-consumerd process

2020-11-27 Thread Jonathan Rajotte-Julien via lttng-dev
> From: "熊毓华" > To: "Jonathan Rajotte-Julien" , > "lttng-dev" > Sent: Friday, November 27, 2020 10:32:07 AM > Subject: Re: Re: [lttng-dev] Some confusion about cpu usage of the > lttng-consumerd process > Hi,Dear. Side note, you can remove the "Dear" here. ;) > The test script was used to

Re: [lttng-dev] Some confusion about cpu usage of the lttng-consumerd process

2020-11-27 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Fri, Nov 27, 2020 at 02:39:28PM +0800, 熊毓华 via lttng-dev wrote: > Hi,dear. > > I have been using lttng to monitor my server these days,but I found something > interesting. > > The cpu usage of lttng varies with the number of cpu cores of the server. Which is a bit expected since more

Re: [lttng-dev] [EXTERNAL] Re: lttng 2.12 install

2020-11-24 Thread Jonathan Rajotte-Julien via lttng-dev
On Tue, Nov 24, 2020 at 09:02:41PM +, Weber, John wrote: > Ok, it I get what you're saying then I am modifying make on the command line > while running make? Yeah. > Still the same problem. I don't think it is using the gcc I am specifying as > it continues to look in:

Re: [lttng-dev] [EXTERNAL] Re: lttng 2.12 install

2020-11-24 Thread Jonathan Rajotte-Julien via lttng-dev
Hi John, AFAIK, you should be able to do so using something similar to the following: make CC="your_compiler" HOSTCC="your_compiler" ... Cheers On Tue, Nov 24, 2020 at 07:22:10PM +, Weber, John wrote: > Hi, thanks for your reply. So, on my system there are 2 gcc's. one installed > by

Re: [lttng-dev] lttng 2.12 install

2020-11-20 Thread Jonathan Rajotte-Julien via lttng-dev
Hi John, This does not seems to be directly related to the lttng-modules project. This errors seems to arise because of the compiler you are using to compile lttng-modules (kernel modules). The RETPOLINE check is part of the kernel build system, not directly lttng-modules. I would recommend

Re: [lttng-dev] Help needed: No UST events recorded

2020-08-04 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Moritz, From the lttng-sessiond log: PERROR - 08:04:45.465478146 [575/575]: Failed to open wait shm at /lttng-ust-wait-8: Function not implemented (in get_wait_shm() at shm.c:98) DEBUG1 - 08:04:45.465496345 [575/575]: Failing to get the wait shm fd (in get_wait_shm() at shm.c:143) Error:

Re: [lttng-dev] Help needed: No UST events recorded

2020-08-03 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Moritz What is your version of lttng-tools? lttng --version Please run the `hello` executable using the LTTNG_UST_DEBUG env variable, while tracing, and provide the output. pkill lttng-sessiond lttng-sessiond -b -vvv --verbose-consumer 2> /tmp/lttng-sessiond.log lttng create lttng

Re: [lttng-dev] [EXTERNAL] Re: babeltrace cannot open the trace but Trace Compass can open

2020-07-23 Thread Jonathan Rajotte-Julien via lttng-dev
> When your account gets activated, could you copy this into the new > issue's description? I manually activated it. You should be good to go. > > This way you can receive notifications when the issue gets updated. > > Thank you, > > Phil > ___

Re: [lttng-dev] 回复:回复: 回复: some tracepoints not exist in metadata?

2020-07-02 Thread Jonathan Rajotte-Julien via lttng-dev
On Thu, Jul 02, 2020 at 08:38:57AM +0800, zhenyu.ren via lttng-dev wrote: > Thanks a lot. I will try single quotes but it may take hours get the result. > Yesterday, I enabled the verbose option ,and found the following message "UST > app reply event failed. Application died (in

Re: [lttng-dev] lttng_lib_ring_buffer: section 24 reloc 0 sym '': relocation 42 out of range

2020-05-28 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Lukasz, Is the problem reproducible on the qemu arm target (yocto) ? On Thu, May 28, 2020 at 01:51:12PM +0200, Lukasz Domowy via lttng-dev wrote: > Hello, > > First - of all: thank you very much for efforts to develop and > maintain LTTng. It's very useful tool! > I used it so far on PowerPC

Re: [lttng-dev] Need Help In trace generation for malloc(), free() calls etc

2020-05-13 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Abhinav, Please keep the mailing list in CC for all communication: lttng-dev@lists.lttng.org If not, I am not interested in helping you further. On Wed, May 13, 2020 at 09:26:52PM +0530, Abhinav Ranjan wrote: > Hi! Jonathan thank you so much for your help and reply! Sure I'll not use >

Re: [lttng-dev] Need Help In trace generation for malloc(), free() calls etc

2020-05-13 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Abhinav, Please refrain from using screenshots when pastebin could be used (code, commands, etc). On Wed, May 13, 2020 at 10:29:22AM +0530, Abhinav Ranjan via lttng-dev wrote: > Hello Sir, > I am Abhinav from India. > *Kindly Ignore the previous email.* > Actually I am very new to the

Re: [lttng-dev] Babeltrace 2.0.2 performance issue

2020-04-02 Thread Jonathan Rajotte-Julien via lttng-dev
Hi Aleksander, On Thu, Apr 02, 2020 at 04:32:03PM +, Aleksander Aleksandrov via lttng-dev wrote: > Hi Simon, > > > Thank you for your message! Unfortunately, I missed your previous message, > sorry for this. > > > I processed the CI's trace logs, I got the following performance: bt2 >

Re: [lttng-dev] Large number of stream files in CTF trace -- too many file handles

2020-03-16 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, > If this is not the right approach, how should I proceed? E.g., should the > source-ctf-fs manage a limited pool of file handles? I would think this > would be pretty inefficient as you would need to constantly open/close > files--expensive. I would probably start looking at the soft and

Re: [lttng-dev] bt2 Python quick start/examples?

2020-03-12 Thread Jonathan Rajotte-Julien via lttng-dev
Hi, On Wed, Mar 11, 2020 at 10:56:24PM -0400, Rocky Dunlap via lttng-dev wrote: > I see that the bt2 Python documentation is not yet ready: > https://babeltrace.org/docs/v2.0/python/bt2/ Slowly getting there. > > In lieu of that, where is the best place to find at least a few examples of >