Project

General

Profile

Actions

Bug #233

closed

Java applications do not register to the user's sessiond but to the root one

Added by Anonymous about 12 years ago. Updated almost 12 years ago.

Status:
Invalid
Priority:
Normal
Target version:
-
Start date:
05/03/2012
Due date:
% Done:

0%

Estimated time:

Description

When using UST's JNI interface from a Java application (and after making sure the class and tracepoint types are loaded), the list of available tracepoints does not show up when typing "lttng list -u".

However, they do show up when setting up a trace session as root and using "sudo lttng list -u". I can then enable them, and take a trace, and everything is fine.

The user is not in the "tracing" group, but the Java program is running under that user, so it shouldn't matter, right?

Possibly related, when the program loads the LttngUst class, the following error shows up in the console:

libust[10723/10728]: Error: Timed out waiting for ltt-sessiond (in lttng_ust_init() at lttng-ust-comm.c:888)

But then, as mentionned, the tracepoints appear for the root user and tracing works properly.

Actions

Also available in: Atom PDF