On Wed, Jun 21, 2023 at 6:02 PM Brian Hutchinson <b.hutch...@gmail.com> wrote: > > On Wed, Jun 21, 2023 at 4:21 PM Mathieu Desnoyers > <mathieu.desnoy...@efficios.com> wrote: > > > > On 6/20/23 18:02, Brian Hutchinson wrote: > > > On Thu, May 11, 2023 at 2:14 PM Mathieu Desnoyers > > > <mathieu.desnoy...@efficios.com> wrote: > > >> > > >> On 2023-05-11 14:13, Mathieu Desnoyers via lttng-dev wrote: > > >>> On 2023-05-11 12:36, Brian Hutchinson via lttng-dev wrote: > > >>>> ... more background. I've always used ltt in the kernel so I don't > > >>>> have much experience with the user side of it and especially > > >>>> multi-threaded, multi-core so I'm probably missing some fundamental > > >>>> concepts that I need to understand. > > >>> > > >>> Which are the exact versions of LTTng-UST and LTTng-Tools you are using > > >>> now ? (2.13.N or which git commit ?) > > >>> > > >> > > >> Also, can you try using lttng-ust stable-2.13 branch, which includes the > > >> following commit ? > > >> > > >> commit be2ca8b563bab81be15cbce7b9f52422369f79f7 > > >> Author: Mathieu Desnoyers <mathieu.desnoy...@efficios.com> > > >> Date: Tue Feb 21 14:29:49 2023 -0500 > > >> > > >> Fix: Reevaluate LTTNG_UST_TRACEPOINT_DEFINE each time tracepoint.h > > >> is included > > >> > > >> Fix issues with missing symbols in use-cases where tracef.h is > > >> included > > >> before defining LTTNG_UST_TRACEPOINT_DEFINE, e.g.: > > >> > > >> #include <lttng/tracef.h> > > >> #define LTTNG_UST_TRACEPOINT_DEFINE > > >> #include <provider.h> > > >> > > >> It is caused by the fact that tracef.h includes tracepoint.h in a > > >> context which has LTTNG_UST_TRACEPOINT_DEFINE undefined, and this > > >> is not > > >> re-evaluated for the following includes. > > >> > > >> Fix this by lifting the definition code in tracepoint.h outside of > > >> the > > >> header include guards, and #undef the old > > >> LTTNG_UST__DEFINE_TRACEPOINT > > >> before re-defining it to its new semantic. Use a new > > >> _LTTNG_UST_TRACEPOINT_DEFINE_ONCE include guard within the > > >> LTTNG_UST_TRACEPOINT_DEFINE defined case to ensure symbols are not > > >> duplicated. > > >> > > >> Signed-off-by: Mathieu Desnoyers <mathieu.desnoy...@efficios.com> > > >> Change-Id: I0ef720435003a7ca0bfcf29d7bf27866c5ff8678 > > >> > > > > > > I applied this patch and if I use "tracef" type calls in our > > > application that is made up of a bunch of static libs ... the UST > > > trace calls work. I verified that traces that were called from > > > several different static libs all worked. > > > > > > But as soon as I include a "tracepoint" style tracepoint (that uses > > > trace provider include files etc.) then doing a "lttng list -u" > > > returns "None" for UST events. > > > > > > Is there some kind of rule that says a file can't use both tracef and > > > tracepoint calls? Is there something special you have to do to use > > > tracef and tracepoints in same file? Doing so appears to have broken > > > everything. > > > > It should just work. > > > > Can you provide a minimal example of the compile unit having this > > issue ? > > > > Also you mention "static libs". Make sure you do *not* define > > "LTTNG_UST_TRACEPOINT_PROBE_DYNAMIC_LINKAGE" in this case. See the > > lttng-ust(3) man page for details (section "Statically linking the > > tracepoint provider"). > > About that. It's a big project so all of our components are compiled > as static libs and linked into one big executable at the end, I'm not > using lttng-ust static libs. I'm linking final executable with > -llttng-ust and -ldl > > I also have another question I just thought of regarding trace provider code. > > We've got a bunch of C code that is being compiled with g++. I > initially had problems getting anything tracepoint related to work > (with 2.11) and read somewhere that the trace provider code needed to > be compiled with gcc so I built that by hand since our cmake build > system is pretty complicated and just copied the resulting C .obj into > our build directory structure for cmake to pick up and that worked. I > basically copied the gcc .obj over the broken one that cmake/g++ > generated. > > I'm not doing that now and am wrapping the -tp.h TRACEPOINT_EVENT > definitions with #ifdef __cplusplus extern "C" {} #endif /* > __cplusplus */ > > I'll have to go back and check my results as I've been on/off working > on this for a while but if I stub out tracepoint calls and just do > tracef it appears everything works. If I stub out tracef calls and > just do tracepoint calls I think that works too. The problem I have > is when I try to do both tracef and tracepoint in same file. That's > when nothing works. > > Is there an order to the includes? > > In the C source file in question I do: > > #include <lttng/tracef.h> > then later ... > #define TRACEPOINT_DEFINE > #include "my-tp.h" > > Hmm, now that I pay more attention, I don't see any mention of > traceprovider code needing to be compiled with gcc vs g++ in the 2.13 > documentation. > > ... and it looks like the traceprovider header changed to use > LTTNG_UST_ in front of everything and I'm still using lttng 2.11 > style! So I think my problem is probably associated with needing to > re-do my traceprovider code to update to 2.13 style. Don't know if > the C++ thing is still an issue./ >
I updated my trace provider package I created for lttng 2.11 to 2.13 syntax. I discovered why lttng list -u wasn't returning anything. It's because the application had a seg fault. Here is the debug trace of that: root@localhost:# lttng create my_session --output=/tmp/my_trace --snapshot Spawning a session daemon libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-metadata-mmap" init (in lttng_ring_buffer_metadata_client_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/metadata-template.h:364) libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-overwrite-mmap" init (in lttng_ring_buffer_client_overwrite_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-overwrite-rt-mmap" init (in lttng_ring_buffer_client_overwrite_rt_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-discard-mmap" init (in lttng_ring_buffer_client_discard_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-discard-rt-mmap" init (in lttng_ring_buffer_client_discard_rt_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) [ 2867.702128] LTTng: Loaded modules v2.13.9 (Nordicit�é) [ 2867.711872] LTTng: Experimental bitwise enum enabled. libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-discard-rt-mmap" exit (in lttng_ring_buffer_client_discard_rt_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:833) libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-discard-mmap" exit (in lttng_ring_buffer_client_discard_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:833) libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-overwrite-rt-mmap" exit (in lttng_ring_buffer_client_overwrite_rt_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:833) libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-overwrite-mmap" exit (in lttng_ring_buffer_client_overwrite_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:833) libringbuffer-clients[41538/41538]: LTT : ltt ring buffer client "relay-metadata-mmap" exit (in lttng_ring_buffer_metadata_client_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/metadata-template.h:371) Snapshot session my_session created. Default snapshot output set to /tmp/my_trace Every channel enabled for this session will be set to mmap output and default to overwrite mode. root@localhost:# ./my_app liblttng_ust[42358/42358]: dlopened liblttng-ust shared library (liblttng-ust.so.1). (in lttng_ust_ctor() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:2217) liblttng_ust_tracepoint[42358/42358]: Your compiler treats weak symbols with hidden visibility for integer objects as SAME address between compile units part of the same module. (in check_weak_hidden() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:10) liblttng_ust_tracepoint[42358/42358]: Your compiler treats weak symbols with hidden visibility for pointer objects as SAME address between compile units part of the same module. (in check_weak_hidden() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:10) liblttng_ust_tracepoint[42358/42358]: Your compiler treats weak symbols with hidden visibility for 24-byte structure objects as SAME address between compile units part of the same module. (in check_weak_hidden() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/trace) liblttng_ust_tracepoint[42358/42358]: just registered a tracepoints section from 0xffff90b64630 and having 26 tracepoints (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:960) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_statedump:end" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_statedump:procname" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_statedump:debug_link" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_statedump:build_id" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_statedump:bin_info" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_statedump:start" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_lib:unload" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_lib:debug_link" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_lib:build_id" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_lib:load" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracef:event" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_LINE" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_FUNCTION" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_UNIT" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_MODULE" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_PROCESS" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_PROGRAM" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_SYSTEM" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_INFO" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_NOTICE" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_ERR" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_CRIT" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_ALERT" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[42358/42358]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_EMERG" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust[42358/42358]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: adding probe lttng_ust_statedump containing 6 events to lazy registration list (in lttng_ust_probe_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:254) libringbuffer-clients[42358/42358]: LTT : ltt ring buffer client "relay-metadata-mmap" init (in lttng_ring_buffer_metadata_client_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/metadata-template.h:364) libringbuffer-clients[42358/42358]: LTT : ltt ring buffer client "relay-overwrite-mmap" init (in lttng_ring_buffer_client_overwrite_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) libringbuffer-clients[42358/42358]: LTT : ltt ring buffer client "relay-overwrite-rt-mmap" init (in lttng_ring_buffer_client_overwrite_rt_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) libringbuffer-clients[42358/42358]: LTT : ltt ring buffer client "relay-discard-mmap" init (in lttng_ring_buffer_client_discard_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) libringbuffer-clients[42358/42358]: LTT : ltt ring buffer client "relay-discard-rt-mmap" init (in lttng_ring_buffer_client_discard_rt_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) liblttng_ust[42358/42360]: Info: sessiond not accepting connections to local apps socket (in ust_listener_thread() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1884) liblttng_ust[42358/42360]: Waiting for local apps sessiond (in wait_for_sessiond() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1758) liblttng_ust[42358/42359]: Message Received "Get Tracer Version" (65), Handle "root" (0) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[42358/42359]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Message Received "Create event notifier group" (70), Handle "root" (0) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Return value: 1 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Message Received "Create Counter" (192), Handle "event_notifier_" (1) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: counter data received (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1266) liblttng_ust[42358/42359]: Return value: 2 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Message Received "Create Counter CPU" (209), Handle "event_notifier " (2) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Message Received "Create Counter CPU" (209), Handle "event_notifier " (2) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Message Received "Create Counter CPU" (209), Handle "event_notifier " (2) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Message Received "Create Counter CPU" (209), Handle "event_notifier " (2) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42359]: Message Received "Registration Done" (68), Handle "root" (0) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[42358/42358]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42359]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[42358/42358]: adding probe lttng_ust_lib containing 4 events to lazy registration list (in lttng_ust_probe_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:254) liblttng_ust_tracepoint[42358/42358]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust[42358/42358]: Provider "lttng_ust_tracef" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracef" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: adding probe lttng_ust_tracef containing 1 events to lazy registration list (in lttng_ust_probe_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:254) liblttng_ust_tracepoint[42358/42358]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42358]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[42358/42359]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[42358/42358]: adding probe lttng_ust_tracelog containing 15 events to lazy registration list (in lttng_ust_probe_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:254) liblttng_ust_tracepoint[42358/42358]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) Segmentation fault Not sure exactly what is going on. I did the hello world example stand alone and it worked. Thinking I messed up something in my trace provider package I simply used the hello world one that worked and put the tracepoint "lttng_ust_tracepoint(hello_world, my_first_tracepoint, 23,"hi there!");" in my app and it segfaults. This is using lttng-tools 2.13.9 with patches (from OE recipe): file://0001-tests-do-not-strip-a-helper-library.patch \ file://run-ptest \ file://lttng-sessiond.service \ file://disable-tests.patch \ file://0001-compat-Define-off64_t-as-off_t-on-linux.patch lttng-ust 2.13.5 with patches: file://0001-python-lttngust-Makefile.am-Add-install-lib-to-setup.patch \ file://0001-lttng-ust-common-link-with-liburcu-explicitly.patch \ file://0001-Makefile.am-update-rpath-link.patch And I manually added patch: Fix: Reevaluate LTTNG_UST_TRACEPOINT_DEFINE each time tracepoint.h is included lttng-modules 2.13.9 with patches: file://0009-Rename-genhd-wrapper-to-blkdev.patch \ file://0001-fix-mm-introduce-vma-vm_flags-wrapper-functions-v6.3.patch \ file://0002-fix-uuid-Decouple-guid_t-and-uuid_le-types-and-respe.patch \ file://0003-fix-btrfs-pass-find_free_extent_ctl-to-allocator-tra.patch \ file://0004-fix-net-add-location-to-trace_consume_skb-v6.3.patch Here is log of hello running right afterwards ... it does not seg fault: root@localhost:/home/root# ./hello liblttng_ust[61133/61133]: dlopened liblttng-ust shared library (liblttng-ust.so.1). (in lttng_ust_ctor() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:2217) liblttng_ust_tracepoint[61133/61133]: Your compiler treats weak symbols with hidden visibility for integer objects as SAME address between compile units part of the same module. (in check_weak_hidden() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:10) liblttng_ust_tracepoint[61133/61133]: Your compiler treats weak symbols with hidden visibility for pointer objects as SAME address between compile units part of the same module. (in check_weak_hidden() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:10) liblttng_ust_tracepoint[61133/61133]: Your compiler treats weak symbols with hidden visibility for 24-byte structure objects as SAME address between compile units part of the same module. (in check_weak_hidden() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/trace) liblttng_ust_tracepoint[61133/61133]: just registered a tracepoints section from 0xffffa61d9630 and having 26 tracepoints (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:960) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_statedump:end" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_statedump:procname" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_statedump:debug_link" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_statedump:build_id" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_statedump:bin_info" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_statedump:start" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_lib:unload" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_lib:debug_link" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_lib:build_id" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_lib:load" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracef:event" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_LINE" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_FUNCTION" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_UNIT" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_MODULE" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_PROCESS" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_PROGRAM" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_DEBUG_SYSTEM" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_INFO" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_NOTICE" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_ERR" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_CRIT" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_ALERT" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "lttng_ust_tracelog:LTTNG_UST_TRACEPOINT_LOGLEVEL_EMERG" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust[61133/61133]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: adding probe lttng_ust_statedump containing 6 events to lazy registration list (in lttng_ust_probe_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:254) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-metadata-mmap" init (in lttng_ring_buffer_metadata_client_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/metadata-template.h:364) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-overwrite-mmap" init (in lttng_ring_buffer_client_overwrite_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-overwrite-rt-mmap" init (in lttng_ring_buffer_client_overwrite_rt_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-discard-mmap" init (in lttng_ring_buffer_client_discard_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-discard-rt-mmap" init (in lttng_ring_buffer_client_discard_rt_init() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:826) liblttng_ust[61133/61140]: Info: sessiond not accepting connections to local apps socket (in ust_listener_thread() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1884) liblttng_ust[61133/61140]: Waiting for local apps sessiond (in wait_for_sessiond() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1758) liblttng_ust[61133/61139]: Message Received "Get Tracer Version" (65), Handle "root" (0) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[61133/61139]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Message Received "Create event notifier group" (70), Handle "root" (0) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Return value: 1 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Message Received "Create Counter" (192), Handle "event_notifier_" (1) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: counter data received (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1266) liblttng_ust[61133/61139]: Return value: 2 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Message Received "Create Counter CPU" (209), Handle "event_notifier " (2) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Message Received "Create Counter CPU" (209), Handle "event_notifier " (2) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Message Received "Create Counter CPU" (209), Handle "event_notifier " (2) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Message Received "Create Counter CPU" (209), Handle "event_notifier " (2) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61139]: Message Received "Registration Done" (68), Handle "root" (0) (in print_cmd() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:476) liblttng_ust[61133/61133]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61139]: Return value: 0 (in handle_message() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:1412) liblttng_ust[61133/61133]: adding probe lttng_ust_lib containing 4 events to lazy registration list (in lttng_ust_probe_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:254) liblttng_ust_tracepoint[61133/61133]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust[61133/61133]: Provider "lttng_ust_tracef" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracef" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: adding probe lttng_ust_tracef containing 1 events to lazy registration list (in lttng_ust_probe_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:254) liblttng_ust_tracepoint[61133/61133]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61139]: message successfully sent (in send_reply() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-ust-comm.c:656) liblttng_ust[61133/61133]: adding probe lttng_ust_tracelog containing 15 events to lazy registration list (in lttng_ust_probe_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:254) liblttng_ust_tracepoint[61133/61133]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust_tracepoint[61133/61133]: just registered a tracepoints section from 0xaaaaae9c41b8 and having 1 tracepoints (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:960) liblttng_ust_tracepoint[61133/61133]: registered tracepoint: "hello_world:my_first_tracepoint" (in lttng_ust_tracepoint_module_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:968) liblttng_ust[61133/61133]: Provider "hello_world" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: Provider "hello_world" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust[61133/61133]: adding probe hello_world containing 1 events to lazy registration list (in lttng_ust_probe_register() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:254) liblttng_ust_tracepoint[61133/61133]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) Hello, World! Press Enter to continue... Quitting now! liblttng_ust[61133/61133]: Provider "hello_world" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust_tracepoint[61133/61133]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust[61133/61133]: just unregistered probes of provider hello_world (in lttng_ust_probe_unregister() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:286) liblttng_ust_tracepoint[61133/61133]: just unregistered a tracepoints section from 0xaaaaae9c41b8 (in lttng_ust_tracepoint_module_unregister() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:995) liblttng_ust[61133/61133]: Provider "lttng_ust_tracelog" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust_tracepoint[61133/61133]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust[61133/61133]: just unregistered probes of provider lttng_ust_tracelog (in lttng_ust_probe_unregister() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:286) liblttng_ust[61133/61133]: Provider "lttng_ust_tracef" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust_tracepoint[61133/61133]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust[61133/61133]: just unregistered probes of provider lttng_ust_tracef (in lttng_ust_probe_unregister() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:286) liblttng_ust[61133/61133]: Provider "lttng_ust_lib" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust_tracepoint[61133/61133]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust[61133/61133]: just unregistered probes of provider lttng_ust_lib (in lttng_ust_probe_unregister() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:286) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-discard-rt-mmap" exit (in lttng_ring_buffer_client_discard_rt_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:833) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-discard-mmap" exit (in lttng_ring_buffer_client_discard_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:833) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-overwrite-rt-mmap" exit (in lttng_ring_buffer_client_overwrite_rt_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:833) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-overwrite-mmap" exit (in lttng_ring_buffer_client_overwrite_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/template.h:833) libringbuffer-clients[61133/61133]: LTT : ltt ring buffer client "relay-metadata-mmap" exit (in lttng_ring_buffer_metadata_client_exit() at ../../../lttng-ust-2.13.5/src/common/ringbuffer-clients/metadata-template.h:371) liblttng_ust[61133/61133]: Provider "lttng_ust_statedump" accepted, version 3.0 is compatible with LTTng UST provider version 3.0. (in check_provider_version() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:50) liblttng_ust_tracepoint[61133/61133]: Release queue of unregistered tracepoint probes. (in lttng_ust_tp_probe_prune_release_queue() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:787) liblttng_ust[61133/61133]: just unregistered probes of provider lttng_ust_statedump (in lttng_ust_probe_unregister() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust/lttng-probes.c:286) liblttng_ust_tracepoint[61133/61133]: just unregistered a tracepoints section from 0xffffa61d9630 (in lttng_ust_tracepoint_module_unregister() at ../../../../lttng-ust-2.13.5/src/lib/lttng-ust-tracepoint/tracepoint.c:995) Regards, Brian _______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev