Re: [lttng-dev] What are sys calls starting with compat?

2013-12-11 Thread Thibault, Daniel
Date: Tue, 10 Dec 2013 11:39:40 -0800 What does sys_unknown mean and why does it occur? Does it mean that LTTng cannot find the name of a system call? Yes. It means the ID of the system call is unknown to LTTng (e.g. kernel newer than LTTng system call instrumentation). You can

Re: [lttng-dev] auto generation of .c and .h files for a userspace app

2013-12-11 Thread Thibault, Daniel
Date: Wed, 11 Dec 2013 11:02:57 +0530 Is there a script/program which can be used to auto-generate the required .c and .h files required for lttng-ust. The script/program should parse all the .c files in a directory and generate corresponding .c and .h files. And this should be run before

[lttng-dev] New co-maintainer for Babeltrace

2013-12-11 Thread Mathieu Desnoyers
Hi everyone! I'd like to welcome Jérémie Galarneau as co-maintainer of Babeltrace. I will be gradually hand over maintainership of Babeltrace to him in the coming months. He did an awesome job on the ctf-writer API, python bindings, and other fixes and cleanups in the Babeltrace tree in 2013.

[lttng-dev] efficient use of LTTng in legacy codebase

2013-12-11 Thread Máté Ferenczy
Hello Mathieu, Our team was asked to support LTTng UST solution in a legacy codebase. The existing codebase is fairly large, and the requirement is that we provide all the existing logs and debugs in the system as LTTng traces. The planned solution so far was just to pass everything we have as

Re: [lttng-dev] efficient use of LTTng in legacy codebase

2013-12-11 Thread Máté Ferenczy
I found this email thread: https://www.mail-archive.com/lttng-dev@lists.lttng.org/msg02278.html According to this I could just check caa_unlikely(__tracepoint_##provider##___##name.state). However, Dave claims that this state will stay true even if the tracepoint is disabled. Is there

Re: [lttng-dev] efficient use of LTTng in legacy codebase

2013-12-11 Thread Mathieu Desnoyers
- Original Message - From: Máté Ferenczy mate.feren...@ericsson.com To: mathieu desnoyers mathieu.desnoy...@efficios.com Cc: lttng-dev@lists.lttng.org Sent: Wednesday, December 11, 2013 6:52:22 PM Subject: RE: efficient use of LTTng in legacy codebase I found this email thread:

Re: [lttng-dev] auto generation of .c and .h files for a userspace app

2013-12-11 Thread Anand Neeli
Daniel, yes, this is what i was looking for. Missed to check lttng_gen_tp. Thanks for the info. Anand Neeli On Wed, Dec 11, 2013 at 7:53 PM, Thibault, Daniel daniel.thiba...@drdc-rddc.gc.ca wrote: Date: Wed, 11 Dec 2013 11:02:57 +0530 Is there a script/program which can be used to