Re: [lttng-dev] User Space Tracing

2018-09-27 Thread Mathieu Desnoyers
Good catch Philippe, I pushed a commit that enforces validation of event class/instance prototypes (TP_ARGS()) at compile-time. It is pushed into lttng-ust master as: commit c75c0422c64f33c0102e1778cecc812c58b700e5 Author: Mathieu Desnoyers Date: Thu Sep 27 15:21:16 2018 -0400 Fix: check

Re: [lttng-dev] User Space Tracing

2018-09-27 Thread Philippe Proulx
In `resolution_management_tp.tp`, can you try using the exact same `TP_ARGS` content for both `TRACEPOINT_EVENT_INSTANCE` (also matching the `TP_ARGS` content of `TRACEPOINT_EVENT_CLASS`)? It's the only difference I can see. Philippe Proulx Philippe Proulx On Thu, Sep 27, 2018 at 12:15 PM John O

Re: [lttng-dev] User-space tracing by the root lttng-sessiond

2013-05-14 Thread Mathieu Desnoyers
* Thibault, Daniel (daniel.thiba...@drdc-rddc.gc.ca) wrote: > > > (Question: If there were several users active at once, would there be > > > several root user-space lttng-consumerd daemons or still just one?) > > > > no > >Please clarify: no, there will be several root user-space >lttng

Re: [lttng-dev] User-space tracing by the root lttng-sessiond

2013-05-14 Thread Thibault, Daniel
> > (Question: If there were several users active at once, would there be > > several root user-space lttng-consumerd daemons or still just one?) > > no Please clarify: no, there will be several root user-space lttng-consumerd daemons or no, there will be just one root user-space lttng-consu

Re: [lttng-dev] User-space tracing by the root lttng-sessiond

2013-05-14 Thread Mathieu Desnoyers
* Thibault, Daniel (daniel.thiba...@drdc-rddc.gc.ca) wrote: >I ran a little experiment whose results surprised me. Using a non-tracing > group user account, I first made sure I had a root lttng-sessiond running and > a user-space lttng-sessiond. In the first I set up a trace for some kernel

Re: [lttng-dev] User space tracing

2012-09-11 Thread Per Nilsson
Hi, The directory is empty. This is what I try to show in the following command sequence below. per@per-VirtualBox:~$ sudo ls /home/per/lttng-traces/foo-20120905-135905/ust per@per-VirtualBox:~$ sudo babeltrace /home/per/lttng-traces/foo-20120905-135905/ust BR /per ___

Re: [lttng-dev] User space tracing

2012-09-10 Thread Mathieu Desnoyers
* Per Nilsson (per.e.nils...@ericsson.com) wrote: > Hi, > I am trying to get started with userspace tracing with LTTng, but I am having > a hard time to get it to work. > I'm using Ubunto 11.04, with kernel version: 2.6.38-8-generic. > > I downloaded and compiled the following lttng software: >

Re: [lttng-dev] User space tracing

2012-09-10 Thread Brosseau, Yannick
The root session deamon will see all application from any users On Sep 10, 2012 10:51 AM, "Alexandre Montplaisir" wrote: > 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 th

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] User space tracing

2012-09-10 Thread Irina Guilman
Per, You dont get traces at all, or you do get them but babeltrace fails to convert them? If you open /home/per/lttng-traces/foo-20120905-135905/ust/*/metadata can you see your events? From: Per Nilsson [mailto:per.e.nils...@ericsson.com] Sent: September-10-12