[lttng-dev] [LTTNG-TOOLS 2.3 PATCH 1/2] Fix: return code of get_subbuff on metadata stream

2013-08-04 Thread Julien Desfossez
If no metadata is available on the kernel metadata stream when we do a get_subbuff, the kernel returns -EPERM, the consumer was not checking for this return code and closed the stream prematurely. It worked if no new metadata was added during the session. Signed-off-by: Julien Desfossez

[lttng-dev] [LTTNG-TOOLS 2.3 PATCH 2/2] Test: enable kernel events after start

2013-08-04 Thread Julien Desfossez
This test detects if we actually append new metadata when enabling a kernel event after a start. Signed-off-by: Julien Desfossez jdesfos...@efficios.com --- tests/regression/kernel/test_event_basic | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git

Re: [lttng-dev] [LTTNG-TOOLS 2.3 PATCH 1/2] Fix: return code of get_subbuff on metadata stream

2013-08-04 Thread Mathieu Desnoyers
* Julien Desfossez (jdesfos...@efficios.com) wrote: If no metadata is available on the kernel metadata stream when we do a get_subbuff, the kernel returns -EPERM, the consumer was not checking for this return code and closed the stream prematurely. It worked if no new metadata was added during

[lttng-dev] Lttng API

2013-08-02 Thread Stanislav Vovk
Hi, I did not find any snapshot handling in the lttng.h! Only create session in a snapshot mode but nothing about taking a snapshot. Is it something that will be added? Cheers, Stanislav ___ lttng-dev mailing list lttng-dev@lists.lttng.org

Re: [lttng-dev] Lttng API

2013-08-02 Thread Mathieu Desnoyers
* Stanislav Vovk (stanislav.v...@ericsson.com) wrote: Hi, I did not find any snapshot handling in the lttng.h! Only create session in a snapshot mode but nothing about taking a snapshot. Is it something that will be added? Hi Stanislav, Please have a look at include/lttng/snapshot.h for

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

2013-07-30 Thread Jonnavithula Sharma
Sorry.Missed the attachment in previous mail.Enclosed here is the console log for the crash with lttng-modules 2.2.1. Regards, Sarma j On Tue, Jul 30, 2013 at 11:08 AM, Jonnavithula Sharma sarmaj...@gmail.comwrote: Hi Jeremie, We tried with the latest version(2.2.1) of lttng-modules. We

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

2013-07-30 Thread Jérémie Galarneau
Can you open a new issue on the bug tracker? [1] Please make sure you include your kernel version, details about your target's architecture and the logs you posted. Thanks, Jérémie [1] https://bugs.lttng.org/projects/lttng-modules On Tue, Jul 30, 2013 at 5:39 AM, Jonnavithula Sharma

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

[lttng-dev] [LTTng-modules RFC Patch] Add uprobes support (v2)

2013-07-24 Thread Yannick Brosseau
The added support is basic. It create an event with no data associated to the file path + offset specified. update from v1: - Use a wrapper for uprobe - Use a userspace pointer for the path Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- README | 5 +-

Re: [lttng-dev] LTTng snapshot howto

2013-07-23 Thread Brosseau, Yannick
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] LTTng snapshot howto

2013-07-23 Thread Mathieu Desnoyers
* Brosseau, Yannick (yannick.bross...@gmail.com) wrote: A question about the snapshot: is there a way to trigger a new state dump? Not at this point, no. Le 2013-07-21 14:29, Mathieu Desnoyers mathieu.desnoy...@efficios.com a écrit : Hi, I just pushed a LTTng snapshot howto (new

[lttng-dev] LTTng snapshot howto

2013-07-21 Thread Mathieu Desnoyers
Hi, I just pushed a LTTng snapshot howto (new feature of lttng 2.3-rc). I'm posting it to lttng-dev, since it provides a quick insight on how to use the snapshot feature. Comments are welcome! Thanks, Mathieu LTTng Flight Recorder Snapshot HOWTO Mathieu Desnoyers July 21st, 2013 This

Re: [lttng-dev] LTTng snapshot howto

2013-07-21 Thread yin sun
EfficiOS Inc. http://www.efficios.com ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http

Re: [lttng-dev] LTTng snapshot howto

2013-07-21 Thread Mathieu Desnoyers
* yin sun (sunyi...@gmail.com) wrote: Hi Mathieu, Can you explain how the snapshot record works. Is it going to dump the whole buffer even if the same buffer is dumped before. Yes, it is going to dump everything that is still available from the buffer (not overwritten). If you want to grab

[lttng-dev] LTTng on Android: no session daemon available

2013-07-20 Thread Cao Gao
Hi, I’m trying to use LTTng on Android 4.0.4 with Linux kernel version of 3.0.15. I cross-compiled the LTTng modules and tools on my Ubuntu 12.04 machine. First I installed all the LTTng modules using *insmod*, because there is no *modprobe* in Android. It worked fine. However, when I tried to

Re: [lttng-dev] LTTng on Android: no session daemon available

2013-07-20 Thread Mathieu Desnoyers
You'll want to dig into the past month's threads referring to Android on the lttng-dev mailing list. Some work has been done on lttng-tools to support it, but the patches have never been cleaned up following our feedback, so it is not merged yet. Thanks, Mathieu * Cao Gao (cao...@umich.edu)

[lttng-dev] lttng-tools: trace-kernel.c stutters?

2013-07-17 Thread Thibault, Daniel
lttng-tools-2.2.0\src\bin\lttng-sessiond\trace-kernel.c, lines 190-198: case LTTNG_EVENT_FUNCTION: attr-instrumentation = LTTNG_KERNEL_KRETPROBE; attr-u.kretprobe.addr = ev-attr.probe.addr; attr-u.kretprobe.offset = ev-attr.probe.offset;

Re: [lttng-dev] lttng-tools: trace-kernel.c stutters?

2013-07-17 Thread Mathieu Desnoyers
Fixed by: commit 91b23e997053fb552662f1ad07273f029e00d2e4 Author: Mathieu Desnoyers mathieu.desnoy...@efficios.com Date: Wed Jul 17 13:40:15 2013 -0400 Cleanup: remove redundant assignment Signed-off-by: Mathieu Desnoyers mathieu.desnoy...@efficios.com Thanks, Mathieu *

Re: [lttng-dev] [LTTng-tools PATCH] Test for presence of bison and flex when building from git

2013-07-17 Thread Mathieu Desnoyers
* Yannick Brosseau (yannick.bross...@gmail.com) wrote: Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- configure.ac | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b430152..b34e39a 100644 ---

Re: [lttng-dev] [LTTng-tools PATCH] Test for presence of bison and flex when building from git

2013-07-17 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Yannick Brosseau (yannick.bross...@gmail.com) wrote: [...] This test (and the other for filter-lexer.c) is incorrect for VPATH builds. If someone grabs the tarball generated by make dist, extracts it in a source directory, and

Re: [lttng-dev] [LTTng-tools PATCH] Test for presence of bison and flex when building from git

2013-07-17 Thread Yannick Brosseau
On 2013-07-17 14:00, Mathieu Desnoyers wrote: * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Yannick Brosseau (yannick.bross...@gmail.com) wrote: [...] This test (and the other for filter-lexer.c) is incorrect for VPATH builds. If someone grabs the tarball generated by make

Re: [lttng-dev] [LTTng-tools PATCH] Test for presence of bison and flex when building from git

2013-07-17 Thread Mathieu Desnoyers
* Yannick Brosseau (yannick.bross...@gmail.com) wrote: On 2013-07-17 14:00, Mathieu Desnoyers wrote: * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Yannick Brosseau (yannick.bross...@gmail.com) wrote: [...] This test (and the other for filter-lexer.c) is incorrect for VPATH

[lttng-dev] [LTTng-tools PATCH] Test for presence of bison and flex when building from git

2013-07-16 Thread Yannick Brosseau
Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- configure.ac | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b430152..b34e39a 100644 --- a/configure.ac +++ b/configure.ac @@ -287,7 +287,19 @@ LT_INIT

Re: [lttng-dev] [LTTNG-TOOLS PATCH] Fix: close wait_fd on kernel tracing

2013-07-08 Thread Mathieu Desnoyers
* Julien Desfossez (jdesfos...@efficios.com) wrote: The wait_fd in the kernel consumer streams was not closed causing a leak of FDs in the consumer and never triggering the teardown mechanism in the kernel tracer. Just for traceability on the ML: this patch had indeed been merged into master

Re: [lttng-dev] [LTTNG-TOOLS PATCH] Fix: error handling in kernel add_channel

2013-07-08 Thread Mathieu Desnoyers
* Julien Desfossez (jdesfos...@efficios.com) wrote: consumer_add_channel can return an error, it needs to be handled. Also, init_kernel_tracing returns a positive lttng_error_code on error, so the check in start_kernel_session needs to be for ret != 0. This patch was merged into stable-2.2 and

Re: [lttng-dev] [LTTNG-TOOLS PATCH] Fix: increment channel refcount on add_stream

2013-07-08 Thread Mathieu Desnoyers
* Julien Desfossez (jdesfos...@efficios.com) wrote: Signed-off-by: Julien Desfossez jdesfos...@efficios.com This patch was merged into master and stable-2.2 of lttng-tools. --- src/common/consumer.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/consumer.c

Re: [lttng-dev] [LTTng-module patch] Improve documentation of the syscall extractor script

2013-07-08 Thread Mathieu Desnoyers
merged, thanks! * Yannick Brosseau (yannick.bross...@gmail.com) wrote: Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- instrumentation/syscalls/README |2 +- instrumentation/syscalls/lttng-syscalls-generate-headers.sh |4 2 files

Re: [lttng-dev] [LTTng-module PATCH 2/3] Point the x86-64 overrides to newly extracted 3.10-rc7 files

2013-07-08 Thread Mathieu Desnoyers
merged, thanks! * Yannick Brosseau (yannick.bross...@gmail.com) wrote: Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- instrumentation/syscalls/headers/syscalls_integers.h |2 +- instrumentation/syscalls/headers/syscalls_pointers.h |2 +-

[lttng-dev] [LTTng-module patch] Improve documentation of the syscall extractor script

2013-07-05 Thread Yannick Brosseau
Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- instrumentation/syscalls/README |2 +- instrumentation/syscalls/lttng-syscalls-generate-headers.sh |4 2 files changed, 5 insertions(+), 1 deletion(-) diff --git

[lttng-dev] [LTTng-module PATCH 2/3] Point the x86-64 overrides to newly extracted 3.10-rc7 files

2013-07-05 Thread Yannick Brosseau
Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- instrumentation/syscalls/headers/syscalls_integers.h |2 +- instrumentation/syscalls/headers/syscalls_pointers.h |2 +- .../headers/x86-64-syscalls-3.0.4_integers_override.h |3 ---

Re: [lttng-dev] [LTTng-modules PATCH] The msg part of the printk:console event was 1 character too long

2013-07-04 Thread Gabbasov, Andrew
From: Mathieu Desnoyers [mathieu.desnoy...@efficios.com] Sent: Monday, July 01, 2013 00:20 To: Yannick Brosseau; Gabbasov, Andrew Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] [LTTng-modules PATCH] The msg part of the printk:console event was 1 character too long * Yannick

Re: [lttng-dev] Lttng Tools 2.2.0

2013-07-02 Thread Bernd Hufmann
Hi David I have a follow-up question for Simon's second questions: Initially, when reading the release notes I had the impression that only the switch-timer for periodic flush can be configured for the metadata channel. Then I tried to configure the read-timer, num-subbuf and subbuf-size for

Re: [lttng-dev] Lttng Tools 2.2.0

2013-07-02 Thread David Goulet
@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] [LTTng-modules PATCH] The msg part of the printk:console event was 1 character too long

2013-06-30 Thread Mathieu Desnoyers
* Yannick Brosseau (yannick.bross...@gmail.com) wrote: On 2013-06-28 15:43, Mathieu Desnoyers wrote: * Yannick Brosseau (yannick.bross...@gmail.com) wrote: Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- instrumentation/events/lttng-module/printk.h |2 +- 1 file

Re: [lttng-dev] [LTTng-tools PATCH] Update URCU detection to correctly check for a 0.7 version

2013-06-28 Thread David Goulet
Merged! Yannick Brosseau: Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- configure.ac |4 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 792679a..36c4ae1 100644 --- a/configure.ac +++ b/configure.ac @@ -162,6 +162,10 @@

Re: [lttng-dev] [LTTNG-TOOLS 2.2 PATCH] Fix: send per-pid session id in channel creation

2013-06-28 Thread David Goulet
Merged! Julien Desfossez: The registry indexing for per-pid sessions is done with a per-pid session id. So for per-pid buffers, we need to send the per-pid session id as well as the global session id to the consumer in order to give it enough information if it needs to request metadata later.

[lttng-dev] [LTTng-modules PATCH] The msg part of the printk:console event was 1 character too long

2013-06-28 Thread Yannick Brosseau
Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- instrumentation/events/lttng-module/printk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/events/lttng-module/printk.h b/instrumentation/events/lttng-module/printk.h index 4c744f9..f4b6028

[lttng-dev] [LTTng-module PATCH] Update prink:console tracepoint for 3.10 kernel

2013-06-28 Thread Yannick Brosseau
Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- instrumentation/events/lttng-module/printk.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/instrumentation/events/lttng-module/printk.h b/instrumentation/events/lttng-module/printk.h index

Re: [lttng-dev] [LTTng-modules PATCH] The msg part of the printk:console event was 1 character too long

2013-06-28 Thread Mathieu Desnoyers
* Yannick Brosseau (yannick.bross...@gmail.com) wrote: Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- instrumentation/events/lttng-module/printk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/events/lttng-module/printk.h

Re: [lttng-dev] [LTTng-modules PATCH] The msg part of the printk:console event was 1 character too long

2013-06-28 Thread Yannick Brosseau
On 2013-06-28 15:43, Mathieu Desnoyers wrote: * Yannick Brosseau (yannick.bross...@gmail.com) wrote: Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- instrumentation/events/lttng-module/printk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [lttng-dev] Lttng Tools 2.2.0

2013-06-28 Thread David Goulet
CCing lttng-dev mailing list. Simon Delisle: Hi, I work with the tracing team at Ericsson and I actually work on the lttng 2.2 support in TMF, but I have two questions about the new feature. 1) Does the periodical metadata flush is only for UST or it work for kernel to ? Both. 2) What

Re: [lttng-dev] Lttng filename

2013-06-28 Thread Alexandre Montplaisir
@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

[lttng-dev] [LTTng-tools PATCH] Update URCU detection to correctly check for a 0.7 version

2013-06-27 Thread Yannick Brosseau
Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- configure.ac |4 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 792679a..36c4ae1 100644 --- a/configure.ac +++ b/configure.ac @@ -162,6 +162,10 @@ AC_CHECK_DECL([rcu_thread_online], [],

[lttng-dev] [LTTNG-TOOLS 2.2 PATCH] Fix: send per-pid session id in channel creation

2013-06-27 Thread Julien Desfossez
The registry indexing for per-pid sessions is done with a per-pid session id. So for per-pid buffers, we need to send the per-pid session id as well as the global session id to the consumer in order to give it enough information if it needs to request metadata later. This patch adds the

[lttng-dev] [LTTng-modules PATCH] Add header to fix compilation of syscalls-extractor on 3.9 kernel

2013-06-26 Thread Yannick Brosseau
Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- .../syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c |1 + 1 file changed, 1 insertion(+) diff --git a/instrumentation/syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c

Re: [lttng-dev] [LTTng-modules PATCH] Add header to fix compilation of syscalls-extractor on 3.9 kernel

2013-06-26 Thread Mathieu Desnoyers
merged into master, Thanks, Mathieu * Yannick Brosseau (yannick.bross...@gmail.com) wrote: Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- .../syscalls/lttng-syscalls-extractor/lttng-syscalls-extractor.c |1 + 1 file changed, 1 insertion(+) diff --git

[lttng-dev] [LTTng-UST PATCH] Allow #include in template (.tp) file

2013-06-22 Thread Yannick Brosseau
The #include directive won't be parsed, but will be copied to the generated .h files. Also add a verbose (-v) mode to display some debugging output Signed-off-by: Yannick Brosseau yannick.bross...@gmail.com --- tools/lttng-gen-tp | 19 +++ 1 file changed, 15 insertions(+), 4

Re: [lttng-dev] [LTTng-UST PATCH] Allow #include in template (.tp) file

2013-06-22 Thread Mathieu Desnoyers
merged into master and stable-2.2. Thanks, Mathieu * Yannick Brosseau (yannick.bross...@gmail.com) wrote: The #include directive won't be parsed, but will be copied to the generated .h files. Also add a verbose (-v) mode to display some debugging output Signed-off-by: Yannick Brosseau

Re: [lttng-dev] [LTTng-UST PATCH] lttng-gen-tp: Fix include guard name with file using non valid characters

2013-06-17 Thread Mathieu Desnoyers
* Yannick Brosseau (yannick.bross...@gmail.com) wrote: Now, the include guard will be generated with all the non alpha-numeric characters replace with an '_' merged in: - master - stable 2.2, 2.1, 2.0. I also merged that commit into stable-2.0 so the current commit applies: commit

Re: [lttng-dev] LTTng request to revert patch e78de861055e6288d11348866681d1373ed81aec (Improve channel listing output format)

2013-06-04 Thread David Goulet
___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

[lttng-dev] LTTng on Fedora 19 beta

2013-06-04 Thread Francis Giraldeau
Hi, Here is a small blog entry on how to install lttng on Fedora 19 beta. http://multivax.blogspot.ca/2013/06/how-to-setup-lttng-on-fedora-19.html There is an issue: lttng-modules 2.2.0-rc2 is required for compatibility reasons with linux kernel 3.9.4, but packages of lttng-tools and lttng-ust

Re: [lttng-dev] lttng start error

2013-06-03 Thread Zheng Da
I don't know. I tried with kernel 3.2.30 and didn't get any problems. Da On Mon, Jun 3, 2013 at 10:05 PM, Jérémie Galarneau jeremie.galarn...@efficios.com wrote: Hi Zeng, Just tried the 2.0 release on a Ubuntu-12.04 VM and I could not reproduce your problem. Any chance you have installed

Re: [lttng-dev] lttng start error

2013-05-30 Thread Jérémie Galarneau
On Thu, May 30, 2013 at 12:32 PM, Zheng Da zhengda1...@gmail.com wrote: Hello, I just started to use lttng. I use Ubuntu 12.04 and the kernel version 3.8.12. I use a customized kernel, so the lttng package in ubuntu can't be installed correctly. I built lttng 2.0 myself. Did you build only

Re: [lttng-dev] lttng start error

2013-05-30 Thread Zheng Da
Hello, I built lttng-modules-2.0.6, lttng-tools-2.0.5 and lttng-ust-2.0.6. Best, Da On Thu, May 30, 2013 at 1:14 PM, Jérémie Galarneau jeremie.galarn...@efficios.com wrote: On Thu, May 30, 2013 at 12:32 PM, Zheng Da zhengda1...@gmail.com wrote: Hello, I just started to use lttng. I use

Re: [lttng-dev] LTTNG on Android ICS

2013-05-29 Thread Ionut D.
://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list

Re: [lttng-dev] LTTNG on Android ICS

2013-05-28 Thread Ionut D.
. Would be great if you will give me a tutorial about how to do it. Ionut ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev

Re: [lttng-dev] LTTNG on Android ICS

2013-05-24 Thread Ionut D.
me a tutorial about how to do it. Ionut ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev

Re: [lttng-dev] LTTNG on Android ICS

2013-05-24 Thread Ionut D.
/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http

Re: [lttng-dev] LTTNG on Android ICS

2013-05-24 Thread Francis Giraldeau
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing

Re: [lttng-dev] LTTNG on Android ICS

2013-05-24 Thread Pierre-Luc St-Charles
@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev

Re: [lttng-dev] LTTNG on Android ICS

2013-05-23 Thread Ionut D.
that I am trying to build lttng 2.x on ICS 4.0.3. Would be great if you will give me a tutorial about how to do it. Ionut ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] LTTNG on Android ICS

2013-05-23 Thread Ionut D.
a tutorial about how to do it. Ionut ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http

Re: [lttng-dev] LTTNG on Android ICS

2013-05-23 Thread Charles Brière
it. Ionut ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http

[lttng-dev] [LTTNG-TOOLS PATCH] Fix: close wait_fd on kernel tracing

2013-05-23 Thread Julien Desfossez
The wait_fd in the kernel consumer streams was not closed causing a leak of FDs in the consumer and never triggering the teardown mechanism in the kernel tracer. Signed-off-by: Julien Desfossez jdesfos...@efficios.com --- src/common/consumer.c |4 1 file changed, 4 insertions(+) diff

[lttng-dev] [LTTNG-TOOLS PATCH] Fix: error handling in kernel add_channel

2013-05-23 Thread Julien Desfossez
consumer_add_channel can return an error, it needs to be handled. Also, init_kernel_tracing returns a positive lttng_error_code on error, so the check in start_kernel_session needs to be for ret != 0. Signed-off-by: Julien Desfossez jdesfos...@efficios.com --- src/bin/lttng-sessiond/cmd.c

[lttng-dev] [LTTNG-TOOLS PATCH] Fix: increment channel refcount on add_stream

2013-05-23 Thread Julien Desfossez
Signed-off-by: Julien Desfossez jdesfos...@efficios.com --- src/common/consumer.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/consumer.c b/src/common/consumer.c index c9e4bae..bfb809a 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -663,6 +663,9 @@

Re: [lttng-dev] [LTTNG-TOOLS PATCH] Fix: increment channel refcount on add_stream

2013-05-23 Thread Mathieu Desnoyers
* Julien Desfossez (jdesfos...@efficios.com) wrote: Signed-off-by: Julien Desfossez jdesfos...@efficios.com check the impact on the ust side ? --- src/common/consumer.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/consumer.c b/src/common/consumer.c index

[lttng-dev] [LTTNG-TOOLS PATCH v2] Fix: increment channel refcount on add_stream

2013-05-23 Thread Julien Desfossez
Signed-off-by: Julien Desfossez jdesfos...@efficios.com --- src/common/kernel-consumer/kernel-consumer.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/src/common/kernel-consumer/kernel-consumer.c b/src/common/kernel-consumer/kernel-consumer.c index f3a3a22..f47c498 100644 ---

Re: [lttng-dev] LTTNG on Android ICS

2013-05-21 Thread Ionut D.
to do it. Ionut ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org

Re: [lttng-dev] LTTNG on Android ICS

2013-05-21 Thread Ionut D.
___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] LTTNG on Android ICS

2013-05-21 Thread Pierre-Luc St-Charles
-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] LTTNG on Android ICS

2013-05-18 Thread Ionut D.
___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman

Re: [lttng-dev] LTTNG on Android ICS

2013-05-17 Thread Francis Giraldeau
Le 2013-05-17 01:32, Ionut D. a écrit : Hello all, Recently I started to integrate LTTNG in Android ICS by compiling each package, each dependency, by using the Android build system. It is a lot of work because I met different problems and to be sincere, I do not know if at the end will work

Re: [lttng-dev] LTTNG on Android ICS

2013-05-17 Thread Pierre-Luc St-Charles
2.x on ICS 4.0.3. Would be great if you will give me a tutorial about how to do it. Ionut ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] [LTTNG-TOOLS PATCH] On-disk multiple tracefiles circular buffer

2013-05-07 Thread Mathieu Desnoyers
* Thibault, Daniel (daniel.thiba...@drdc-rddc.gc.ca) wrote: -Message d'origine- From: Mathieu Desnoyers mathieu.desnoy...@efficios.com I having similar questions as Daniel about tracefile-size and tracefile-count. For each stream, do we have max size used on disk = size *

Re: [lttng-dev] [LTTNG-TOOLS PATCH] On-disk multiple tracefiles circular buffer

2013-05-07 Thread Mathieu Desnoyers
* Thibault, Daniel (daniel.thiba...@drdc-rddc.gc.ca) wrote: [...] On a somewhat related topic, I find the CTF (1.8.2) spec confusing in sections 5 and 6: 5. Event Packet Header The event packet header consists of two parts: the event packet header is the same for all streams of

Re: [lttng-dev] lttng

2013-05-06 Thread Thibault, Daniel
Message: 1 Date: Fri, 3 May 2013 10:42:22 -0400 There are now two tracing modes implemented in lttng-ust (user-space tracer), each with their own advantages (+)/disadvantages(-): 1) per-pid buffer tracing, [...] 2) per-uid (shared) buffer tracing, (buffers shared across applications

[lttng-dev] lttng-tools and userspace-rcu

2013-05-06 Thread Thibault, Daniel
Let's assume I want to do a kernel-only LTTng installation. After putting lttng-modules in place, I get lttng-tools and, at its configure step, I do: ./configure --disable-lttng-ust However, this fails with: checking whether cds_list_add is declared... no configure: error: liburcu =

Re: [lttng-dev] lttng-tools and userspace-rcu

2013-05-06 Thread David Goulet
Yes it is. URCU is used extensively in lttng-tools regardless of UST tracing or not. David Thibault, Daniel: Let’s assume I want to do a kernel-only LTTng installation. After putting lttng-modules in place, I get lttng-tools and, at its configure step, I do: ./configure

Re: [lttng-dev] LTTng run issues

2013-05-03 Thread Mathieu Desnoyers
* Arulraj, Dhiliphen IN BLR STS (dhiliphen.arul...@siemens.com) wrote: Hello , I am new to LTTng usage. When trying to run lttng 2.0.4 for tracing my kernel I get the following issue - root@am335x-evm:/media/mmcblk0p1/lttng_bin/bin# ./arm-arago-linux-gnueabi-lttng start [ 1775.934997]

Re: [lttng-dev] LTTng-UST memory requirements

2013-05-02 Thread Mathieu Desnoyers
* David OShea (david.os...@quantum.com) wrote: Hi all, Are any details available of the memory requirements for LTTng? I guess you'll have to measure this. One important point to consider is the memory requirements for trace buffers, which are user-configurable. Thanks, Mathieu I'm

Re: [lttng-dev] lttng-tools-2.1.1 for linux-3.4.3

2013-04-19 Thread Pierre-Luc St-Charles
___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] lttng-dev Digest, Vol 60, Issue 31

2013-04-18 Thread Thibault, Daniel
Absolutely: no patching required. I decided to find out if the lttng-modules were required at all if one needs to do only user-space tracing. I installed (on an otherwise lttng-virgin system) just the userspace-rcu, lttng-ust, and lttng-tools packages. The lttng commands fail for the

Re: [lttng-dev] lttng-dev Digest, Vol 60, Issue 31

2013-04-18 Thread Jérémie Galarneau
Hi Daniel, The kernel modules are indeed not needed for userspace tracing. I'm guessing you installed from source since the lttng libs don't seem present in your path. Could tell us on which revision this is happening? Also, perhaps you could try Mathieu's recently commited fix? It may be

Re: [lttng-dev] LTTNG UST configure error (lttng-ust-2.1.2)

2013-04-17 Thread Simon Marchi
mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-11 Thread Mathieu Desnoyers
___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http

[lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Jan Glauber
Hi, I want to use LTTng for system call tracing on ARM. Now lttng-modules seems to support system call tracing on ARM already since 8f4f80e LTTng Modules ARM syscall instrumentation. But I wonder how that worked since lttng-syscalls.c is only build under CONFIG_HAVE_SYSCALL_TRACEPOINTS and that

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Pierre-Luc St-Charles
tracing working on ARM with the upstream LTTng version? thanks, Jan ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Jan Glauber
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Pierre-Luc St-Charles
? Is system call tracing working on ARM with the upstream LTTng version? thanks, Jan ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Jan Glauber
___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Christian Babeux
-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Mathieu Desnoyers
___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Jan Glauber
___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http

Re: [lttng-dev] LTTng system call tracing on ARM

2013-04-10 Thread Mathieu Desnoyers
@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Mathieu Desnoyers

Re: [lttng-dev] lttng-tools test suite problem

2013-04-03 Thread Christian Babeux
/mailman/listinfo/lttng-dev ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] lttng-tools test suite problem

2013-04-03 Thread Simon Marchi
On 3 April 2013 12:49, Christian Babeux christian.bab...@efficios.com wrote: I would advocate for this option. Could you describe the issues you encountered using subdirs-objects? Let's try to add AUTOMAKE_OPTIONS = subdir-objects at the top of tests/unit/Makefile.am. ./bootstrap and

Re: [lttng-dev] lttng-tools test suite problem

2013-04-03 Thread Simon Marchi
On 3 April 2013 14:28, Simon Marchi simon.mar...@polymtl.ca wrote: Finally, an idea just like that: instead of specifying the source file, would it be possible to specify directly the object file (e.g. $(top_srcdir)/src/bin/lttng/utils.o or ../../src/bin/lttng/utils.o) in LDADD ? So the unit

<    4   5   6   7   8   9   10   11   12   >