Re: [lttng-dev] [RFC] Dynamic instrumentation support in UST

2013-07-29 Thread Zifei Tong
On Sat, Jul 27, 2013 at 1:40 AM, Simon Marchi simon.mar...@polymtl.ca wrote: Hi Zifei, That looks great! Questions and comments below. On 26 July 2013 11:40, Zifei Tong soar...@gmail.com wrote: Thanks. What is the difference if I do --function foo vs --probe foo ? Good point,

[lttng-dev] lttng Crash seen after stopping the traces.

2013-07-29 Thread Jonnavithula Sharma
Hi We are currently running lttng on our CPE with 64 MB RAM.We are observing a crash after stopping the traces and even if we leave our CPE for few min after starting the trace we are observing this crash.Please find the attachment for the crash log. Let us know if any one has faced this issue

Re: [lttng-dev] [RFC] Dynamic instrumentation support in UST

2013-07-29 Thread Thibault, Daniel
-- Date: Fri, 26 Jul 2013 23:40:33 +0800 From: Zifei Tong soar...@gmail.com Command Line Interface -- To enable a dynamic probe in a running process at given address, you can use: lttng enable-event

Re: [lttng-dev] [RFC] Dynamic instrumentation support in UST

2013-07-29 Thread Jérémie Galarneau
On Mon, Jul 29, 2013 at 9:49 AM, Thibault, Daniel daniel.thiba...@drdc-rddc.gc.ca wrote: -- Date: Fri, 26 Jul 2013 23:40:33 +0800 From: Zifei Tong soar...@gmail.com Command Line Interface -- To enable a

Re: [lttng-dev] [RFC] Dynamic instrumentation support in UST

2013-07-29 Thread Thibault, Daniel
-Message d'origine- Envoyé : 29 juillet 2013 10:20 On Mon, Jul 29, 2013 at 9:49 AM, Thibault, Daniel daniel.thiba...@drdc-rddc.gc.ca wrote: -- Unless I'm mistaken, currently lttng's 'enable-event -u ...' works

Re: [lttng-dev] lttng Crash seen after stopping the traces.

2013-07-29 Thread Jérémie Galarneau
Hi, Can you try to reproduce the problem with the latest version of lttng-modules (v2.2.1)? There were some bug fixes to the ring buffer that may correct your problem. Thanks for reporting, Jérémie On Mon, Jul 29, 2013 at 9:45 AM, Jonnavithula Sharma sarmaj...@gmail.com wrote: Hi We are

Re: [lttng-dev] Getting SIGBUS in babeltrace - occasionally

2013-07-29 Thread Julien Desfossez
Hi, We are working on generating the index file during tracing, so Babeltrace does not need to create it when it opens the trace. It will be ready in the next weeks in my branches and fixed/merged when Mathieu and David come back from vacation. If you want Babeltrace to write the index on disk

[lttng-dev] [PATCH lttng-tools 3/5] bash completion: Remove deprecated consumer commands

2013-07-29 Thread simon . marchi
From: Simon Marchi simon.mar...@polymtl.ca enable/disable consumer were removed a while ago. Remove autocomplete for them to discourage people of using them. Reported-by: Daniel U. Thibault daniel.thiba...@drdc-rddc.gc.ca Signed-off-by: Simon Marchi simon.mar...@polymtl.ca ---

[lttng-dev] [PATCH lttng-tools] Fix: Dead code when checking return value from (ust_app|kernel)_snapshot_record

2013-07-29 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- src/bin/lttng-sessiond/cmd.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bin/lttng-sessiond/cmd.c b/src/bin/lttng-sessiond/cmd.c index 84594ad..e9fa3b4 100644 --- a/src/bin/lttng-sessiond/cmd.c

Re: [lttng-dev] [PATCH lttng-ust] Add trace support for calloc and realloc.

2013-07-29 Thread Jérémie Galarneau
Hi Stefan, I'm inlining your patch to make the review easier, see the following remarks. From 78696689a46c13cdd2625c59348cbb1c03a32b0e Mon Sep 17 00:00:00 2001 From: Stefan Seefeld stefan_seef...@mentor.com Date: Sat, 27 Jul 2013 01:10:23 -0400 Subject: [PATCH] Add trace support for calloc

Re: [lttng-dev] lttng Crash seen after stopping the traces.

2013-07-29 Thread Jonnavithula Sharma
Hi Jeremie, We tried with the latest version(2.2.1) of lttng-modules. We are able to reproduce the same crash with the same steps. Am i missing anything here? Regards, Sarma J On Mon, Jul 29, 2013 at 9:05 PM, Jérémie Galarneau jeremie.galarn...@efficios.com wrote: Hi, Can you try to