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

2019-05-17 Thread Jonathan Rajotte-Julien
solution(7).) EACCES The file or a script interpreter is not a regular file. EACCES Execute permission is denied for the file or a script or ELF interpreter. EACCES The filesystem is mounted noexec. One of them probably fit your current scenario. Let us know how it goes. Cheers -- Jona

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

2019-05-21 Thread Jonathan Rajotte-Julien
ers -- 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 trace" Read trace under windows

2019-05-27 Thread Jonathan Rajotte-Julien
.1 It represent a metadata stream. 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] Need help in converting trace data into CTF

2019-06-04 Thread Jonathan Rajotte-Julien
; > > -- > *Ravindra Kumar Meena*, > B. Tech. Computer Science and Engineering, > Indian Institute of Technology (Indian School of Mines) > <https://www.iitism.ac.in/>, Dhanbad > ___ > 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 converting trace data into CTF

2019-06-04 Thread Jonathan Rajotte-Julien
> See this dmesg source plugin for a base example of a source plugin [1]. This > is > valid for babeltrace 2.0 only (AKA the current master branch of babeltrace) > > For a more complete example of a source plugin, you can take a look at the > one for > ctf [2]. Once a source plugin is done you

Re: [lttng-dev] Kernel trace on Linux distro called YOCTO

2019-06-07 Thread Jonathan Rajotte-Julien
; > No matter what I try, I can't seem to get any kernel events thorough to LTTng. > > Using v2.8.8. > > Any ideas? > > Thanks in advance. > > Best Regards, > alin stanciu > Assistant Software Team Manager -- Jonathan Rajotte-Julien EfficiOS __

Re: [lttng-dev] [OE-core] [PATCH v2] lttng-modules: Backport patches to fix compilation failures since kernel v5.1

2019-06-12 Thread Jonathan Rajotte-Julien
7 v5.0.21 v5.1.9 v5.2-rc4 [4] https://ci.lttng.org/view/LTTng-modules/ -- 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] [OE-core] [PATCH v2] lttng-modules: Backport patches to fix compilation failures since kernel v5.1

2019-06-12 Thread Jonathan Rajotte-Julien
On Wed, Jun 12, 2019 at 10:52:36AM -0400, Jonathan Rajotte-Julien wrote: > Hi, > > > > Please don't base distributions on -rc tags. They are not meant for this. > > > > > > We always integrate support for newer kernel versions instrumentation back > > &

Re: [lttng-dev] (no subject)

2019-06-13 Thread Jonathan Rajotte-Julien
tf and need a reader/writer lib? Please provide context so that we can help you achieve your goal. 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] Need help in converting trace data into CTF

2019-06-17 Thread Jonathan Rajotte-Julien
ps://github.com/efficios/barectf/blob/a3ebf5855c025a86ebc2d62cbda1338461e84c5a/barectf/tsdl182gen.py [2] https://github.com/lttng/lttng-tools/blob/c8e0c5f5d94fb574f4e5d7518f0f8e6f984dfe3d/src/bin/lttng-sessiond/ust-metadata.c -- Jonathan Rajotte-Julien EfficiOS __

Re: [lttng-dev] Need help in converting trace data into CTF

2019-06-17 Thread Jonathan Rajotte-Julien
=7ed01cdc2f4dcdf64f88541884d26b8787df4760#l122 Cheers On Mon, Jun 17, 2019 at 12:51:54PM -0400, Jonathan Rajotte-Julien wrote: > Hi, > > > I am trying to write a metadata file. I am following > > https://diamon.org/ctf/. > > I found one metadata file on GitHub repository > &g

Re: [lttng-dev] Need help in converting trace data into CTF

2019-06-18 Thread Jonathan Rajotte-Julien
y are. As you said one is packetized and the other simply text. > Will both work the same way? It will work the same as long as you use a reader that does not care. AFAIK, Babeltrace is one of those readers. -- Jonathan Rajotte-Julien EfficiOS ___ lttn

Re: [lttng-dev] Need help in converting trace data into CTF

2019-06-19 Thread Jonathan Rajotte-Julien
an have hidden file (".abcd") at the same depth, they will not be considered. > > What should be the file format to store the event stream? I will use > fwrite() to store the events. The CTF format. Cheers -- Jonathan Rajotte-Julien EfficiOS _

Re: [lttng-dev] Log semaphore, mutex in CTF

2019-07-02 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

Re: [lttng-dev] events injection / merging traces

2019-07-04 Thread Jonathan Rajotte-Julien
n what you mean by a single CTF trace. This leads to, as always, whats is the end goal here? 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] events injection / merging traces

2019-07-04 Thread Jonathan Rajotte-Julien
e.org/tracecompass/doc/stable/org.eclipse.tracecompass.doc.user/Time-offsetting.html#Time_offsetting -- 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] [RFC 0/4] userspace-rcu: Add lock-free, ordered singly linked list rculflist

2019-07-10 Thread Jonathan Rajotte-Julien
rcu.c > create mode 100644 doc/examples/rculflist/cds_lflist_find_rcu.c > create mode 100644 doc/examples/rculflist/cds_lflist_insert_rcu.c > create mode 100644 include/urcu/rculflist.h > > -- > 2.7.4 > > ___ > lttng-dev ma

Re: [lttng-dev] HugePages shared memory support in LLTng

2019-07-15 Thread Jonathan Rajotte-Julien
from you. > > Best, > Yiteng > ___________ > 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] Pros and Cons of LTTng

2019-07-16 Thread Jonathan Rajotte-Julien
one knows? I do not remember any conversation on this topic. After reading a bit on auditd, lttng might be a good replacement depending on your constraints and needs. [1] https://lttng.org/docs/v2.10/ Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lt

Re: [lttng-dev] Function tracer question

2019-07-16 Thread Jonathan Rajotte-Julien
f91d5897924b551b44d1edd8cee00e2/instrumentation/syscalls > > I guess I could code my own ftrace hook function, put a custom tracepoint in > the code, and then use the macros to push into lttng ring buffers. Maybe? That would be the eq

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

2019-07-16 Thread Jonathan Rajotte-Julien
and instrument libc function you are interested in. For example, we already ship a shim for some libc functions [1] that you can LD_PRELOAD. [1] https://github.com/lttng/lttng-ust/tree/9d4d2a639afc19a1bd705ea560782917ac892596/liblttng-ust-libc-wrapper Hope this helps. Cheers -- Jonathan

Re: [lttng-dev] PID namespace support

2019-07-17 Thread Jonathan Rajotte-Julien
d can be > supplied together with PID in SYSCALL events? > > > Regards > Hai > ___ > lttng-dev mailing list > lttng-dev@lists.lttng.org > https://lists.lttng.org/cgi-bin/mailman/listinfo/l

Re: [lttng-dev] PID namespace support

2019-07-18 Thread Jonathan Rajotte-Julien
> That's awesome. Hopefully lttng 2.12 will be released soon, in this year? That would be the plan. We are working hard toward that. Cheers. -- Jonathan Rajotte-Julien EfficiOS ___ lttng-dev mailing list lttng-dev@lists.lttng.o

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

2019-07-19 Thread Jonathan Rajotte-Julien
needs. Cheers [1] https://www.eclipse.org/tracecompass/ [2] https://archive.eclipse.org/tracecompass/doc/stable/org.eclipse.tracecompass.doc.user/LTTng-Kernel-Analysis.html#LTTng_Kernel_Analysis [3] https://github.com/lttng/lttng-analyses [4] https://www.kernel.org/doc/Documentation/trace/ [5] https

Re: [lttng-dev] HugePages shared memory support in LLTng

2019-07-22 Thread Jonathan Rajotte-Julien
Hi Yiteng, On Mon, Jul 22, 2019 at 02:44:09PM -0400, Yiteng Guo wrote: > Hi Jonathan, > > I spent these days on this problem and finally figured it out. Here > are patches I've written. Sorry for that, I had other stuff ongoing. I had a brief discussion about this with Mathieu Desnoyers. Mathi

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

2019-07-22 Thread Jonathan Rajotte-Julien
Hi, > As to LD_PRELOAD, it is also used for privilege escalation. Will it be > regarded as vulnerability and forbidden on some Linux systems? It could yes. In that case you will be limited to the syscalls interface for the libc observability unless you instrument it and distribute it. Cheers. _

Re: [lttng-dev] HugePages shared memory support in LLTng

2019-07-23 Thread Jonathan Rajotte-Julien
hi Yiteng, On Mon, Jul 22, 2019 at 03:23:08PM -0400, Jonathan Rajotte-Julien wrote: > Hi Yiteng, > > On Mon, Jul 22, 2019 at 02:44:09PM -0400, Yiteng Guo wrote: > > Hi Jonathan, > > > > I spent these days on this problem and finally figured it out. Here > > are

Re: [lttng-dev] HugePages shared memory support in LLTng

2019-07-23 Thread Jonathan Rajotte-Julien
you understand the pitfalls of each mode. 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] HugePages shared memory support in LLTng

2019-07-24 Thread Jonathan Rajotte-Julien
stence needed for this. It might also lead to broader discussion. > The current prefault solution works well for me and I will use that > for now. In my opinion, using hugepages could further reduce the TLB > misses, but that involved more changes in source codes than the > prefault so

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

2019-07-25 Thread Jonathan Rajotte-Julien
e to make sure it is the case. [5] https://ci.lttng.org/view/LTTng-ust/ [6] https://ci.lttng.org/view/LTTng-tools/ [7] https://ci.lttng.org/view/LTTng-modules/ [8] https://ci.lttng.org/view/System%20Tests/ Cheers -- Jonathan Rajotte-Julien EfficiOS __

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

2019-07-25 Thread Jonathan Rajotte-Julien
Hi Hai, On Thu, Jul 25, 2019 at 11:45:14AM -0400, Jonathan Rajotte-Julien wrote: > Hi Yiteng, I missed up name here. Sorry for that. I will teach me to have multiple email client side by side. Cheers -- Jonathan Rajotte-Julien EfficiOS ___ lttng-

Re: [lttng-dev] HugePages shared memory support in LLTng

2019-07-29 Thread Jonathan Rajotte-Julien
rent commit for each projects you are basing this work on. As I said before, this is more a way of archiving the work you have done then actively working on making lttng support hugepages. [1] https://git-send-email.io Cheers -- Jonathan Rajotte-Julien EfficiOS _

Re: [lttng-dev] gcc plugin for instrumenting individual functions

2019-07-29 Thread Jonathan Rajotte-Julien
t; ___ > 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] Function tracer question

2019-07-31 Thread Jonathan Rajotte-Julien
enting-linux-kernel 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] Export status for lttng-tools (2.6.0)

2019-08-02 Thread Jonathan Rajotte-Julien
Thanks for your time. > Best regards. > THALES Group > ___ > 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] Export status for lttng-modules (2.6.0)

2019-08-02 Thread Jonathan Rajotte-Julien
Thanks for your time. > Best regards. > THALES Group > ___ > 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] Export status for lttng-libust (2.6.2)

2019-08-02 Thread Jonathan Rajotte-Julien
Thanks for your time. > Best regards. > THALES Group > ___ > 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] 回复:Re: 回复:Re: 回复:Re: Pros and Cons of LTTng

2019-08-20 Thread Jonathan Rajotte-Julien
n of > customer's feature requests. We also provide commercial support tailored to > specific > customer's environments, which includes SLA and continuous integration > testing of specific > environments. > > > If those are services you are interested in, please fee

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

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

2019-09-03 Thread Jonathan Rajotte-Julien
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] 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&D Platform Software > > > ___ > lttng-de

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

2019-09-16 Thread Jonathan Rajotte-Julien
KeKriek - 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] 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] [PATCH lttng-tools] Fix: Free new_chunk on error

2019-09-20 Thread Jonathan Rajotte-Julien
gt; existing reference to `new_chunk` and perform the equivalent > operations to what you proposed here. Okai, I saw a similar pattern somewhere in the file. Might want to check if the same can be applied there. > > Thanks! > Jérémie > > > return NULL; > &g

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] 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 > ___

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] [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. S

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

2019-09-24 Thread Jonathan Rajotte-Julien
3,8 +513,9 @@ int event_agent_enable(struct ltt_ust_session *usess, > created = 1; > } > > - if (created && filter) { > - ret = add_filter_app_ctx(filter, filter_expression, agt); > + if (created && aevent->filter) { > +

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

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

2019-09-24 Thread Jonathan Rajotte-Julien
ide 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 http

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

[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] [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

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] 回复: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 ne

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] 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

Re: [lttng-dev] Measure loop rate

2020-01-23 Thread Jonathan Rajotte-Julien
ach 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 ma

[lttng-dev] [lttng-tool] Fix: wrong casting of return value

2014-06-09 Thread Jonathan Rajotte Julien
The function uri_parse_str_urls return a ssize_t and the return was casted to a size_t. This caused the following error checking to fail as -1 was interpreted as 18446744073709551615. Fixes #803 Signed-off-by: Jonathan Rajotte Julien --- src/lib/lttng-ctl/save.c | 3 ++- 1 file changed, 2

[lttng-dev] [PATCH lttng-tool] Fix: missing context type string in save for ust context

2014-06-09 Thread Jonathan Rajotte Julien
Return string for LTTNG_UST_CONTEXT_PERF_THREAD_COUNTER was missing and caused an error on save when a context of PERF_THREAD_COUNTER type was present (Error: Invalid parameter). Fixes #804 Signed-off-by: Jonathan Rajotte Julien --- src/bin/lttng-sessiond/save.c | 4 src/common

[lttng-dev] [PATCH lttng-tool] Fix: wrong behavior of save command when no session name is provided

2014-06-17 Thread Jonathan Rajotte Julien
No session name and no option --all should default to --all. Signed-off-by: Jonathan Rajotte Julien --- src/bin/lttng/commands/save.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/bin/lttng/commands/save.c b/src/bin/lttng/commands/save.c index e8a4565..9be7103

Re: [lttng-dev] How to check is tracepoint is currently enabled (UST)

2014-06-25 Thread Jonathan Rajotte-Julien
You can also list all ust events available for tracing via the command "lttng list -u". Make sure that the application you want to trace is running. On 06/25/2014 10:40 AM, Thibault, Daniel wrote: > -- > Date: Sun, 22 Jun 2014

Re: [lttng-dev] LTTng 2.5 save/load feature feedback

2014-07-02 Thread Jonathan Rajotte-Julien
Hi Jérémie,David While working on tests for the machine interface I had some fun debugging that I had more sessions destroyed then intended. It took me a good 15 mins to have an eureka moment and remember this thread. It might be a good idea to add an argument to lttng-sessiond to prevent the

Re: [lttng-dev] [RFC] lttng-modules system call tracing filtering

2014-07-21 Thread Jonathan Rajotte-Julien
On 07/20/2014 12:00 PM, Mathieu Desnoyers wrote: > - Original Message - >> From: "Julien Desfossez" >> To: "Mathieu Desnoyers" , "lttng-dev" >> >> Cc: "David Goulet (dgou...@efficios.com)" >> Sent: Sunday, July 20, 2014 11:54:53 AM >> Subject: Re: [RFC] lttng-modules system call traci

[lttng-dev] [PATCH lttng-tool] Fix: print version number even if on a development git branch

2014-07-23 Thread Jonathan Rajotte Julien
The use of GIT_VERSION as a full replacement for FULL_NAME and discarding the VERSION macro does not indicate which version is lttng at. This able lttng to be more verbose about the overall version even if we are on a different git branch than master. Signed-off-by: Jonathan Rajotte Julien

Re: [lttng-dev] Problem with perf:thread in 2.5.0

2014-07-24 Thread Jonathan Rajotte-Julien
Hi! > Hi! > > I use lttng-2.5.0 (tools, modules, …) and linux-3.8.13. When I try to add > context for performance counters I get the following error: > >> lttng add-context -u -t perf:cpu:cpu-cycles > Error: perf:cpu:cpu-cycles: UST invalid context > Warning: Some command(s) went wrong Well i

Re: [lttng-dev] Problem with perf:thread in 2.5.0

2014-07-24 Thread Jonathan Rajotte-Julien
to work, but nothing changed since then. > Though didn't check if we still get zeroes on another machine. > > > On Thu, Jul 24, 2014 at 7:01 PM, Jonathan Rajotte-Julien > <mailto:jonathan.rajotte-jul...@ericsson.com>> wrote: > > Hi! > > > Hi! &

Re: [lttng-dev] Problem with perf:thread in 2.5.0

2014-07-24 Thread Jonathan Rajotte-Julien
On 07/24/2014 04:46 PM, Jonathan Rajotte-Julien wrote: > > Hey Evgeniy, > > >> Jonathan, sorry, I've copied wrong output, original command was with >> perf:thread:cpu-cycles: >> >>> lttng add-context -u -t vpid -t perf:thread:cpu-cycles -t >&

[lttng-dev] [PATCH lttng-tool] Always print GIT_VERSION even if empty

2014-07-28 Thread Jonathan Rajotte Julien
Adjustment from last proposed patch. Less crowded and more standard. This should not break any packaging. feedback? Signed-off-by: Jonathan Rajotte Julien --- include/Makefile.am | 14 +- include/version.h.tmpl | 9 + src/bin/lttng/commands/version.c

[lttng-dev] [PATCH lttng-tool] Fix: mi: logically dead code, missing ret assignment

2014-07-28 Thread Jonathan Rajotte Julien
Signed-off-by: Jonathan Rajotte Julien --- src/bin/lttng/commands/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 210c2f4..956b62e 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng

[lttng-dev] [PATCH lttng-tool] Fix: mi: Make sure GIT_VERSION symbol always exist

2014-07-28 Thread Jonathan Rajotte Julien
The use of GIT_VERSION symbol in mi to express the position in git tree force the need to have it defined for each type of build. This make sure that a build from source file only (git scm not present) is possible. Signed-off-by: Jonathan Rajotte Julien --- include/Makefile.am| 15

Re: [lttng-dev] Problem with perf:thread in 2.5.0

2014-07-29 Thread Jonathan Rajotte-Julien
s. Old > one is from July 7, which is surprising, since I often do "destroy -a". After > killing everything seems to work. Btw, it's Oracle linux 6.5 with linux 3.8. > > I'll check that zeros after weekend: I don't have own access to that > machine.

[lttng-dev] [PATCH lttng-tool] mi: add machine interface description to man page

2014-07-29 Thread Jonathan Rajotte Julien
Signed-off-by: Jonathan Rajotte Julien --- doc/man/lttng.1 | 20 1 file changed, 20 insertions(+) diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 12ca33d..de13b76 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -77,6 +77,26 @@ Simple listing of lttng options

[lttng-dev] [PATCH lttng-tool] Fix: mi: missing files on make dist

2014-07-29 Thread Jonathan Rajotte Julien
Signed-off-by: Jonathan Rajotte Julien --- src/common/Makefile.am| 1 + tests/regression/tools/mi/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/Makefile.am b/src/common/Makefile.am index 4b623c8..7011d97 100644 --- a/src/common

Re: [lttng-dev] [PATCH lttng-tool] Fix: mi: Make sure GIT_VERSION symbol always exist

2014-08-01 Thread Jonathan Rajotte-Julien
Not needed anymore. Thx for the major change ! On 07/31/2014 05:17 PM, Mathieu Desnoyers wrote: > Just to make sure: I guess this patch is not needed > after the changes I did ? > > - Original Message - >> From: "Jonathan Rajotte Julien" >> To: lttng-d

[lttng-dev] [PATCH lttng-tool] Mi & save/load: add option to indent or not on config writer creation

2014-08-06 Thread Jonathan Rajotte Julien
The presence of tabulation and newline in mi is irrelevant and can impact client performance. The parsing & processing of a lot of data from mi with many /t and /n impact performance. This aim to fix the problem at the source. Style is useless for machine. Signed-off-by: Jonathan Rajotte Ju

Re: [lttng-dev] [PATCH lttng-tool] Mi & save/load: add option to indent or not on config writer creation

2014-08-06 Thread Jonathan Rajotte-Julien
version of MI output they can use lttng | xmllint --format - Cheers, Jonathan On 08/06/2014 10:49 AM, Simon Marchi wrote: > On 6 August 2014 10:13, Jonathan Rajotte Julien > wrote: >> The presence of tabulation and newline in mi is irrelevant and >> can impact client perfor

[lttng-dev] [PATCH lttng-tool] Fix: list command: revert merge error made when adding mi on pretty printing

2014-08-12 Thread Jonathan Rajotte Julien
Signed-off-by: Jonathan Rajotte Julien --- src/bin/lttng/commands/list.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index e3ff4f1..ccffdc7 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng

[lttng-dev] [PATCH lttng-tool] fix: mi: xsd: wrong comment for context_type_type

2014-08-13 Thread Jonathan Rajotte Julien
Signed-off-by: Jonathan Rajotte Julien --- src/common/mi_lttng.xsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/mi_lttng.xsd b/src/common/mi_lttng.xsd index f63065c..d2cc5d4 100644 --- a/src/common/mi_lttng.xsd +++ b/src/common/mi_lttng.xsd @@ -83,7 +83,7 @@ THE

[lttng-dev] [PATCH lttng-tool] Fix: list without a name is not an error

2014-08-22 Thread Jonathan Rajotte Julien
Signed-off-by: Jonathan Rajotte Julien --- src/bin/lttng/commands/list.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index ccffdc7..bd96f88 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c

Re: [lttng-dev] PERF PARAMETERS

2014-08-27 Thread Jonathan Rajotte-Julien
Hi Jessica, When you say " lttng fails to activate" is it on the lttng add-context command or after looking at the trace ? Can you give us the output from "lttng version"? If possible can you send the complete sequence of action? Thanks On 08/26/2014 11:21 PM, Jessica Foest wrote: > Hi > >

[lttng-dev] [PATCH lttng-tool] mi: Fix event attributes printing under attributes element

2014-08-27 Thread Jonathan Rajotte Julien
The event attributes (symbol name, address, and offset) where not printed under the good element. Furthermore the xsd semantic was invalid on attributes validation Signed-off-by: Jonathan Rajotte Julien --- src/common/mi-lttng.c | 23 ++- src/common/mi_lttng.xsd | 23

[lttng-dev] [PATCH lttng-tool] Fix: parse_prob_opts return the actual success of the function

2014-08-27 Thread Jonathan Rajotte Julien
and not the success of the operation. Fixes #830 Signed-off-by: Jonathan Rajotte Julien --- src/bin/lttng/commands/enable_events.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/src/bin/lttng/commands/enable_events.c b/src/bin/lttng/commands

[lttng-dev] [PATCH v2] mi: Fix event attributes printing under attributes element

2014-08-27 Thread Jonathan Rajotte Julien
The event attributes (symbol name, address, and offset) where not printed under the good element. Furthermore the xsd semantic was invalid on attributes validation Signed-off-by: Jonathan Rajotte Julien --- src/common/mi-lttng.c | 23 ++- src/common/mi_lttng.xsd | 23

[lttng-dev] [PATCH v2] mi: Fix event attributes printing under attributes element

2014-08-27 Thread Jonathan Rajotte Julien
The event attributes (symbol name, address, and offset) where not printed under the good element. Furthermore the xsd semantic was invalid on attributes validation Signed-off-by: Jonathan Rajotte Julien --- src/common/mi-lttng.c | 23 ++- src/common/mi_lttng.xsd | 25

[lttng-dev] [PATCH lttng-tool] Fix: mi print of probe attributes + validation

2014-08-28 Thread Jonathan Rajotte Julien
Signed-off-by: Jonathan Rajotte Julien --- src/common/mi-lttng.c | 37 - src/common/mi_lttng.xsd | 6 +++--- 2 files changed, 39 insertions(+), 4 deletions(-) diff --git a/src/common/mi-lttng.c b/src/common/mi-lttng.c index 83df149..a250546 100644 --- a

[lttng-dev] [lttng-tools 2.5] [Backport]Missing include for out of tree build

2015-01-29 Thread Jonathan Rajotte Julien
Hey, While making sure we support out of tree build for lttng-tools master/stable-2.6/stable-2.5 I found that 2.5 was failing at oot build. After some digging, it looks like a patch submitted to fix this problem was not backported to 2.5. The commit in question currently in master and 2.6 b

Re: [lttng-dev] [PATCH lttng-tool] Fix: out-of-tree build: missing xsd file for mi tests and save-load tests

2015-01-29 Thread Jonathan Rajotte Julien
This patch need to be split to backport the save-load fix part up to 2.5. Patch set incoming shortly Cheers! On 15-01-28 05:08 PM, Jonathan Rajotte wrote: On Wed, Jan 28, 2015 at 4:57 PM, Jérémie Galarneau > wrote: On Wed, Jan 28, 2015 at 4:45 P

Re: [lttng-dev] Google Summer of Code 2015

2015-02-10 Thread Jonathan Rajotte Julien
Hey Matthew, This would be very nice indeed. But it might probably be done sooner than you think ;). We are currently revamping our CI and we will certainly need a way to easily deploy&test on multiple distro/kernel (regression and stress test). This work will be a good start and I'll make su

Re: [lttng-dev] [PATCH babeltrace] Fix: test: add automake variable for test trace folders copy on oot build

2015-02-20 Thread Jonathan Rajotte Julien
Oups wrong patch On 15-02-20 10:55 AM, Jonathan Rajotte wrote: Reported-by: Simon Marchi Signed-off-by: Jonathan Rajotte --- tests/Makefile.am | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 2e307f4..03d8b12 10064

Re: [lttng-dev] GSOC 2015: Student Introduction

2015-02-25 Thread Jonathan Rajotte Julien
Hi Hitesh, Welcome to the lttng community. Glad to see you have interest in instrumenting userspace application specially PostgreSQL. Could you brief us a little more about what work you do or plan to on PostgreSQL for your post grad project ? I encourage you to come talk to us and stay arou

Re: [lttng-dev] babeltrace lttng-live format option

2015-03-02 Thread Jonathan Rajotte Julien
Hey Anand, I just checkout tag v1.2.4 from git and lttng-live format is present and supported. Are you sure that you are using 1.2.4? You can check this simply by running babeltrace without argument. Cheers! On 15-03-02 02:51 PM, Anand Neeli wrote: Hi All, I'm using BabelTrace Trace Viewer

Re: [lttng-dev] Inappropriate ioctl for device error

2015-03-16 Thread Jonathan Rajotte Julien
Hey Neil, On 2015-03-16 07:22 AM, Neil Bryan wrote: What distribution are you on? The kernel-version is: Linux socfpga_cyclone5 3.10.31-ltsi-05082-g018fe6c #1 SMP Fri Mar 13 16:38:52 GMT 2015 armv7l GNU/Linux We noticed that you had multiple lttng-modules recipes, could you do a modinfo on

Re: [lttng-dev] Can't get any event output from the demo exe

2015-03-16 Thread Jonathan Rajotte Julien
Hi Wolfgang, See inline edit. On 2015-03-16 02:50 PM, Wolfgang Rostek wrote: Hi group, I'm a bit frustrated not passing the hello world level. But I'm eager to get access to this nice tooling. We'll make sure this happen :). For now I'm assuming problems in access rights or may be a 32/64bit

Re: [lttng-dev] How to compile lttng-modules using full kernel source tree.

2015-03-20 Thread Jonathan Rajotte Julien
Hey, See comments below. On 2015-03-20 09:34 AM, Rui Han wrote: Hi, I have encountered following output when I try to run make from the lttng-modules source cloned from git repo. I have tried in a clean install of both 12.04 and 14.04. |make -C /lib/modules/3.13.0-45-generic/build M=/home

Re: [lttng-dev] sessiond launch fails with "Error: XSD parsing failed"

2015-03-24 Thread Jonathan Rajotte Julien
Hey, On 2015-03-24 07:44 AM, Anand Neeli wrote: Hi All, lttng sessiond launch is failing with following error. can any please tell what could cause this? Well yes simply because you have some clear error messages here. root@user:/usr/sbin# lttng-sessiond --consumerd32-path /usr/lib/lttng/li

Re: [lttng-dev] Compilation error in lttng-tools (version.c)

2015-06-29 Thread Jonathan Rajotte Julien
Hey Daniel, As you suggested it look like it's not generated on ./configure when it should. The problem come from the AC_INIT macro interpretation from Autoconf. The AC_INIT macro we currently use was introduced in autoconf 2.64. Look like you are running Autoconf 2.63. AC_INIT 2.63: *AC_INIT

Re: [lttng-dev] Compilation error in lttng-tools (version.c)

2015-06-30 Thread Jonathan Rajotte Julien
m: Jonathan Rajotte Julien [mailto:jonathan.rajotte-jul...@efficios.com] Sent: Monday, June 29, 2015 4:33 PM To: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] Compilation error in lttng-tools (version.c) Hey Daniel, As you suggested it look like it's not generated on ./configure when it sho

Re: [lttng-dev] Lttng 2.6 relayd hanged

2015-07-06 Thread Jonathan Rajotte Julien
Hi Kranthi, In addition to what Jérémie asked: On 2015-07-03 05:32 PM, kranthi kumar wrote: Dear Sir/Madam, We are using Lttng 2.6 Are you building from source, git? Could you run "lttng --version" on all systems and paste the result. We are using Lttng for tracing across multiple sys

  1   2   3   4   >