[lttng-dev] Announcing LTTng Scope

2018-03-19 Thread Alexandre Montplaisir
Hi everyone, We at EfficiOS are happy to announce the first public preview of the LTTng Scope project. LTTng Scope is an experimental graphical viewer for LTTng kernel and userspace traces for Linux, Windows and macOS. With this new project, we want to experiment with UI/UX and determine how

Re: [lttng-dev] Problem in finding Jar file of LTTng for adding to Java project

2017-10-16 Thread Alexandre Montplaisir
t /usr/local/lib. Cheers, Alex >On Friday, October 13, 2017, 11:57:33 PM GMT+3:30, Alexandre Montplaisir > <alexmon...@voxpopuli.im> wrote: > > On 2017-10-12 03:38 PM, MMM wrote: >> Dear Alex, >> >> As I mentioned, I used sample examples. for instance, I us

Re: [lttng-dev] Problem in finding Jar file of LTTng for adding to Java project

2017-10-13 Thread Alexandre Montplaisir
if I can reproduce the issue. How did you install your LTTng 2.9? Was it from source, or from a PPA? The Ubuntu 16.04 main archive only has 2.7.* Cheers, Alex > > Thanks for your attention. > Regards, > Mehdi. > > On Thursday, October 12, 2017, 6:51:12 PM GMT+3:30, Alex

Re: [lttng-dev] Problem in finding Jar file of LTTng for adding to Java project

2017-10-12 Thread Alexandre Montplaisir
ommand: $ ls -l /usr/share/java/lttng-ust* Thanks, Alex > > Regards, > Mehdi. > > > > > On Wednesday, October 11, 2017, 6:09:41 PM GMT+3:30, Alexandre > Montplaisir <alexmon...@voxpopuli.im> wrote: > > > Hi, > > I tried compiling and running your program, and i

Re: [lttng-dev] Problem in finding Jar file of LTTng for adding to Java project

2017-10-11 Thread Alexandre Montplaisir
Hi, I tried compiling and running your program, and it runs fine on my end. Here is what I did: saved the snippet below to "Hello.java" $ apt install liblttng-ust-agent-java $ javac -cp /usr/share/java/lttng-ust-agent-jul.jar Hello.java $ lttng create $ lttng enable-event -a -j $ lttng start $

[lttng-dev] LTTng on kernel 2.6.32

2016-03-19 Thread Alexandre Montplaisir
Hi all, I vaguely remember something about a patch set for LTTng 2.x to allow it to compile on Linux 2.6.32. Is there such a patch set for recent versions, like 2.5+? Michael, in CC, is trying to use the live tracing feature in Trace Compass, but there is a bug with the 2.4 connector, and

Re: [lttng-dev] Lttng-java trace event formatting

2016-03-15 Thread Alexandre Montplaisir
Hi, The Java agent library does not allow users to change the tracepoint signature. Defining a tracepoint requires writing a C macro and compiling it, so it cannot be done as easily as it is for a native program. You could however modify the Java agent code, both on the Java side and in the

Re: [lttng-dev] [PATCH lttng-ust] Fix: Use Java 6 syntax in JUL examples

2016-02-15 Thread Alexandre Montplaisir
Reviewed-by: Alexandre Montplaisir <alexmon...@efficios.com> On 2016-02-15 02:29 PM, Michael Jeanson wrote: Signed-off-by: Michael Jeanson <mjean...@efficios.com> --- doc/examples/java-jul/ApplicationContextExample.java | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-)

[lttng-dev] [PATCH lttng-ust stable-2.7] Fix: Ensure the Java JUL messages are correctly formatted

2016-02-04 Thread Alexandre Montplaisir
Same as 4721f9c, but for the stable-2.7 branch. Signed-off-by: Alexandre Montplaisir <alexmon...@efficios.com> --- .../java/org/lttng/ust/agent/jul/LTTngLogHandler.java | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/liblttng-ust-java-agent/ja

Re: [lttng-dev] [PATCH lttng-ust] Fix: Ensure the Java JUL messages are correctly formatted

2016-02-04 Thread Alexandre Montplaisir
On 2016-02-04 09:23 AM, Mathieu Desnoyers wrote: - On Feb 4, 2016, at 12:32 AM, Alexandre Montplaisir alexmon...@efficios.com wrote: It is possible for log records to contain messages that need some formatting, for example if the string contains localized elements or if the log(Level

[lttng-dev] [PATCH lttng-ust] Fix: Ensure the Java JUL messages are correctly formatted

2016-02-03 Thread Alexandre Montplaisir
tracepoint. This only applies to the JUL API. log4j 1.2.x did not handle such formatting, although log4j 2.x does. Signed-off-by: Alexandre Montplaisir <alexmon...@efficios.com> --- .../org/lttng/ust/agent/jul/LttngLogHandler.java | 16 +++- 1 file changed, 15 insertion

Re: [lttng-dev] [PATCH] Java Agent: Make the agent protocol consistently network endian

2015-10-23 Thread Alexandre Montplaisir
+1 In the case of SessiondDisableEventCommand it was not a big deal because it only reads a string from the buffer, so individual bytes, not affected by endianness. For SessiondEnableEventCommand however it would result in erroneous values for log levels! On 2015-10-23 05:12 PM, Jérémie

[lttng-dev] [PATCH lttng-ust] Fix: Send the correct Java agent return code when disabling events

2015-08-06 Thread Alexandre Montplaisir
When receiving a disable event command from the sessiond for an event that is not known, the Java agent should send the unknown logger name return code, not the invalid command one. Signed-off-by: Alexandre Montplaisir alexmon...@efficios.com --- .../agent/client/SessiondDisableEventCommand.java

Re: [lttng-dev] [PATCH lttng-tools] Tests: Java agent: update after Java agent refactoring

2015-08-05 Thread Alexandre Montplaisir
This patch now makes lttng-tools have a hard requirement on Java to even compile the thing. Is this desirable, given that Java is only needed to run some tests? On 2015-08-05 12:08 PM, Jérémie Galarneau wrote: Merged, thanks! Jérémie On Tue, Aug 4, 2015 at 6:21 PM, Michael Jeanson

[lttng-dev] [PATCH lttng-ust] Rename Java Agent event names to event

2015-07-30 Thread Alexandre Montplaisir
-tools side. Signed-off-by: Alexandre Montplaisir alexmon...@efficios.com --- liblttng-ust-java-agent/jni/jul/lttng_ust_jul.c | 3 +-- liblttng-ust-java-agent/jni/jul/lttng_ust_jul.h | 3 +-- liblttng-ust-java-agent/jni/log4j/lttng_ust_log4j.c | 3 +-- liblttng-ust-java-agent/jni/log4j

[lttng-dev] [PATCH lttng-ust] Allow compiling the Java agent with Java 1.6

2015-07-29 Thread Alexandre Montplaisir
Previous patch d60dfbe inadvertently made use of ReflectiveOperationException, which was introduced in Java 7. To continue being able to compile the agent with Java 6, we can list individual exception types instead. Signed-off-by: Alexandre Montplaisir alexmon...@efficios.com --- .../org/lttng

Re: [lttng-dev] [PATCH lttng-ust] Fix compiliation warnings

2015-06-29 Thread Alexandre Montplaisir
Please ignore the previous patch. I have pushed a new version, along with some other fixes, as a PR at: https://github.com/lttng/lttng-ust/pull/4 Fixed the typo in the commit title too ;) On 2015-06-26 06:03 PM, Alexandre Montplaisir wrote: Remove unused imports. Access static fields

[lttng-dev] [PATCH lttng-ust] Fix compiliation warnings

2015-06-26 Thread Alexandre Montplaisir
Remove unused imports. Access static fields statically. Signed-off-by: Alexandre Montplaisir alexmon...@efficios.com --- .../java/org/lttng/ust/agent/LTTngAgent.java | 99 ++ .../org/lttng/ust/agent/LTTngSessiondCmd2_6.java | 4 +- .../lttng/ust/agent

Re: [lttng-dev] LTTng event loglevel

2015-06-22 Thread Alexandre Montplaisir
Hi, On 2015-06-22 05:06 PM, Jeffrey Chen wrote: Hi: I am reading the LTTng and I am confused about the loglevel in the document. The document talked about it could assign a loglevel to each event. (http://lttng.org/docs/#doc-assigning-log-levels) This part refers to when you define your

Re: [lttng-dev] lttng fails to install on Ubunti 14.04

2015-06-05 Thread Alexandre Montplaisir
Hi, This is a recurring problem, unfortunately. The distribution updates their kernel by backporting patches from later upstream kernel versions, which can sometimes break the internal APIs used by lttng-modules. However they will not update the lttng-modules package for a given version of

Re: [lttng-dev] lttng fails to install on Ubunti 14.04

2015-06-05 Thread Alexandre Montplaisir
From: Alexandre Montplaisir [alexmon...@voxpopuli.im] Sent: Friday, 05 June 2015 7:15 AM To: SMITH Peter T Cc: lttng-dev@lists.lttng.org Subject: Re: [lttng-dev] lttng fails to install on Ubunti 14.04 Hi, This is a recurring problem, unfortunately. The distribution updates

[lttng-dev] [PATCH lttng-modules] Fix: Update kmem event for Ubuntu's 3.16 kernel too

2015-05-26 Thread Alexandre Montplaisir
LINUX_VERSION_CODE = KERNEL_VERSION(3,19,2) check, so should not require other workarounds. References #889. Signed-off-by: Alexandre Montplaisir alexmon...@voxpopuli.im --- instrumentation/events/lttng-module/kmem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/instrumentation/events

[lttng-dev] [lttng-modules PATCH] Fix: Update kmem event for recent Ubuntu kernel

2015-05-22 Thread Alexandre Montplaisir
-by: Alexandre Montplaisir alexmon...@voxpopuli.im --- instrumentation/events/lttng-module/kmem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/instrumentation/events/lttng-module/kmem.h b/instrumentation/events/lttng-module/kmem.h index ee83d38..1d4eb62 100644

Re: [lttng-dev] lttng function tracing nginx problem

2015-05-20 Thread Alexandre Montplaisir
Hi, Is it possible that nginx forks other processes, and the main process stays there doing almost nothing? In such a case, you would need to also preload liblttng-ust-fork.so, so that UST can follow through fork() calls. See the section USING LTTNG UST WITH DAEMONS of man lttng-ust.

Re: [lttng-dev] (no subject)

2015-05-16 Thread Alexandre Montplaisir
Hey, Ok, after some investigation, I found the problem. We specify * in the .install file, so I was wondering why that script was not being installed. Turns out that it gets ignored because it contains debian in its name. I assume the package building scripts want to ignore any debian/

Re: [lttng-dev] state tracking and missing statedump end

2015-05-15 Thread Alexandre Montplaisir
Hi Mathieu, Thanks for the info, good to know! However, we (in Trace Compass) don't actually make use of the statedump_end event. Should we? For now, we only use the lttng_statedump_process_state events in our state model. The information contained in these events is applied to the state

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

2015-03-29 Thread Alexandre Montplaisir
see this as a beginners confusion and not worth to spend time here. I'm quite happy to see the nice LTTng output ;) Wolfgang R. Gesendet: Freitag, 27. März 2015 um 14:52 Uhr Von: Mathieu Desnoyers mathieu.desnoy...@efficios.com An: Wolfgang Rostek wolfgang.ros...@gmx.de, Alexandre Montplaisir

Re: [lttng-dev] userspace-rcu-0.8.6 problems on MacOSX

2015-03-13 Thread Alexandre Montplaisir
On 2015-03-13 4:59 AM, Zifei Tong wrote: [...] gcc 4.9 from Homebrew works fine. For clang I have to apply a patch to move '__attribute__((__transparent_union__))' after the union declaration. I think this might be a clang bug. Indeed, I tested it with clang 3.5 on Linux and it gives the

Re: [lttng-dev] userspace-rcu-0.8.6 problems on MacOSX

2015-03-12 Thread Alexandre Montplaisir
Hi, Technically, liburcu is not supported on Mac, but if we can easily make it work, why not try! I tried compiling it on an OS X system (Yosemite, autoconf/automake installed from Homebrew), but got many errors like this one: In file included from wfcqueue.c:26:

Re: [lttng-dev] LTTng timestamp from NTP ( Network transfer protocol)

2015-03-09 Thread Alexandre Montplaisir
On 2015-03-09 01:45 PM, Jérémie Galarneau wrote: I'm not sure about Trace Compass, cc-ing Alexandre Montplaisir. Trace Compass can correlate traces taken on different hosts by using network events between them. See http://archive.eclipse.org/tracecompass/doc/org.eclipse.tracecompass.doc.user

Re: [lttng-dev] adding new channel

2015-02-20 Thread Alexandre Montplaisir
On 02/20/2015 02:05 PM, Philippe Proulx wrote: On Fri, Feb 20, 2015 at 2:00 PM, Anand Neeli anand.ne...@gmail.com wrote: Hi All, Is adding a new channel to an existing(running) session supported? No. i get following error when doing this. Error: Channel myc5: Tracing already started Is

Re: [lttng-dev] Limited event types displayed.

2015-02-19 Thread Alexandre Montplaisir
Hi, On 02/19/2015 06:31 AM, Neil Bryan wrote: Hello Forum, Now that I have got LTTng built, I have tried some preliminary tests. Unfortunately the results are not quite as I expect. I have used LTTng previously, although I did not perform the kernel integration. Using Eclipse TFM I could see

Re: [lttng-dev] [diamon-discuss] My experience on perf, CTF and TraceCompass, and some suggection.

2015-02-09 Thread Alexandre Montplaisir
On 02/07/2015 02:25 AM, Wang Nan wrote: On 2015/2/7 13:14, Alexandre Montplaisir wrote: On 2015-02-06 10:13 PM, Wang Nan wrote: I think such an approach could help in all 3 use cases you have presented. What do you think? Good to see you are looking at this problem. Frequency analysis you

Re: [lttng-dev] [diamon-discuss] My experience on perf, CTF and TraceCompass, and some suggection.

2015-02-06 Thread Alexandre Montplaisir
On 2015-02-06 10:13 PM, Wang Nan wrote: I think such an approach could help in all 3 use cases you have presented. What do you think? Good to see you are looking at this problem. Frequency analysis you mentioned is a good viewpoint for finding outliner. However, it should not be the only

Re: [lttng-dev] [diamon-discuss] My experience on perf, CTF and TraceCompass, and some suggection.

2015-01-23 Thread Alexandre Montplaisir
On 01/23/2015 04:35 AM, Wang Nan wrote: [...] I prefer to use: # perf record -a -e sched:* -e syscalls:* sleep 1 However there are some bugs and I have to make some patches. They are posted and being disscussed currently, those bugs are still exist upstream. Hmm, I can confirm this

Re: [lttng-dev] [diamon-discuss] My experience on perf, CTF and TraceCompass, and some suggection.

2015-01-23 Thread Alexandre Montplaisir
Hi Wang, First of all, thank you very much for posting this use case. This is exactly the type of user feedback that will help make the toolchain better and more useful for users! Some comments and questions below, On 01/23/2015 04:35 AM, Wang Nan wrote: [...] Then I need to convert

Re: [lttng-dev] Out of Tree Kernel Module

2015-01-21 Thread Alexandre Montplaisir
Hi, I have never tried this myself, but a similar question was asked on StackOverflow recently: http://stackoverflow.com/questions/27950396/is-it-possible-to-build-lttng-probe-module-outside-of-lttng-modules-tree and the author found a solution. Maybe this can help? Cheers, Alex On

Re: [lttng-dev] lttng module error

2015-01-05 Thread Alexandre Montplaisir
Hi, On 01/05/2015 12:58 AM, Divya Vyas wrote: Hi, I am getting this error while building lttng-modules folder: In function ‘lttng_statedump_process_ns’: /home/divya/Downloads/lttng-modules-a94de96/lttng-statedump-impl.c:301:2: error: implicit declaration of function ‘task_nsproxy’

Re: [lttng-dev] Errors compiling converted tp file

2014-12-12 Thread Alexandre Montplaisir
. Therefore, liburcu2 is the one you want to install. Looking at the dependencies, it seems that installing lttng-tools and lttng-modules-dkms (from the PPA) should have you covered and install everything you need. CC-ing Alexandre Montplaisir who maintains most of these packages. Regards, Jérémie

Re: [lttng-dev] Stress tests added to ctf testsuite

2014-11-16 Thread Alexandre Montplaisir
Hi Mathieu, Looks great! Preliminary testing shows that Trace Compass also blows up in many different ways, but hey that's expected ;) If I may suggest, having a script, either shell or Python, to just generate/clean the test traces would be very useful. We don't use the run.sh scripts in CI

Re: [lttng-dev] Stress tests added to ctf testsuite

2014-11-16 Thread Alexandre Montplaisir
, and the more we will have, the less sense it will make to generate them all at test start. Thanks! Mathieu - Original Message - From: Alexandre Montplaisir alexmon...@voxpopuli.im To: Mathieu Desnoyers mathieu.desnoy...@efficios.com, Matthew Khouzam matthew.khou...@ericsson.com Cc: lttng

Re: [lttng-dev] babeltrace CTF - Text - CTF

2014-11-11 Thread Alexandre Montplaisir
Hi, babeltrace-log is just a small tool that wraps a text file in CTF. It is not a lossless conversion back to CTF format from a babeltrace output. To do that, you would need to do something like: $ babeltrace -i text -o ctf ... but that is not supported yet. So it's expected that the

Re: [lttng-dev] babeltrace-python bindings

2014-11-06 Thread Alexandre Montplaisir
Hi, Just a note, the python bindings are also packaged in the Debian/Ubuntu packages, under the python3-babeltrace package. On Ubuntu it's only available on 12.10 and up though, but it should be available if one uses the PPA packages. Cheers, Alexandre On 11/06/2014 03:00 AM, Julien

Re: [lttng-dev] babeltrace-python bindings

2014-11-06 Thread Alexandre Montplaisir
Ubuntu 12.10 I meant 14.10 (Utopic), my bad. On 11/06/2014 06:40 PM, Alexandre Montplaisir wrote: Hi, Just a note, the python bindings are also packaged in the Debian/Ubuntu packages, under the python3-babeltrace package. On Ubuntu it's only available on 12.10 and up though

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

2014-10-17 Thread Alexandre Montplaisir
Hi Sébastien, You could always write custom scripts using grep and sed, but those tend to be a bit inflexible. ;) Have you heard about Trace Compass [1] (previously known as TMF, or The Eclipse LTTng plugin) ? It's a generic trace viewer and analyzer based on Eclipse, and it supports LTTng

Re: [lttng-dev] Announcing the new LTTng website

2014-10-11 Thread Alexandre Montplaisir
Hi Christian, Very nice work! It's very Web 3.0, I like it! The documentation page is particularly good. It manages to make doc not look boring! Other random comments: apt-get and yum (and zypper too afaik) support more than one package on the command line. On the Downloads page, you could

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

2014-08-06 Thread Alexandre Montplaisir
On 08/06/2014 10:49 AM, Simon Marchi wrote: On 6 August 2014 10:13, Jonathan Rajotte Julien jonathan.r.jul...@gmail.com wrote: 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

Re: [lttng-dev] LTTng not generating trace contents

2014-07-07 Thread Alexandre Montplaisir
Hi, Could you just do $ sudo apt-get install --reinstall lttng-modules-dkms and check in the output if you have any errors, or if it really installs successfully? Maybe Ubuntu's patches already trickled down to 12.04 and you might be hitting https://bugs.lttng.org/issues/814 Thanks,

Re: [lttng-dev] LTTng not generating trace contents

2014-07-07 Thread Alexandre Montplaisir
a crash report and lttng-module-dkms exists in it too. Regards, Shariyar On Mon, Jul 7, 2014 at 2:04 PM, Alexandre Montplaisir alexmon...@voxpopuli.im wrote: Hi, Could you just do $ sudo apt-get install --reinstall lttng-modules-dkms and check in the output if you have any errors

Re: [lttng-dev] LTTng not generating trace contents

2014-07-07 Thread Alexandre Montplaisir
Alright, the stable- packages have been updated too. It should now be possible to install them on recent Ubuntu versions. Let us know if there are still any issues. Cheers, Alexandre On 07/07/2014 02:16 PM, Alexandre Montplaisir wrote: Great, thanks for testing, that means we'll have

Re: [lttng-dev] lttng ubuntu .deb packages

2014-06-12 Thread Alexandre Montplaisir
Yes! There are PPAs for Ubuntu packages, one for the stable branches: https://launchpad.net/~lttng/+archive/ppa and one for builds of the git master: https://launchpad.net/~lttng/+archive/daily Cheers, Alexandre On 06/12/2014 02:27 PM, Anand Neeli wrote: Hi All, are there latest ubuntu .deb

Re: [lttng-dev] Tracing custom text file using TMF or LTTV question

2014-06-12 Thread Alexandre Montplaisir
Hi Stavros, First, thanks for the interest :) To add support for a new trace type to TMF, you basically have 2 options: either you first convert your trace to another supported format, or you write a parser in TMF. In practice, the second option is easier. There is, imho, not much gain in

Re: [lttng-dev] lttng ubuntu .deb packages - compilation error

2014-06-12 Thread Alexandre Montplaisir
missing anything here? how can i compile for i386 using include files from deb. Thanks, Anand Neeli On Fri, Jun 13, 2014 at 12:28 AM, Alexandre Montplaisir alexmon...@voxpopuli.im wrote: Yes! There are PPAs for Ubuntu packages, one for the stable branches: https://launchpad.net/~lttng

Re: [lttng-dev] [PATCH] Add bzr revno to the version if in a bzr repository

2014-06-03 Thread Alexandre Montplaisir
Just to give some context, we had a problem with the Ubuntu PPA packages, where the version in version.h would not get set to anything, and the resulting binary wouldn't report a version number when doing lttng --version. Turned out it's because Launchpad imports everything to bzr branches,

Re: [lttng-dev] Does LTTng UST support ARM?

2014-05-30 Thread Alexandre Montplaisir
On 05/30/2014 04:53 AM, Hongbo Zhang wrote: Thank you Jan. Encouraged by the truth that LTTng UST does work on ARM, I paid more efforts and run it on my ARM board at last. I am using a Ubuntu on my board, and I installed lttng-ust and userspace-rcu from source codes, but installed lttng-tools

Re: [lttng-dev] Support for Linux 3.15 in lttng-modules 2.4 ?

2014-05-28 Thread Alexandre Montplaisir
On 14-05-28 11:51 AM, Mathieu Desnoyers wrote: Hi Alexandre, Since there has been an important tracepoint module API change between 3.14 and 3.15 in the Linux kernel, supporting 3.15 falls into the new feature category, so we don't plan to backport it to stable 2.4. lttng-modules 2.5.0

Re: [lttng-dev] [documentation] Drawing: LTTng trace session in relation to commandline options

2014-05-27 Thread Alexandre Montplaisir
Nice work! These kind of high-level diagrams can be really helpful to new users. Just a side-note wouldn't it be interesting to also carry the original (inkscape?) file in the git tree? That way if we want to make changes or additions we don't have to start over. Cheers, Alexandre On

Re: [lttng-dev] babeltrace

2014-05-08 Thread Alexandre Montplaisir
Hi, Every event type has different fields though. So the columns would vary from one event to another. Although I can see that if you add let's say context.pid to ALL events, then it would be nice in the CSV export to add this as a separate column. However, the viewer cannot know for sure that

Re: [lttng-dev] babeltrace

2014-05-08 Thread Alexandre Montplaisir
To avoid doing a complete first pass of the trace, you can just iterate on the event types as described in the metadata, and take note of all the possible field you can find in the trace. Then, during your only pass, you already know all your columns. That's true. Although right now TMF

Re: [lttng-dev] Trace just the my application processes

2014-03-17 Thread Alexandre Montplaisir
Hi Jon, If you use a semi-recent version of the Eclipse viewer (like the RCP one at http://lttng.org/eclipse ), it is possible to filter the entries in the CFV. Look for the left-most button in the view's toolbar. There is also the possibility to add filters at the tracer level when you setup

Re: [lttng-dev] baddr feature triggers deadlock in lttng-ust

2014-02-27 Thread Alexandre Montplaisir
Could it be hidden behind a non-default configure option, instead of completely removed? Alex On 14-02-27 04:30 PM, Mathieu Desnoyers wrote: Hi Paul, Please see http://bugs.lttng.org/issues/745, which explains a deadlock we just found out. We might have to disable the baddr dump feature,

Re: [lttng-dev] liblttng-ust-cyg-profile.so not found

2014-01-28 Thread Alexandre Montplaisir
On Ubuntu/Debian, there is no lib64, it's /usr/lib/x86_64-linux-gnu/ If you installed UST from the distro package, it should be at: /usr/lib/x86_64-linux-gnu/liblttng-ust-cyg-profile.so.0 (the .so symlink is only installed by the -dev package) If you installed from source, it would be at:

Re: [lttng-dev] Lttng state dump traces not present in 13.04 Ubuntu server distribution

2014-01-24 Thread Alexandre Montplaisir
Hmm, ok, if you use lttng list -k do they appear in the list of available events? One other thing I can think about is that the statedump itself takes a little bit of time to execute, so the statedump events are never at the very start of the trace. So if your traces are very short it's possible

Re: [lttng-dev] Lttng state dump traces not present in 13.04 Ubuntu server distribution

2014-01-23 Thread Alexandre Montplaisir
Hi, Can you confirm if the updated lttng-modules-dkms package really installed successfully? (You can uninstall/reinstall it and check in the output.) The problem with DKMS packages is that the .deb can build fine on the builder, but it fails to install on the user's machine depending on the

Re: [lttng-dev] Building LTTNG as a debian package

2013-11-21 Thread Alexandre Montplaisir
Hi, The packaging for distributions is usually managed by the distribution itself, not the upstream project. For the official Debian packages, you can search on packages.debian.org for the package names, and from there you can download the *.debian.tar.gz for the packaging recipe. Or follow the

Re: [lttng-dev] [PATCH lttng-ust 0/2] Shared object base address tracing

2013-11-13 Thread Alexandre Montplaisir
On 13-11-13 05:00 AM, Woegerer, Paul wrote: - Why does the statedump event seem to give many more libs than the push events? Could we be missing some dlopen's? For example, I traced glxgears by preloading liblttng-ust-dl.so: http://pastebin.com/HKVa9a4T Since ust_baddr:push/pop is based on

Re: [lttng-dev] [PATCH lttng-ust 0/2] Shared object base address tracing

2013-11-12 Thread Alexandre Montplaisir
Hi Paul, I tried your patches. It seems to work quite well! I had some questions/comments: - The events are called ust_baddr:push and ust_baddr:pop. To be consistent with the other wrapper libraries in UST, perhaps they should be called ust_dl:dlopen and ust_dl:dlclose or similar? - Why does

Re: [lttng-dev] LTTng project development activities November 2013

2013-11-06 Thread Alexandre Montplaisir
Thanks for the update Christian! Allow me to give a small update on the TMF (Tracing and Monitoring Framework, a.k.a. Eclipse trace viewer) front, most of which I did talk about in my presentation at LinuxCon. Recent features merged in git: - Stand-alone RCP version! This means it's now

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-03 Thread Alexandre Montplaisir
The Debian/Ubuntu packages for liblttng-ust and liburcu are multiarch-enabled, so you can install the :i386 and :amd64 versions in parallel. That way they will be tracked by the package manager, and won't linger around. Except that the Ubuntu LTTng packages are hopelessly behind right

Re: [lttng-dev] Making 32-bit user-space events on a 64-bit Linux system

2013-10-02 Thread Alexandre Montplaisir
Hi Daniel, Interesting, thanks for documenting your adventure! Some little notes: On 13-10-02 03:07 PM, Thibault, Daniel wrote: [...] Closing observations: What's the best, easiest way to get the 32-bit versions of popt and uuid? Some -dev packages are also multiarch, for example

[lttng-dev] Getting function names with lttng-ust-cyg-profile.so

2013-09-09 Thread Alexandre Montplaisir
Hi all, I've recently started playing with liblttng-ust-cyg-profile.so (aka, getting UST events from -finstrument-functions), and I have to say it's pretty nifty! I haven't done any benchmarks, but it's certainly faster than the typical printf() that people use with it... However, in the

Re: [lttng-dev] [PATCH lttv] Add build instructions for git tree pulls and use more standard formatting

2013-08-08 Thread Alexandre Montplaisir
On 13-08-07 03:48 PM, Vomlehn wrote: If the source is obtained directly from git, the file configure must be built with the autoconf tools. In addition, example shell commands are traditionally preceeded with a $ instead of a -, so this convention is used. --- README | 13 ++---

Re: [lttng-dev] Trace synchronization

2013-08-05 Thread Alexandre Montplaisir
Hi, The trace synchronization feature hasn't been merged in the Eclipse plugin yet, although it's very close. You can look at the latest version of the patch by Geneviève Bastien here: https://git.eclipse.org/r/#/c/14056/ However, we're currently considering doing a rework of how

Re: [lttng-dev] Mandatory name for some field in a CTF trace

2013-08-05 Thread Alexandre Montplaisir
On 13-08-05 03:48 PM, Mathieu Desnoyers wrote: * Yannick Brosseau (yannick.bross...@gmail.com) wrote: [...] Or should we write a second spec on the side for that kind of information? The question we want to answer is What do I need to put in a CTF file to make it possible for a viewer to

Re: [lttng-dev] Misc questions regarding kernel tracing

2013-07-26 Thread Alexandre Montplaisir
Hi Sébastien, On 13-07-26 12:36 PM, Sébastien Barthélémy wrote: Hello all, I am investigating a problem on a rt system which misses deadlines under load. Yet another occasion to use LTTng! But this comes with a bunch of newcomer questions. I'd like to reconstruct the state of the scheduler

Re: [lttng-dev] Release strategy

2013-07-24 Thread Alexandre Montplaisir
On 13-07-23 11:30 PM, Christian Babeux wrote: [...] For 2), the release roadmap is available at [1]. The roadmap is kind of a mess right now because bugs are assigned to older stable releases giving the wrong impression that some stable releases are way late. We would need a way to

Re: [lttng-dev] [linuxtools-dev] View for virtual machine monitoring

2013-07-09 Thread Alexandre Montplaisir
Hi Mohamad, Quite impressive! Small detail: I don't know if you use the exact same colors as the Control Flow View, but the color you use for vCPU preempted seems similar to the one used for the Interrupted (IRQ) state. You should make sure they can be differentiated if shown side-by-side. In

Re: [lttng-dev] issue when installing LTTng on ubuntu

2013-07-08 Thread Alexandre Montplaisir
Hi, On 13-06-26 06:01 PM, tarek slaymia wrote: hi all, when installing lttng on ubuntu12.04 an issue is displayed related to lttng-modules-dkms module. Title of displayed message : lttng-modules-dkms 2.0.2-0ubuntu1 : lttng-modules kernel module failed to build. in file included from

Re: [lttng-dev] Lttng filename

2013-06-28 Thread Alexandre Montplaisir
On 13-06-28 10:13 AM, Alex Mesa wrote: Good Morning, I would like to know if it is possible to include filename as an added event or if there any way to output the filename (path) to the following system calls: sys_open, sys_write, sched_process_fork, and read. Thank you. Hi, sys_open

Re: [lttng-dev] Mariadb+LTTng 2.x

2013-05-17 Thread Alexandre Montplaisir
Hi Yang, On 13-05-17 05:21 PM, Yang Wang wrote: It seems not this compatibility problem. I have removed all ust1.0 stuffs in the instrumented Mariadb code and replaced with lttng-ust 2.x say, tracepoint statements, trancepoint provider files, probes files and use the lib -llttng-ust instead

Re: [lttng-dev] [PATCH] Fix linker library order

2013-05-13 Thread Alexandre Montplaisir
On 13-05-11 10:59 PM, Mathieu Desnoyers wrote: * Francis Giraldeau (francis.girald...@gmail.com) wrote: Libraries must be specified after the binary target. merged, thanks! Mathieu This seems to have broken the daily PPA packages:

Re: [lttng-dev] checkinstall and lttng-ust with Java/JNI support

2013-04-24 Thread Alexandre Montplaisir
Hi Daniel, On 13-04-24 05:25 PM, Thibault, Daniel wrote: I was fooling around with checkinstall in order to create installation packages for lttng-modules, userspace-rcu, etc., when I ran into what seems a very obscure bug (googling for the error message unable to create

Re: [lttng-dev] Limitations on subbuf_size / num_subbuf?

2013-04-18 Thread Alexandre Montplaisir
On 13-04-18 02:11 AM, Amit Margalit wrote: Hi, Thank for the quick response. Here is the missing data: UST 2.6.32.12-205 (I had to make a tiny patch to make it compile) MemTotal: 24628852 kB lttng-ust-2.1.2 lttng-tools-2.1.1 lttng-modules-2.1.1 babeltrace-1.1.0

Re: [lttng-dev] Limitations on subbuf_size / num_subbuf?

2013-04-18 Thread Alexandre Montplaisir
On 13-04-18 01:11 PM, Mathieu Desnoyers wrote: * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: * Alexandre Montplaisir (alexmon...@voxpopuli.im) wrote: On 13-04-18 02:11 AM, Amit Margalit wrote: Hi, Thank for the quick response. Here is the missing data: UST 2.6.32.12-205 (I

Re: [lttng-dev] Limitations on subbuf_size / num_subbuf?

2013-04-18 Thread Alexandre Montplaisir
On 13-04-18 01:23 PM, Mathieu Desnoyers wrote: * Alexandre Montplaisir (alexmon...@voxpopuli.im) wrote: On 13-04-18 01:07 PM, Mathieu Desnoyers wrote: * Alexandre Montplaisir (alexmon...@voxpopuli.im) wrote: On 13-04-18 02:11 AM, Amit Margalit wrote: Hi, Thank for the quick response. Here

Re: [lttng-dev] TMF: inconsistencies in the context vtid reporting

2013-03-26 Thread Alexandre Montplaisir
On 13-03-26 07:24 AM, Sébastien Barthélémy wrote: I believe my kernel trace is complete, since the following command shows no output. $ babeltrace lttng-traces/auto-20130321-172308/kernel/ /dev/null My userspace trace is not complete. But I believe it does not matter, because the

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

2013-01-25 Thread Alexandre Montplaisir
Hi Daniel, On 13-01-25 12:32 PM, Thibault, Daniel wrote: [...] Until this old gold bug is fixed (which looks unlikely considering its age), maybe each package's configure.ac could be made to explicitly look into /usr/local/lib when /lib and /usr/lib fail? Or the ReadMe files of

Re: [lttng-dev] Unable to import big LTTng traces

2012-12-13 Thread Alexandre Montplaisir
On 12-12-12 12:59 AM, Radhika Chowdary wrote: Hi I am using linuxtools plugins for importing LTTng traces. I have a trace folder of size 400MB and when I try to import it in the Traces folder it takes for ever to import it. At the bottom left corner I see Indexing... Events view gets

Re: [lttng-dev] TMF current and future developments

2012-10-11 Thread Alexandre Montplaisir
, -- Alexandre Montplaisir DORSAL lab, École Polytechnique de Montréal ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] Viewing userspace apps traces

2012-10-03 Thread Alexandre Montplaisir
wrote: [...] On 10/02/2012 10:29 PM, Alexandre Montplaisir wrote: [...] What would you like see in your timeline representation exactly? Maybe we could give you some pointers as to how to implement such a view. (We're currently working on making it easy to extend the framework to implement new

Re: [lttng-dev] Viewing userspace apps traces

2012-10-02 Thread Alexandre Montplaisir
format, and that format is already supported in TMF. Cheers, -- Alexandre Montplaisir DORSAL lab, École Polytechnique de Montréal ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] Wich interface to use for lttng ust

2012-10-01 Thread Alexandre Montplaisir
On 12-10-01 10:59 AM, Mathieu Desnoyers wrote: * paul.chav...@fnac.net (paul.chav...@fnac.net) wrote: Hi. I would like to try lttng user space traces. I've found two documentations : - manual : http://lttng.org/files/ust/manual/ust.html - man page :

Re: [lttng-dev] User space tracing

2012-09-10 Thread Alexandre Montplaisir
Hi, In your example, you are running the tracer as root (with sudo) but your application is run by your own user. Somebody correct me if I'm wrong, but I assume that in a case like this the root tracer will not see the other user's applications. Could you try running the lttng commands without

Re: [lttng-dev] lttng command line user-friendliness

2012-09-10 Thread Alexandre Montplaisir
+1, Like, etc. The following bug was opened some time ago: http://bugs.lttng.org/issues/15 From what is said in the bug, it will require both the flight-recorder mode in the tracer, and the live-trace-reading feature in Babeltrace. Those are not implemented yet, but they shouldn't be too far

Re: [lttng-dev] Need help to install LTTng on Ubunto 10.04

2012-09-04 Thread Alexandre Montplaisir
. The 12.04 packages probably won't work on 10.04, since the latter didn't have multiarch. Cheers, -- Alexandre Montplaisir DORSAL lab, École Polytechnique de Montréal ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin

Re: [lttng-dev] Question about Transformation to CTF file

2012-08-09 Thread Alexandre Montplaisir
of the box, but it really helps understanding the CTF format. Cheers, -- Alexandre Montplaisir DORSAL lab, École Polytechnique de Montréal ___ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Re: [lttng-dev] Module lttng_tracer not found.

2012-07-30 Thread Alexandre Montplaisir
Hi, What steps did you use to install LTTng? Also can you please paste the output of: $ apt-cache policy lttng-modules-dkms Thanks, -- Alexandre Montplaisir DORSAL lab, École Polytechnique de Montréal On 12-07-29 04:26 PM, Rui Han wrote: Hi, I used lttng last week and didn't touch

Re: [lttng-dev] Question about lttng daemons

2012-07-26 Thread Alexandre Montplaisir
Hi, I can answer your first question ;) On 12-07-26 04:28 AM, changz wrote: Hi all, Is that possible to launch lttng daemons as a system service? i.e. we can start/stop/restart it like the services under /etc/init.d. Absolutely. Note that you only need to auto-start the lttng-sessiond. The

Re: [lttng-dev] lttng_2.0-eclipse-juno : Connection to a Remote Host : Unable to list kernel events

2012-07-05 Thread Alexandre Montplaisir
On 12-07-05 01:45 AM, somanath sahoo wrote: However i want to know how to make sure my user id present in the tracing group ? is there any command to list or include the users into the tracing group ? please enlightened on this. You can use $ cat /etc/group | grep tracing It will list the

Re: [lttng-dev] [UST PATCH] Add a multi-thread version of the 'hello' test program

2012-06-26 Thread Alexandre Montplaisir
On 12-06-26 02:03 AM, Mathieu Desnoyers wrote: * Alexandre Montplaisir (alexmon...@voxpopuli.im) wrote: [...] diff --git a/tests/hello-mt/README b/tests/hello-mt/README new file mode 100644 index 000..0584dca --- /dev/null +++ b/tests/hello-mt/README @@ -0,0 +1,11 @@ +This is a multi

  1   2   >