[lttng-dev] [PATCH lttng-ust] Fix: Shorthand option -cp not supported in all version of Java

2014-11-28 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- doc/examples/java-jul/Makefile | 2 +- doc/examples/java-jul/run| 2 +- doc/examples/java-log4j/Makefile | 2 +- doc/examples/java-log4j/run | 2 +- liblttng-ust-java-agent/java

[lttng-dev] New blog post: Tracing bare-metal systems and CTF

2014-11-25 Thread Christian Babeux
Hi LTTng-droids, Here an interesting new blog post by Philippe Proulx on the Common Trace Format on bare-metal systems. Thanks, Christian [1] - https://lttng.org/blog/2014/11/25/tracing-bare-metal-systems/ ___ lttng-dev mailing list

[lttng-dev] [PATCH lttng-ust] Add a configure check for weak symbols support

2014-11-12 Thread Christian Babeux
Fixes #236 Signed-off-by: Christian Babeux christian.bab...@efficios.com --- config/ax_sys_weak_alias.m4 | 337 configure.ac| 7 + 2 files changed, 344 insertions(+) create mode 100644 config/ax_sys_weak_alias.m4 diff --git

[lttng-dev] [PATCH babeltrace] Remove duplicate include of unistd in test_ctf_writer

2014-11-07 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/lib/test_ctf_writer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/lib/test_ctf_writer.c b/tests/lib/test_ctf_writer.c index bd33ab7..9d428c2 100644 --- a/tests/lib/test_ctf_writer.c +++ b/tests/lib

[lttng-dev] [PATCH lttng-tools] Fix: Add missing URCU_TLS access to error_log_time

2014-11-07 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- src/common/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/error.c b/src/common/error.c index 55d56e6..577070e 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -49,7 +49,7 @@ const

[lttng-dev] [PATCH lttng-ust] Fix: Java Agent JAR file symlink should be created after objects install

2014-11-04 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- liblttng-ust-java-agent/java/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/liblttng-ust-java-agent/java/Makefile.am b/liblttng-ust-java-agent/java/Makefile.am index 5a406e4..42b3ede 100644

Re: [lttng-dev] [PATCH lttng-ust] Fix: Java Agent JAR file symlink should be created after objects install

2014-11-04 Thread Christian Babeux
wrote: Hi Christian, Why are there sometimes and sometimes ; between the shell commands ? I think we might want to have everywhere, so the following commands don't execute if the prior commands fail. Thoughts ? Thanks, Mathieu - Original Message - From: Christian Babeux

[lttng-dev] [PATCH lttng-ust] Fix: Add versioning to liblttng-ust-agent JAR

2014-11-03 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- configure.ac | 1 + liblttng-ust-java-agent/java/Makefile.am | 24 ++ .../java/org/lttng/ust/agent/Manifest.txt | 7 +++ 3 files changed, 28 insertions

[lttng-dev] [PATCH lttng-ust] Update Java agent documentation

2014-10-31 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- doc/Makefile.am | 2 +- doc/java-agent.txt| 51 +++ doc/java-util-logging.txt | 41 - 3 files changed, 52 insertions(+), 42

[lttng-dev] [PATCH lttng-ust] Fix: Warn when log4j version is too old

2014-10-31 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- liblttng-ust-java-agent/java/org/lttng/ust/agent/LTTngAgent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/liblttng-ust-java-agent/java/org/lttng/ust/agent/LTTngAgent.java b/liblttng-ust-java-agent/java/org/lttng/ust

Re: [lttng-dev] bug reporting link(s) on new website

2014-10-25 Thread Christian Babeux
Hi Stefan, Perhaps a link to https://bugs.lttng.org/projects would make things more clear? Thanks, Christian On Sat, Oct 25, 2014 at 1:56 PM, Stefan Seefeld stefan_seef...@mentor.com wrote: Hello, Looking for the bug trackers for lttng-ust and lttng-tools, I notice https://bugs.lttng.org/,

Re: [lttng-dev] Best way to analyze CTF files

2014-10-17 Thread Christian Babeux
Hi Sebastien, A simple Python script using the Babeltrace bindings would probably do the job here. See [1] for an example using the bindings. Thanks, Christian [1] - https://lttng.org/docs/#doc-viewing-and-analyzing-your-traces On Fri, Oct 17, 2014 at 6:23 PM, Boisvert, Sebastien

[lttng-dev] Announcing the new LTTng website

2014-10-11 Thread Christian Babeux
Hi everyone, We have launched a new website for the LTTng project [1]. We have done major improvements on the documentation side of the project. You can now read the documentation at [2]. Contributing and improving the documentation is now very easy, just follow the instructions on our Github

[lttng-dev] [PATCH] Fix: Abort loading log4j agent classes when detected log4j version is too old

2014-10-02 Thread Christian Babeux
version of the library. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- .../java/org/lttng/ust/agent/LTTngAgent.java | 38 ++ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/liblttng-ust-java-agent/java/org/lttng/ust/agent/LTTngAgent.java

[lttng-dev] [PATCH lttng-ust] Fix: Wrong CLASSPATH when building liblttng-ust-java oot

2014-09-25 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- liblttng-ust-java/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liblttng-ust-java/Makefile.am b/liblttng-ust-java/Makefile.am index 203a9ff..fee9b7d 100644 --- a/liblttng-ust-java/Makefile.am +++ b

[lttng-dev] [PATCH lttng-ust] Cleanup: Remove the no longer needed liblttng-ust-jul folder

2014-09-25 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- liblttng-ust-jul/org/lttng/ust/jul/LTTngAgent.java | 138 - .../org/lttng/ust/jul/LTTngLogHandler.java | 80 2 files changed, 218 deletions(-) delete mode 100644 liblttng-ust-jul/org/lttng

[lttng-dev] [PATCH lttng-ust] Fix: Wrong CLASSPATH when building liblttng-ust-java-agent oot

2014-09-24 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- liblttng-ust-java-agent/java/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liblttng-ust-java-agent/java/Makefile.am b/liblttng-ust-java-agent/java/Makefile.am index c949bf8..01e81e5 100644

[lttng-dev] [PATCH lttng-ust] Fix: Wrong configure check for UST perf event counters context support

2014-06-26 Thread Christian Babeux
, the current implementation is only available on x86, hence the build fails on platform where the perf header is available. Fix this issue by detecting the architecture we are currently building and wether to enable or not the support for perf event counters context. Signed-off-by: Christian Babeux

[lttng-dev] Announcing GSoC 2014 Accepted Students

2014-04-22 Thread Christian Babeux
the following projects/students/mentors: Project: Using the LTTng toolchain in cloud service monitoring Student: Marios Evangelos Kogias Mentor: Jérémie Galarneau (irc: jgalar) Project: Clang plugin providing automatic application instrumentation Student: Sandeep Chaudhary Mentor: Christian Babeux

[lttng-dev] [PATCH] Fix: XML declaration must be at beginning of XSD file

2014-04-10 Thread Christian Babeux
Move down license information to fix the parser error : XML declaration allowed only at the start of the document Signed-off-by: Christian Babeux christian.bab...@efficios.com --- src/common/config/session.xsd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config

Re: [lttng-dev] [GSOC] Interested in contributing to LTTng: Python tracing support

2014-02-26 Thread Christian Babeux
Hi Yue, Great to hear that you are interested in the Python tracing support! The first step would be to take a look at the bug tracker [1] and see if you can fix any typo or minor bug and submit a patch to the mailing list. The contribution process is detailed in the guidelines [2] on the idea

[lttng-dev] The LTTng project accepted in the Google Summer of Code 2014

2014-02-25 Thread Christian Babeux
Hi lttng-pirates, The LTTng project has been officially accepted for its second year in the Google Summer of Code program [1]. In the upcoming weeks, prospective students will begin to interact with the LTTng community. Interested students can consult the LTTng project idea page on the Wiki [2].

Re: [lttng-dev] Updated man pages for http://lttng.org/documentation

2014-02-19 Thread Christian Babeux
Hi, Every manpage should now be available on the website. Thanks for reporting, Christian On Wed, Feb 19, 2014 at 4:38 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: - Original Message - From: Paul Woegerer paul_woege...@mentor.com To: Mathieu Desnoyers

[lttng-dev] [PATCH lttng-tools] Cleanup inconsistent use of spaces and tabs in README

2014-02-07 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- README | 58 +- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/README b/README index 4d70318..b217759 100644 --- a/README +++ b/README @@ -11,11 +11,11

Re: [lttng-dev] Machine Interface

2014-02-06 Thread Christian Babeux
Hi Jonathan, Multiples solutions come to mind: -XML -JSON -YAML -Custom syntax (like GDB Machine interface* as proposed by Alexandre Montplaisir) I would advocate for the use of XML for the machine interface. Two reasons come to mind: 1 - The expression of

Re: [lttng-dev] Machine Interface

2014-02-06 Thread Christian Babeux
, Christian Babeux wrote: Hi Jonathan, Multiples solutions come to mind: -XML -JSON -YAML -Custom syntax (like GDB Machine interface* as proposed by Alexandre Montplaisir) I would advocate for the use of XML for the machine interface. Two reasons come

Re: [lttng-dev] System level profiling of APT

2013-12-05 Thread Christian Babeux
Hi Francis, Thank you for this blog post, the critical path analysis looks pretty awesome! Christian On Thu, Dec 5, 2013 at 8:37 PM, Francis Giraldeau francis.girald...@gmail.com wrote: I did some system-level profiling of APT using kernel tracing and the waiting dependency analysis currently

Re: [lttng-dev] [PATCH] checkpatch: change status of warning from BRACES to BRACES_SINGLE_STMT

2013-11-13 Thread Christian Babeux
Hi Raphaël, Do you have a specific example that is failing for this case of braces detection? I patched checkpatch a while ago in a similar way for braces around single statement blocks, I don't remember the intention behind the particular check you are patching. Thanks, Christian On Wed, Nov

[lttng-dev] LTTng project development activities November 2013

2013-11-06 Thread Christian Babeux
Galarneau and Christian Babeux went to the GSoC Mentor Summit to represent the LTTng project. * LinuxCon Europe 2013: - David Goulet gave a talk entitled LTTng as a new monitoring tool [1]. * CloudOpen Europe 2013: - Julien Desfossez gave a talk entitled Efficient and Large-scale Infrastructure

Re: [lttng-dev] Compilation error with openwrt and uclibc 0.9.31

2013-09-26 Thread Christian Babeux
Hi Arthur, Problem is that I seems to have already this fix in my lttng-ust version. I am not very confortable with autotools. Do I have to add a libtool-linkdep-fixup flag somewhere to be able to enable the fix during my compile process ? No need to add any flag, if configure detect a bogus

[lttng-dev] [PATCH lttng-tools] Fix typo in lttng snapshot add-output example of lttng(1)

2013-09-25 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- doc/man/lttng.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/man/lttng.1 b/doc/man/lttng.1 index 57c89f0..659a27c 100644 --- a/doc/man/lttng.1 +++ b/doc/man/lttng.1 @@ -742,7 +742,7 @@ size will override

Re: [lttng-dev] Running lttng-tools testsuite against an installed codebase

2013-09-13 Thread Christian Babeux
/master/t/README [2] - https://raw.github.com/git/git/master/t/test-lib.sh On Fri, Sep 13, 2013 at 9:20 AM, Stefan Seefeld stefan_seef...@mentor.com wrote: On 09/12/2013 06:29 PM, Christian Babeux wrote: Hi lttng-testers, The current lttng-tools testsuite has some limitations as recently pointed

[lttng-dev] Running lttng-tools testsuite against an installed codebase

2013-09-12 Thread Christian Babeux
Hi lttng-testers, The current lttng-tools testsuite has some limitations as recently pointed out on this OpenEmbedded thread [1]. The testsuite cannot be runned against an installed codebase of lttng-tools because the tests assume that the lttng cli and the testapps are located in the build

Re: [lttng-dev] [OE-core] [PATCH] Enable ptest support for lttng.

2013-09-12 Thread Christian Babeux
if such a script would be useful for other projects/recipes using TAP tests within oe/yocto? Thanks, Christian Babeux EfficiOS Inc. http://www.efficios.com ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng

[lttng-dev] LTTng project development activities September 2013

2013-09-10 Thread Christian Babeux
Trace Format (CTF) writer in the Babeltrace codebase. You can see the pending patches here [3]. This feature will probably end up in Babeltrace 1.2. - Christian Babeux is currently working on a Nexus to CTF traces converter. - Our GSoC student, Zifei Tong, is currently working on adding dynamic

Re: [lttng-dev] CTF files recognition by file(1) now upstream

2013-09-09 Thread Christian Babeux
Awesome! :) Christian On Mon, Sep 9, 2013 at 1:03 PM, Philippe Proulx eeppelitel...@gmail.com wrote: Hi guys. It's been a while, but just to let you know that recognition for CTF channel files and packetized/text metadata files by file(1) is now pushed upstream

[lttng-dev] [PATCH lttng-tools 1/2] Tests: Add UST snapshots list output and max-size tests

2013-09-09 Thread Christian Babeux
Add two new tests to the UST snapshots tests: test_ust_list_output: Add/remove named outputs and validate with the list output command. test_ust_local_snapshot_max_size: Take a UST snapshot with max-size limits and validate that they are respected. Signed-off-by: Christian Babeux christian.bab

[lttng-dev] [PATCH lttng-tools 2/2] Tests: Add UST snapshots streaming test with custom URI

2013-09-09 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- .../regression/tools/snapshots/test_ust_streaming | 28 -- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/tests/regression/tools/snapshots/test_ust_streaming b/tests/regression/tools/snapshots

Re: [lttng-dev] Request information on Live view of traces

2013-09-03 Thread Christian Babeux
Hi Dror, We are using now lttng in our development and want to have it on our product for customers. Awesome! I would really appreciate if you can update me on the time frame of live view of traces. If you know, what will it include and when it is supposed to be, it can help us much in our

Re: [lttng-dev] [RELEASE] LTTng-UST 2.3.0-rc2

2013-08-30 Thread Christian Babeux
FYI, I posted a month ago in the LTTng project development activities August 2013 thread: - We are currently in code freeze for the release candidate phase of version 2.3. Please use and test this release candidate and report bugs on our bug tracker [2]. We are aiming for a stable release at the

Re: [lttng-dev] [RFC] LTTng Contributor's guide

2013-08-26 Thread Christian Babeux
Looks good to me! Perhaps we could add a section about guidelines to add tests? Thanks, Christian On Mon, Aug 26, 2013 at 1:39 PM, Jérémie Galarneau jeremie.galarn...@efficios.com wrote: Hi, There was some talk on the IRC channel last week about the need for a contributor's guide. I have

[lttng-dev] [PATCH babeltrace 4/5] Tests: Add trace reading test with babeltrace bin

2013-08-20 Thread Christian Babeux
This test uses the sample traces found in tests/ctf-traces and the babeltrace cli tool to parse them. The traces found in ctf-traces/succeed should return a successful exit code and those in ctf-traces/fail should return a failure exit code. Signed-off-by: Christian Babeux christian.bab

[lttng-dev] [PATCH babeltrace 5/5] Tests: Use Perl prove as the testsuite runner

2013-08-20 Thread Christian Babeux
This commit modify the make check target to run Perl prove as the testsuite runner. $ cd babeltrace/tests $ ./run.sh tests One can also run tests manually using prove: $ prove --exec '' path/to/test OR $ prove --exec '' - testlist Signed-off-by: Christian Babeux christian.bab

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

2013-07-26 Thread Christian Babeux
...@efficios.com wrote: On Tue, Jul 23, 2013 at 11:30 PM, Christian Babeux christian.bab...@efficios.com wrote: Hi Matthew, You certainly raise valid and interesting questions about our release process. Here how I would categorize these questions: 1) Branching policy (when do we branch master

[lttng-dev] [PATCH lttng-tools] Add core dump snapshot handler script

2013-07-19 Thread Christian Babeux
|-- core | `-- core.16980 `-- snapshot `-- snapshot |-- chan_0 |-- chan_1 |-- chan_2 |-- chan_3 |-- chan_4 |-- chan_5 |-- chan_6 |-- chan_7 `-- metadata Signed-off-by: Christian Babeux christian.bab...@efficios.com

Re: [lttng-dev] Compile failure on OSX 10.8

2013-06-26 Thread Christian Babeux
both here. Anand On 21/06/2013 18:51, Christian Babeux wrote: Hmm that's really weird :/. For some reason configure detect an i386 CPU which is certainly not right. Could you post your config.log with and without the --host flag (specifying which is which)? There might be some slight

Re: [lttng-dev] Compile failure on OSX 10.8

2013-06-21 Thread Christian Babeux
Hi Anand, You might have to pass an additional host flag to configure e.g.: ./configure --host=i686-apple-darwin11 If I remember correctly, the compiler on OSX was compiled to run on a 64-bit platform but _only_ produce 32-bit binaries. Our configure script wrongly detect an x86-64 host, so you

Re: [lttng-dev] Compile failure on OSX 10.8

2013-06-21 Thread Christian Babeux
.libs/liburcu.1.dylib .libs/liburcu.1.dylib: Mach-O 64-bit dynamically linked shared library x86_64 What am I missing? Regards, Anand On 21/06/2013 17:54, Christian Babeux wrote: Hi Anand, You might have to pass an additional host flag to configure e.g.: ./configure --host=i686-apple

[lttng-dev] [PATCH lttng-tools] Tests: Fix wrong number of tests in thread stall as root test

2013-06-19 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/tools/health/test_thread_stall | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/regression/tools/health/test_thread_stall b/tests/regression/tools/health/test_thread_stall index

Re: [lttng-dev] Running lttng-tools tests?

2013-05-30 Thread Christian Babeux
Hi Daniel, After installing lttng-tools (2.2.0-rc2) in /usr/src, I tried this: $ cd /usr/src/lttng-tools-2.2.0-rc2/tests $ ./run.sh unit_tests This is indeed the right way to run the tests. Usually I run those in the source tree _before_ installation e.g.: [...] make cd lttng-tools/tests

[lttng-dev] [PATCH lttng-tools] Tests: Fix possible segfault in health check thread exit test

2013-05-22 Thread Christian Babeux
The testpoints in the thread_manage_clients and thread_manage_apps are called after a rcu_register_thread() call. The testpoints were not unregistering their respective thread which could later on cause a segfault when shutting down the session daemon. Signed-off-by: Christian Babeux

[lttng-dev] [PATCH lttng-tools 1/3] Tests: Move the babelstats utility to tests/utils

2013-05-14 Thread Christian Babeux
This utility will prove useful in trace validation for other tests, so put it in a common location accessible by the tests. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/tools/filtering/Makefile.am | 4 +- tests/regression/tools/filtering

[lttng-dev] [PATCH lttng-tools 2/3] Tests: Add the tracefile count test

2013-05-14 Thread Christian Babeux
in the resulting trace (with the help of babeltrace and babelstats). We also validate that the tracefile count (per stream) in the trace folder is conform to the one passed on the command line. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- configure.ac

[lttng-dev] [PATCH lttng-tools 3/3] Tests: Add the tracefile size test

2013-05-14 Thread Christian Babeux
that some events are present (it's possible that the tracer discard events, so we can't validate on a fixed number of events in the resulting trace). Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/fast_regression | 1 + tests/long_regression

[lttng-dev] [PATCH lttng-tools 1/6] Tests: Cleanup and move gen-ust-events testapp under utils

2013-05-13 Thread Christian Babeux
This will improve the maintainability and stop the copying madness going on in each test needing a UST sample application. Application under test should go in tests/utils/testapp/testapp_name/. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- configure.ac

[lttng-dev] [PATCH lttng-tools 2/6] Tests: Replace usage of gen-ust-events testapp in streaming tests

2013-05-13 Thread Christian Babeux
Use the gen-ust-events binary found under tests/utils/testapp/gen-ust-events/. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/tools/streaming/Makefile.am | 16 -- tests/regression/tools/streaming/gen-ust-events.c | 59

[lttng-dev] [PATCH lttng-tools 3/6] Tests: Replace usage of gen-ust-events testapp in ust before-after test

2013-05-13 Thread Christian Babeux
Use the gen-ust-events binary found under tests/utils/testapp/gen-ust-events/. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/ust/before-after/Makefile.am | 14 -- tests/regression/ust/before-after/gen-nevents.c| 56

[lttng-dev] [PATCH lttng-tools 5/6] Tests: Replace usage of gen-ust-events testapp in ust nprocesses test

2013-05-13 Thread Christian Babeux
Use the gen-ust-events binary found under tests/utils/testapp/gen-ust-events/. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/ust/nprocesses/Makefile.am | 14 -- tests/regression/ust/nprocesses/gen-events-time.c | 61 --- tests

[lttng-dev] [PATCH lttng-tools] Tests: Add missing test_utils_parse_size_suffix to unit tests

2013-05-06 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/unit_tests | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit_tests b/tests/unit_tests index d7c68b6..6bf33cc 100644 --- a/tests/unit_tests +++ b/tests/unit_tests @@ -2,3 +2,4 @@ unit/test_kernel_data unit

Re: [lttng-dev] [PATCH v5 lttng-tools] lttng cli: Accept human readable sizes for --subbuf-size

2013-05-02 Thread Christian Babeux
Just a heads up, this patch depends on another one posted by Simon earlier: [RFC PATCH lttng-tools] Unit tests: don't rebuild units under test Reviewed-by: Christian Babeux christian.bab...@efficios.com On Thu, May 2, 2013 at 10:47 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote

[lttng-dev] Maintenance downtime of ci.lttng.org

2013-04-22 Thread Christian Babeux
Hi all, Just a heads up that we will be taking down the continuous infrastructure host at ci.lttng.org beginning at 10 pm (Eastern time) tonight for maintenance. The host should come back online tomorrow (April 23) as soon as possible. Thanks, Christian

Re: [lttng-dev] Processor support for user space tracer (ppc64)

2013-04-20 Thread Christian Babeux
Website has been updated. Basically, lttng-ust should be compatible with all the architectures supported by userspace-rcu, right? On Tue, Apr 16, 2013 at 11:10 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: Yes, ppc64 should work fine with lttng-ust. This list is not up to date.

Re: [lttng-dev] GSoC 2013, Instrumenting Open Source projects using UST project.

2013-04-12 Thread Christian Babeux
Hi, Do you have a specific open-source project in mind that you would like to instrument with LTTng? Instrumenting should be straightforward (add tracepoints to the application source code), the challenge will reside in finding the appropriates sites to instruments to get useful data out of the

Re: [lttng-dev] GSoC 2013, Instrumenting Open Source projects using UST project.

2013-04-12 Thread Christian Babeux
Reply from Tabibel Sami: -- Forwarded message -- From: Tabibel Sami sami.tabi...@gmail.com Date: Fri, Apr 12, 2013 at 11:59 AM Subject: Re: [lttng-dev] GSoC 2013, Instrumenting Open Source projects using UST project. To: Christian Babeux christian.bab...@efficios.com On Fri, Apr

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

2013-04-10 Thread Christian Babeux
Hi Jan, This seems related to bug #472 [1]. CCing Mathieu. Christian [1] - http://bugs.lttng.org/issues/472 On Wed, Apr 10, 2013 at 12:02 PM, Jan Glauber jan.glau...@gmail.com wrote: On Wed, Apr 10, 2013 at 09:38:33AM -0400, Pierre-Luc St-Charles wrote: Here are the links I stashed a while

Re: [lttng-dev] Bugfix: Bug #453

2013-04-09 Thread Christian Babeux
Hello Simar, Here a few additional guidelines/tips for submitting patches: - I see in your patches that you based yourself on my personal github lttng-tools repository to prepare your patches. This repository might be lagging behind the official one, hence I would suggest using the official git

Re: [lttng-dev] Participating in gsoc'13

2013-04-09 Thread Christian Babeux
Hi Garvit, Are you interested by a particular project idea? In order to start with the LTTng codebase, I would suggest you try to install the related tools (lttng-tools, lttng-ust, lttng-modules, babeltrace, etc.) and try to trace a simple program or your kernel. You can find some information

[lttng-dev] The LTTng project accepted in the Google Summer of Code 2013

2013-04-08 Thread Christian Babeux
Hi lttng-ninjas, The LTTng project has been officially accepted in the Google Summer of Code 2013 program [1]. In the upcoming weeks, prospective students will begin to interact with the LTTng community. Interested students can consult the LTTng project idea page on the Wiki [2]. We are

Re: [lttng-dev] [PATCH lttng-tools] lttng cli: Accept human readable sizes for --subbuf-size

2013-04-03 Thread Christian Babeux
April 2013 22:39, Christian Babeux christian.bab...@efficios.com wrote: Hi Simon, I wanted to add some unit tests for parse_human_size, but the current test system does not make it easy. They will come later. Could you describe the issues you had on a separate thread so we can further

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

2013-04-03 Thread Christian Babeux
Hi Simon, A- Create a folder for each unit test. This is cumbersome, because it will require creating a Makefile in each directory, which requires to modify configure.ac. If it's hard to add a test, there will be less tests, which is bad. Also, a single test that needs stuff from two

Re: [lttng-dev] [PATCH lttng-tools] lttng cli: Accept human readable sizes for --subbuf-size

2013-04-02 Thread Christian Babeux
Hi Simon, I wanted to add some unit tests for parse_human_size, but the current test system does not make it easy. They will come later. Could you describe the issues you had on a separate thread so we can further discuss it? Here a few comments on your patch: + char *buffer =

Re: [lttng-dev] Pull request: lttng-ust tests clean-up

2013-03-26 Thread Christian Babeux
Hi Jérémie, I'm wondering what would be the best way to get tests to run conditionally depending on the configure options now that we are using Christian's prove + test lists scheme. What I have in mind is something along this way: In the lttng-tools/tests/Makefile.am: if USE_PYTHON

[lttng-dev] [PATCH babeltrace] Replace AM_PROG_MKDIR obsolete macro with AC_PROG_MKDIR_P

2013-03-23 Thread Christian Babeux
/Obsolete-Macros.html Signed-off-by: Christian Babeux christian.bab...@efficios.com --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b96e09f..cc23f5a 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,7 @@ m4_ifdef

[lttng-dev] [PATCH lttng-tools 2/6] Tests: Fix missing TAP output in overlap test

2013-03-21 Thread Christian Babeux
The start and stop tracing shell functions are currently redirected to /dev/null. This has the unfortunate side-effect of silencing the TAP output thus producing an incomplete test output. This commit remove the /dev/null redirection of those commands. Signed-off-by: Christian Babeux

[lttng-dev] [PATCH lttng-tools 3/6] Tests: Fix tests first line of output to follow TAP guidelines

2013-03-21 Thread Christian Babeux
. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/kernel/test_all_events | 4 ++-- tests/regression/kernel/test_event_basic | 4 ++-- tests/regression/tools/filtering/test_invalid_filter | 4 ++-- tests/regression

[lttng-dev] [PATCH lttng-tools 6/6] Tests: Do not exit when a failure occurs in test_buffers_uid

2013-03-21 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/ust/buffers-uid/test_buffers_uid | 5 - 1 file changed, 5 deletions(-) diff --git a/tests/regression/ust/buffers-uid/test_buffers_uid b/tests/regression/ust/buffers-uid/test_buffers_uid index 1c590f2

Re: [lttng-dev] [PATCH lttng-tools 4/6] Tests: Use Perl prove as the testsuite runner

2013-03-21 Thread Christian Babeux
, Christian Babeux wrote: Currently the regression and unit testsuites are runned via a custom runner script. By using the Perl prove utility, we can run the testsuites and also gain additionnal features such as: parallel jobs, separate testlists, etc. This new dependency should be documented

Re: [lttng-dev] [PATCH lttng-tools 4/6] Tests: Use Perl prove as the testsuite runner

2013-03-21 Thread Christian Babeux
Okay I'll post a patch updating the README. On Thu, Mar 21, 2013 at 5:21 PM, Yannick Brosseau yannick.bross...@gmail.com wrote: On 2013-03-21 17:12, Christian Babeux wrote: This new dependency should be documented in the README file. Since lttng-tools depends on Automake (which is a Perl

[lttng-dev] [PATCH lttng-tools] Tests: Fix nprocesses applications shutdown

2013-03-18 Thread Christian Babeux
-by: Christian Babeux christian.bab...@efficios.com --- tests/regression/ust/nprocesses/test_nprocesses | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/regression/ust/nprocesses/test_nprocesses b/tests/regression/ust/nprocesses/test_nprocesses index e89d02e..23d9a0a 100755

Re: [lttng-dev] [lttng-tools PATCH (correction)] Add a git version line in LTTng versions compiled from git sources.

2013-03-13 Thread Christian Babeux
Hi Raphaël, I wonder if we would like to also have the same information when running lttng-sessiond --version? MSG(lttng version VERSION - VERSION_NAME); +#ifdef GIT_VERSION + MSG(Git version: GIT_VERSION); +#endif MSG(\n VERSION_DESCRIPTION \n); MSG(Web

[lttng-dev] [PATCH lttng-tools] Fix: Memory leak on error paths of relay_add_stream

2013-02-28 Thread Christian Babeux
value to NULL. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- src/bin/lttng-relayd/main.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index 4f9d742..00b7ea3 100644 --- a/src/bin/lttng-relayd

[lttng-dev] [PATCH lttng-tools] Fix: Memory leaks on error paths when exporting consumerd libdir in env

2013-02-28 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- src/bin/lttng-sessiond/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c index e9529f1..82f0a84 100644 --- a/src/bin/lttng-sessiond/main.c +++ b/src/bin

[lttng-dev] [PATCH lttng-tools] Fix: Memory leaks on unknown hashtable type error handling

2013-02-28 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- src/common/hashtable/hashtable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/hashtable/hashtable.c b/src/common/hashtable/hashtable.c index 24d5797..5bf85e5 100644 --- a/src/common/hashtable/hashtable.c +++ b

[lttng-dev] [PATCH babeltrace] Fix: Undefined behavior of double free on strlist in get_names_args

2013-02-28 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- converter/babeltrace.c | 1 - 1 file changed, 1 deletion(-) diff --git a/converter/babeltrace.c b/converter/babeltrace.c index 20ded00..ed19fa8 100644 --- a/converter/babeltrace.c +++ b/converter/babeltrace.c @@ -204,7 +204,6

Re: [lttng-dev] Using lttng-ust's libringbuffer outside lttng-ust

2013-02-15 Thread Christian Babeux
Hi David, Over in systemtap land, we're working on implementing a pure userspace backend, using a project called dyninst (http://www.dyninst.org/). This project looks very interesting! Assuming it does make sense, I could use some help. Is there any documentation that I've missed somewhere

Re: [lttng-dev] lttng, lttng-sessiond and the tracing group

2013-02-06 Thread Christian Babeux
Hi Daniel, First observation I'm not able to reproduce your first observation on my machine. [...] $ sudo lttng -vvv create rootlevel DEBUG3: URI string: file:///home/daniel/lttng-traces/rootlevel-20130206-091954 [in uri_parse() at uri.c:253] DEBUG3: URI file destination:

[lttng-dev] LTTng Google Summer of Code 2013

2013-02-01 Thread Christian Babeux
Hi everyone, After some initial discussion with the LTTng developers, we think it would be a great opportunity for the LTTng project to participate as a mentoring organisation in Google Summer of Code 2013. Apparently, some attempts were made in the past years but the application deadline was

Re: [lttng-dev] Odd dependency for lttng-ust - resolved

2013-01-25 Thread Christian Babeux
Nope, my /usr/lib is clean. The problem is unavoidable on a clean system because lttng-tools's README lists GNU Gold (2.22 or better) in its requirements when building from git. On the other hand, if you had a liburcu package installed and it were not too old, configure's checks would

Re: [lttng-dev] Odd dependency for lttng-ust

2013-01-21 Thread Christian Babeux
Hi Daniel, Could you make sure that all previous liburcu versions are properly uninstalled (e.g. no liburcu* in /usr/lib)? I think that you might have an old version installed and that configure is looking up the library via the default LD_LIBRARY_PATH which contains /usr/lib before

Re: [lttng-dev] [RFC PATCH lttng-ust] Introduce hash table for lttng_create_event_if_missing()

2013-01-16 Thread Christian Babeux
I was able to reproduce this overhead issue on my machine. This patch fixed it. Acked-by: Christian Babeux christian.bab...@efficios.com On Wed, Jan 16, 2013 at 10:14 AM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: lttng_create_event_if_missing() takes a lot of CPU time with stress

[lttng-dev] Follow us on Twitter

2013-01-10 Thread Christian Babeux
Hi all, You can now follow LTTng on Twitter: https://twitter.com/lttng_project Thanks, Christian ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

[lttng-dev] [PATCH 1/5] run-report: Use libtool wrapper to spawn the sessiond for tests

2012-12-18 Thread Christian Babeux
version mismatch occurs. This commit fix this by using the consumerd that was built with libtool in the local source tree. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/run-report.py | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git

[lttng-dev] [PATCH 3/5] run-report: Fix CPU usage stats computation

2012-12-18 Thread Christian Babeux
The CPU usage statistics are computed by grepping the top command output. The top output format as since changed so the CPU usage statistics were not properly computed. Fix this by adjusting to the new top command output format. Signed-off-by: Christian Babeux christian.bab...@efficios.com

[lttng-dev] [PATCH 4/5] run-report: Allow tests to spawn and control their own sessiond

2012-12-18 Thread Christian Babeux
the test with the proper environment variables set. To indicate that a test will spawn and manage its own sessiond, the 'daemon' key value should be set to the test string. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/run-report.py | 34

[lttng-dev] [PATCH 5/5] run-report: Add tools filtering, health check and streaming tests

2012-12-18 Thread Christian Babeux
Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/test_list.py | 82 -- 1 file changed, 74 insertions(+), 8 deletions(-) mode change 100644 = 100755 tests/test_list.py diff --git a/tests/test_list.py b/tests/test_list.py

[lttng-dev] [PATCH lttng-tools] Tests: Fix sleep interruption in health stall test

2012-12-10 Thread Christian Babeux
The sleep(3) call can return the number of seconds left to sleep if interrupted. Handle the intteruption in the health stall test. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- tests/tools/health/health_stall.c | 15 --- 1 file changed, 12 insertions(+), 3

[lttng-dev] [PATCH v2 lttng-tools] Add return code to the testpoint mechanism

2012-12-10 Thread Christian Babeux
failure cases and trigger the appropriate response (error handling, thread teardown, etc.). Signed-off-by: Christian Babeux christian.bab...@efficios.com --- src/bin/lttng-sessiond/main.c | 44 --- src/common/testpoint/testpoint.h | 20 +- tests

[lttng-dev] [PATCH urcu] Fix: Fallback mechanism not working on platform where TLS is unsupported

2012-11-08 Thread Christian Babeux
will properly detect if TLS is supported. Signed-off-by: Christian Babeux christian.bab...@efficios.com --- urcu/config.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urcu/config.h.in b/urcu/config.h.in index de1d1d0..98ea365 100644 --- a/urcu/config.h.in +++ b/urcu

[lttng-dev] [PATCH v2 lttng-tools] Fix: Do not install health tests helper libraries

2012-11-06 Thread Christian Babeux
of failing badly, detect this flag and skip the health tests altogether. noinst shared libs: [1] - https://lists.gnu.org/archive/html/libtool/2008-06/msg00082.html Signed-off-by: Christian Babeux christian.bab...@efficios.com --- configure.ac | 2 ++ tests/tools/health

  1   2   >