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: &quo

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
@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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
ave a look at the overall architecture of lttng before going further [1]. [1] https://lttng.org/docs/v2.13/#doc-plumbing Cheers > > Looking forward to your reply! > > thx > > Yuhua > > > > > -原始邮件- > 发件人:"Jonathan Rajotte-Julien" &g

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
exist in the traced application? > > Thanks > zhenyu.ren > > > ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] Transfer of LTTng copyright ownership: Jonathan Rajotte-Julien

2022-01-20 Thread Jonathan Rajotte via lttng-dev
your > employment > at EfficiOS to EfficiOS Inc. ? > > This particularly affects the lttng-tools files with copyright: > > Copyright (C) 201N Jonathan Rajotte > > Thanks! > > Mathieu > > -- > Mathieu Desnoyers > EfficiOS In

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

2021-12-02 Thread Jonathan Rajotte-Julien via lttng-dev
- > From: "Alexander Kanavin" > To: "lttng-dev" , "Francis Deslauriers" > , "jonathan > rajotte-julien" > Cc: "Alexander Kanavin" > Sent: Thursday, December 2, 2021 3:04:12 PM > Subject: [PATCH] lttng-ust-common: link

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

2021-07-19 Thread Jonathan Rajotte-Julien via lttng-dev
re > somewhere I didn't look. > > Evan Galea > ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@list

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
nt_overwrite,lttng_tracer > > > > Any suggestions appreciated. > > > > Thank you. > > > > Merlin > > ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] Syntax error running lttng

2021-06-01 Thread Jonathan Rajotte-Julien via lttng-dev
m at a loss to understand what it is > complaining about from the message. Me too. > > > > Modules seem to load fine. Modules are loaded by the lttng-sessiond executable. Here only the CLI executable seems to be having some problem. -- Jonathan Rajotte-Julien EfficiOS

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

2021-05-10 Thread Jonathan Rajotte-Julien via lttng-dev
indow". This is only valid if the viewer is not "late" and have consumed everything at the moment it detach. Cheers - Original Message - > From: "Eqbal" > To: "Jonathan Rajotte-Julien" > Cc: "lttng-dev" > Sent: Monday, Ma

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

2021-05-07 Thread Jonathan Rajotte-Julien via lttng-dev
e2 cli. > > I would like to understand what is the reason for such behavior and if > playing with the polling interval in relation to the DELAYUS value is the > right thing to do. > > Thanks, > Eqbal > ___ > lttng-dev mailing list

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

2021-05-04 Thread Jonathan Rajotte-Julien via lttng-dev
rd handling of how we handle the first "empty" retry and the subsequent get phase. After the initial phase everything seems to work as expected. [1] https://bugs.lttng.org/ -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

2021-05-04 Thread Jonathan Rajotte-Julien via lttng-dev
, but it does not reach babeltrace consumer application. I > have noticed the same behavior with babeltrace2 cli. Could you also test against babeltrace 1.5? It might give us a bit of a head start to debug this if it turns out to be unexpected behaviour. -- Jonathan Rajotte-Julien EfficiOS

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
ntioned bug (1286) [1], the principal concern is: " This means a non-root application could theoretically impersonate a root application from a tracing perspective, and thus access root tracing buffers in a per-uid configuration, which is unwanted. " [1] https://bugs.lttng.org/issues

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

2021-04-06 Thread Jonathan Rajotte-Julien via lttng-dev
please edit your Subject line so it is more specific > > than "Re: Contents of lttng-dev digest..." > > > > > > Today's Topics: > > > >1. Re: Can't trace function calls (Jonathan Rajotte-Julien) > > > > > > --

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

2021-04-02 Thread Jonathan Rajotte-Julien via lttng-dev
application_here Note that debug log will be outputted on stderr. Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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
creates BEFORE_FIRST_PATH > 6. gen_ust_event creates 100 events > 7. test_event_tracker waits for gen_event_ust to end > 8. test_event finishes and since it tracked the faulty pid the result will > be 0 events == OK > > This is in principle how gen-kernel-test-events works (b

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
sync-before-exit-touch", required_argument, 0, 'e'}, > *+ {"sync-before-first-event", required_argument, 0, 'f'},* > > {0, 0, 0, 0} > }; > > > I will create one or more patches for this tomorrow > > Anders Wallin > > > On Wed, Mar 31, 20

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
utput."? LTTng produces traces encoded in CTF (Common Trace Format) that must be read by a reader (Babeltrace most of the time). Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

2021-03-31 Thread Jonathan Rajotte-Julien via lttng-dev
ependencies without any major modification. Still, we will wait for the config.log file before putting this in the: not a lttng problem. Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

2021-03-29 Thread Jonathan Rajotte-Julien via lttng-dev
ere : > https://lists.lttng.org/pipermail/lttng-dev/2013-February/019641.html > > Would you mind helping me ? > ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS

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

2021-03-24 Thread Jonathan Rajotte-Julien via lttng-dev
e scenario I am able to get my last clean snapchot. That is also a good bet :). -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

2021-03-24 Thread Jonathan Rajotte-Julien via lttng-dev
://paste.ubuntu.com/p/Tjxn3V7g5j/ Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

2021-03-24 Thread Jonathan Rajotte-Julien via lttng-dev
o.o hello-tp.o -L/usr/local/lib -llttng-ust -ldl > (I just wanted to focus the importance of -L/usr/local/lib) > > > De : Jonathan Rajotte-Julien > Envoyé : mercredi 24 mars 2021 16:32 > À : MONTET Julien > Cc : lttng-dev > Objet : Re: [lttng-dev] Issues on basic LTTng

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
tng-ust should appear on the stderr. Please use a paste service [2] to share this information with us. [2] https://paste.ubuntu.com/ Au plaisir! -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

2021-03-17 Thread Jonathan Rajotte-Julien via lttng-dev
might find some piece of valuable information. Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

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

2021-01-07 Thread Jonathan Rajotte-Julien via lttng-dev
ementation and the optimized inlining config option (CONFIG_OPTIMIZE_INLINING). These should help us validate this lead. Cheers On Thu, Jan 07, 2021 at 01:20:54AM +, Zhang, Qiang wrote: > > > ____ > 发件人: Jonathan Rajotte-Julien > 发送时间: 2021年1月6日 23:03

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 remo

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

2020-11-27 Thread Jonathan Rajotte-Julien via lttng-dev
Why it is like this?How should this phenomenon be analyzed? > > Looking forward to your reply. > > thanks, > yuhua > > ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

2020-11-24 Thread Jonathan Rajotte-Julien via lttng-dev
might have some left... > > > John Weber > Ball Aerospace > ITS ND System Administrator > 10 Longs Peak Dr., Broomfield, CO 80021 > C: 303-807-3608 P: 303-234-2103 > E: jweb...@ball.com >   >   > >   > >   > > -Original Mes

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

2020-11-24 Thread Jonathan Rajotte-Julien via lttng-dev
b...@ball.com >   >   > >   > >   > > -Original Message- > From: Jonathan Rajotte-Julien > Sent: Friday, November 20, 2020 11:48 AM > To: Weber, John > Cc: 'lttng-dev@lists.lttng.org' > Subject: [EXTERNAL] Re: [lttng-dev] lttng 2.12 install > > Hi

Re: [lttng-dev] lttng 2.12 install

2020-11-20 Thread Jonathan Rajotte-Julien via lttng-dev
his email address. > ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

2020-08-04 Thread Jonathan Rajotte-Julien via lttng-dev
anzer > Software Development Engineer > > [cid:image001.png@01D3BF6E.185110B0] > > Räffelstrasse 28 > > 8045 Zürich > E: > moritz.pflan...@hexagon.com<mailto:moritz.pflan...@hexagon.com><mailto:carolin.sieb...@hexagon.com> > W: http://www.hexagongeosystems.com &

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

2020-08-03 Thread Jonathan Rajotte-Julien via lttng-dev
systems.com > _______ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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
vance! > > Best regards, > Lukasz > _______ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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
lar performance with both bt1 and > bt2. Although > a colleague tried on a recent AMD Ryzen 3700X CPU, and he says bt2 is slower > than bt1 for > him (36s vs 33s). I'd be curious to know what kind of numbers you get. > > Simon >

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
e/master/src/common/fd-tracker Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

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

2020-03-12 Thread Jonathan Rajotte-Julien via lttng-dev
acingsummit.org/ts/2019/files/Tracingsummit2019-babeltrace2-marchi.pdf -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] Measure loop rate

2020-01-23 Thread Jonathan Rajotte-Julien
ch X loop iterations and deduce the rate from there. Keep in mind that this will require accounting and will add to the workload etc. It all depends on the granularity you are looking for. Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing

Re: [lttng-dev] Regarding LTTNG support for Containers

2019-12-16 Thread Jonathan Rajotte-Julien
_ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

[lttng-dev] [PATCH lttng-tools v2] Fix: update apps on untrack only when session is active

2019-11-18 Thread Jonathan Rajotte
This mimics what is done on the track side. Fixes #1210 Signed-off-by: Jonathan Rajotte --- Used wrong issue number. --- src/bin/lttng-sessiond/trace-ust.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bin/lttng-sessiond/trace-ust.c b/src/bin/lttng-sessiond

[lttng-dev] [PATCH lttng-tools] Fix: update apps on untrack only when session is active

2019-11-18 Thread Jonathan Rajotte
This mimics what is done on the track side. Fixes #1209 Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/trace-ust.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bin/lttng-sessiond/trace-ust.c b/src/bin/lttng-sessiond/trace-ust.c index 486b53d30

Re: [lttng-dev] 回复:Re: 回复:Re: 回复:Re: Pros and Cons of LTTng

2019-11-06 Thread Jonathan Rajotte-Julien
Hi, On Wed, Nov 06, 2019 at 11:59:41AM +0800, 杨海 wrote: > Thanks Jonathan. Regarding to the CI MTTR/MTTF test results, it varies from > time to time, and on master/stable branches. > 1. it monitors new Linux kernels, so the CI job may use newer kernel version > than months ago? Not sure of the

Re: [lttng-dev] 回复:Re: 回复:Re: 回复:Re: Pros and Cons of LTTng

2019-11-04 Thread Jonathan Rajotte-Julien
Hi, On Mon, Nov 04, 2019 at 11:47:58AM +0800, 杨海 wrote: > Hi > > > As you previously commented, “The current LTTng kernel tracer (lttng-modules) > supports Linux 3.0+ only.” and we can find the support package list on > http://packages.efficios.com/.; > Does LTTng have roadmap for upcoming

[lttng-dev] [PATCH lttng-tools 5/5] Tests: fix shellcheck warning

2019-10-25 Thread Jonathan Rajotte
No need to use random string for session name here, use the test name. Signed-off-by: Jonathan Rajotte --- tests/regression/tools/base-path/test_ust | 36 ++- 1 file changed, 15 insertions(+), 21 deletions(-) diff --git a/tests/regression/tools/base-path/test_ust b/tests

[lttng-dev] [PATCH lttng-tools 3/5] Cleanup: remove unused internal lttng_session_descriptor_get_base_path

2019-10-25 Thread Jonathan Rajotte
Signed-off-by: Jonathan Rajotte --- Feel free to squash this into the previous commits. --- include/lttng/session-descriptor-internal.h | 4 src/common/session-descriptor.c | 23 - 2 files changed, 27 deletions(-) diff --git a/include/lttng/session

[lttng-dev] [PATCH lttng-tools 2/5] Refactor: Move set session path to own function

2019-10-25 Thread Jonathan Rajotte
Signed-off-by: Jonathan Rajotte --- Feel free to squash this into the previous commit. --- src/bin/lttng-sessiond/cmd.c | 64 +--- 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index

[lttng-dev] [PATCH lttng-tools 4/5] Tests: base path: lttng load for session configuration

2019-10-25 Thread Jonathan Rajotte
Signed-off-by: Jonathan Rajotte --- .../base-path/load-stream-extra-path.lttng| 66 +++ tests/regression/tools/base-path/test_ust | 29 +++- 2 files changed, 92 insertions(+), 3 deletions(-) create mode 100644 tests/regression/tools/base-path/load-stream-extra

[lttng-dev] [PATCH lttng-tools 1/5] Fix: move set base_path of session to URI configuration

2019-10-25 Thread Jonathan Rajotte
i function (LTTNG_SET_CONSUMER_URI). Both the previous and session descriptor based creation API uses this code path when needed (network output). Signed-off-by: Jonathan Rajotte --- Note that this is the "base fix". The next 2 commits extracts the added for loops into its own func

[lttng-dev] [PATCH lttng-tools] Fix: initialize sessions pointer to NULL

2019-10-25 Thread Jonathan Rajotte
r" jump. Always call free on the sessions object. Fixes #1205 Signed-off-by: Jonathan Rajotte --- src/bin/lttng/commands/list.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 28166c8

Re: [lttng-dev] Trace Compass "Add contexts..." option displays XML file

2019-10-23 Thread Jonathan Rajotte-Julien
update its parsing? > > lttng add-context –list works as expected. > > Best, > Zach > > ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Ra

Re: [lttng-dev] [2.11.0] Saving then loading network session loses absolute path

2019-10-21 Thread Jonathan Rajotte-Julien
> ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

[lttng-dev] LTTng 2.11 new features blog posts

2019-10-16 Thread Jonathan Rajotte-Julien
-session-rotation/ [2] https://lttng.org/blog/2019/10/15/new-dynamic-user-space-tracing-in-lttng/ -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] Difficulty extending existing tracepoint's reporting

2019-10-15 Thread Jonathan Rajotte-Julien
Hi David, Did you add the lttng tracepoint definition in instrumentation/events/lttng-module/block.h as it is done with block_rq_complete? (in lttng-modules source tree) Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev

Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-09-24 Thread Jonathan Rajotte-Julien
eeper side effects of not using the fork wrapper given that no exec call is done. I'm not completely sure of the possible side effects on the tracing buffers. Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://l

Re: [lttng-dev] [EXTERNAL] Re: Problem with application changing UID

2019-09-24 Thread Jonathan Rajotte-Julien
Hi Zach, Forgot to add that you might want to look at available UST wrappers depending on the nature of your daemon application. https://lttng.org/docs/v2.10/#doc-using-lttng-ust-with-daemons https://lttng.org/docs/v2.10/#doc-liblttng-ust-fd Cheers -- Jonathan Rajotte-Julien EfficiOS

[lttng-dev] [PATCH lttng-tools v3] Fix: use newly created event filter for condition check

2019-09-24 Thread Jonathan Rajotte
the "filter" object to NULL prevents the call to add_filter_app_ctx when needed. We use the filter from the newly created event to perform the check and the call to add_filter_app_ctx. Fixes coverity #1399733 Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/event.c | 5 +++

Re: [lttng-dev] [PATCH lttng-tools v2] Fix: use newly created event filter for condition check

2019-09-24 Thread Jonathan Rajotte-Julien
Do not review, this include a change that should not be part of this commit. On Tue, Sep 24, 2019 at 11:21:14AM -0400, Jonathan Rajotte wrote: > The following commit introduced a regression while > fixing the filter and filter_expression ownership. >

Re: [lttng-dev] [PATCH lttng-tools] Fix: use newly created event filter for condition check

2019-09-24 Thread Jonathan Rajotte-Julien
> > 4c5e3185d75ffe90b04107744693964d9051fb6b introduced a regression while > > fixing the filter and filter_expression ownership. > > What is this commit ? I'm having trouble finding it. Can you double-check and > provide the commit Subject as well ? Seems like I copied the parent tree commit.

[lttng-dev] [PATCH lttng-tools v2] Fix: use newly created event filter for condition check

2019-09-24 Thread Jonathan Rajotte
the "filter" object to NULL prevents the call to add_filter_app_ctx when needed. We use the filter from the newly created event to perform the check and the call to add_filter_app_ctx. Fixes coverity #1399733 Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/agent.c | 1 + src

Re: [lttng-dev] Problem with application changing UID

2019-09-24 Thread Jonathan Rajotte-Julien
agree with you here. Would you be able to provide a small reproducer for this? What is the version of lttng-* -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] Problem with application changing UID

2019-09-24 Thread Jonathan Rajotte-Julien
mpty trace logs > [cid:image002.png@01D56F9D.AF158770] > > > Is this use-case supported? > > Unfortunately, the logs are huge and contain sensitive information. If they > can help a substantial amount, I can prune them. > > Thanks and best regards, > Zach > ___

[lttng-dev] [PATCH lttng-tools] Fix: use newly created event filter for condition check

2019-09-24 Thread Jonathan Rajotte
d the call to add_filter_app_ctx. Fixes coverity #1399733 Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/event.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/lttng-sessiond/event.c b/src/bin/lttng-sessiond/event.c index f32db4429..a8b7646da 100644 ---

Re: [lttng-dev] [PATCH lttng-tools] Fix: Free new_chunk on error

2019-09-20 Thread Jonathan Rajotte-Julien
> > Okai, I saw a similar pattern somewhere in the file. Might want to check if > the > same can be applied there. Nevermind it is in the release code. > > > > > Thanks! > > Jérémie > > > > > return NULL; > > > } > > >

Re: [lttng-dev] [PATCH lttng-tools] Fix: Free new_chunk on error

2019-09-20 Thread Jonathan Rajotte-Julien
On Fri, Sep 20, 2019 at 05:34:26PM -0400, Jérémie Galarneau wrote: > Merged in master and stable-2.11. > > On Fri, Sep 20, 2019 at 10:47:30AM -0400, Jonathan Rajotte wrote: > > Fixes coverity #1405775 > > > > Signed-off-by: Jonathan Rajotte > > --- > >

[lttng-dev] [PATCH lttng-tools] Refactor: remove logically dead code

2019-09-20 Thread Jonathan Rajotte
Fixes coverity #1400681 Signed-off-by: Jonathan Rajotte --- src/common/session-descriptor.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/src/common/session-descriptor.c b/src/common/session-descriptor.c index 208eb46ff..713731c3e 100644 --- a/src/common/session-descriptor.c +++ b

[lttng-dev] [PATCH lttng-tools] Fix: Close socket handle on error

2019-09-20 Thread Jonathan Rajotte
Fixes coverity #1399739 Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/client.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/client.c b/src/bin/lttng-sessiond/client.c index 956dab8c8..870277534 100644 --- a/src/bin/lttng-sessiond

[lttng-dev] [PATCH lttng-tools] Fix: Null check before destroying health_sessiond

2019-09-20 Thread Jonathan Rajotte
Fixes coverity #1399735 Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index 5f99bdbf6..a428630f8 100644 --- a/src/bin/lttng-sessiond/main.c

[lttng-dev] [PATCH lttng-tools] Fix: Move initialization of queue_pipe_fd after null check of handle

2019-09-20 Thread Jonathan Rajotte
Fixes coverity #1399732 Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/rotation-thread.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/lttng-sessiond/rotation-thread.c b/src/bin/lttng-sessiond/rotation-thread.c index 7bd6c6819..1ee3974f0 100644

[lttng-dev] [PATCH lttng-tools] Fix: Free new_chunk on error

2019-09-20 Thread Jonathan Rajotte
Fixes coverity #1405775 Signed-off-by: Jonathan Rajotte --- src/common/trace-chunk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/trace-chunk.c b/src/common/trace-chunk.c index 6770bd982..bad993bea 100644 --- a/src/common/trace-chunk.c +++ b/src/common/trace-chunk.c

Re: [lttng-dev] Python CTF writer example

2019-09-17 Thread Jonathan Rajotte-Julien
s from bt1.5 to generate traces. I recommend that you stick with the babeltrace 1.5 bindings (import babeltrace). Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] tracepoint_enabled returns true for disabled provider, event

2019-09-16 Thread Jonathan Rajotte-Julien
ek - v2.10.6-11-g8fcbf96 > bash-4.3# > > Any advice are welcome! > //Anders > ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS

Re: [lttng-dev] Kernel tracer not available with lttng compiled in

2019-09-05 Thread Jonathan Rajotte-Julien
CONFIG_TRACE_EVAL_MAP_FILE is not set > CONFIG_KALLSYMS=y > # CONFIG_KALLSYMS_ALL is not set > CONFIG_KALLSYMS_BASE_RELATIVE=y > > > > Regards > Kjeld Flarup > DEIF A/S, R Platform Software > > > ___ > lttng-dev mailing list > lttng-dev@li

Re: [lttng-dev] Problem with vpid in lttng output

2019-09-03 Thread Jonathan Rajotte-Julien
rks because we delay the setup of the channel until an app eligible for tracing is present. That should be it. Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] Problem with vpid in lttng output

2019-09-02 Thread Jonathan Rajotte-Julien
any error for the session of the trace with the vpid information missing. Note that you cannot add context field for a tracing session if it was started at least once. Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

[lttng-dev] [PATCH lttng-tools v2] Fix: check validity of a stream before invoking ust flush command

2019-08-28 Thread Jonathan Rajotte
eate.c:462 8 0x3fffac530d0c in .__clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:96 Reviewed-by: Mathieu Desnoyers Signed-off-by: Jonathan Rajotte --- src/common/ust-consumer/ust-consumer.c | 9 + 1 file changed, 9 insertions(+) diff --git a/src/common/ust-co

[lttng-dev] [PATCH lttng-tools] Fix: check validity of a stream before invoking ust flush command

2019-08-28 Thread Jonathan Rajotte
c:3192 7 0x3fffac608b30 in start_thread (arg=0x3fffa9b7bdb0) at pthread_create.c:462 8 0x3fffac530d0c in .__clone () at ../sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S:96 Signed-off-by: Jonathan Rajotte --- src/common/ust-consumer/ust-consumer.c | 9 + 1 file changed, 9 insertion

Re: [lttng-dev] 回复:Re: 回复:Re: 回复:Re: Pros and Cons of LTTng

2019-08-20 Thread Jonathan Rajotte-Julien
RHEL6? Or what are key kernel patches to be necessary? > > > Regards > Hai > > > > > > > > --原始邮件-- > 发件人:"Mathieu Desnoyers "; > 发送时间:2019年7月30日(星期二) 晚上10:04 > 收件人:"杨海" ; > 抄送:"Jonatha

[lttng-dev] [PATCH lttng-tools v2 4/4] Support LTTNG_KERNEL_SESSION_SET_CREATION_DATETIME of lttng-modules

2019-08-13 Thread Jonathan Rajotte
Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/kernel.c | 6 ++ src/common/kernel-ctl/kernel-ctl.c | 15 +++ src/common/kernel-ctl/kernel-ctl.h | 1 + src/common/kernel-ctl/kernel-ioctl.h | 2 ++ src/common/lttng-kernel.h| 8 5 files

[lttng-dev] [PATCH lttng-tools v2 3/4] Support LTTNG_KERNEL_SESSION_SET_NAME of lttng-modules

2019-08-13 Thread Jonathan Rajotte
Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/kernel.c | 14 ++ src/common/kernel-ctl/kernel-ctl.c | 10 ++ src/common/kernel-ctl/kernel-ctl.h | 1 + src/common/kernel-ctl/kernel-ioctl.h | 2 ++ src/common/lttng-kernel.h| 8 5

[lttng-dev] [PATCH lttng-tools v2 1/4] Save registration time for app

2019-08-13 Thread Jonathan Rajotte
Reuse the registration time for path generation. Signed-off-by: Jonathan Rajotte --- src/bin/lttng-sessiond/ust-app.c | 7 +++ src/bin/lttng-sessiond/ust-app.h | 5 + 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/bin/lttng-sessiond/ust-app.c b/src/bin/lttng-sessiond

[lttng-dev] [PATCH lttng-tools v2 2/4] Metadata: add env fields to ease lttng path hierarchy creation for viewer

2019-08-13 Thread Jonathan Rajotte
<- domain └── pid <- tracer_buffering_scheme └── sample-ust-7640-20190722-174818 <- procname, tracer_buffering_id, vpid_datetime ├── my-channel_0 ├── index │ ├── my-channel_0.idx ├── metadata Signed-off-by: Jonathan Rajotte --- sr

[lttng-dev] [PATCH lttng-tools 2/3] Support LTTNG_KERNEL_SESSION_SET_NAME of lttng-modules

2019-08-13 Thread Jonathan Rajotte
Signed-off-by: Jonathan Rajotte --- This should also be backported to 2.11 allowing Babeltrace 2 to merge traces from archived data (rotation) and output a trace with a similar lttng tree hierarchy. See [1] for the series to be applied to lttng-modules. [1] https://lists.lttng.org/pipermail

[lttng-dev] [PATCH lttng-tools 3/3] Support LTTNG_KERNEL_SESSION_SET_CREATION_DATETIME of lttng-modules

2019-08-13 Thread Jonathan Rajotte
Signed-off-by: Jonathan Rajotte --- This should also be backported to 2.11 allowing Babeltrace 2 to merge traces from archived data (rotation) and output a trace with a similar lttng tree hierarchy. See [1] for the series to be applied to lttng-modules. [1] https://lists.lttng.org/pipermail

[lttng-dev] [PATCH lttng-tools 1/3] Metadata: add env fields to ease lttng path hierarchy creation for viewer

2019-08-13 Thread Jonathan Rajotte
<- domain └── pid <- tracer_buffering_scheme └── sample-ust-7640-20190722-174818 <- procname, tracer_buffering_id, vpid_datetime ├── my-channel_0 ├── index │ ├── my-channel_0.idx ├── metadata Signed-off-by: Jonathan Rajotte ---

[lttng-dev] [PATCH lttng-modules 3/3] Introduce LTTNG_KERNEL_SESSION_SET_CREATION_TIME

2019-08-13 Thread Jonathan Rajotte
controller. Signed-off-by: Jonathan Rajotte --- This should also be backported to 2.11 allowing Babeltrace 2 to merge traces from archived data (rotation) and output a trace with similar lttng tree hierarchy. --- lttng-abi.c| 27 +++ lttng-abi.h| 7 +++ lttng

  1   2   3   4   5   6   7   >