All of lore.kernel.org
 help / color / mirror / Atom feed
* lttng view on --live session vs direct babeltrace use on UST
@ 2016-09-14 20:49 Staffan Tjernstrom
  0 siblings, 0 replies; only message in thread
From: Staffan Tjernstrom @ 2016-09-14 20:49 UTC (permalink / raw)
  To: lttng-dev

I create a session with

lttng create --live 100000

add my events

lttng enable-event -u "my_provider:*"

start it

lttng start

then view the results.

lttng view

works fine, but I need to fine-tune the output fields (I need the
date, and utc time, in particular).

lttng view -e "/usr/bin/babeltrace --clock-date --clock-gmt"

produces the following error:

Trace directory:
net://localhost/host/e7ch1sapphire01.faction.local/auto-20160914-150040

[error] Unable to open trace directory
"net://localhost/host/e7ch1sapphire01.faction.local/auto-20160914-150040".
[warning] [Context] Cannot open_trace of format ctf at path
net://localhost/host/e7ch1sapphire01.faction.local/auto-20160914-150040.
[warning] [Context] cannot open trace
"net://localhost/host/e7ch1sapphire01.faction.local/auto-20160914-150040"
for reading.
[warning] errors occurred when opening trace
"net://localhost/host/e7ch1sapphire01.faction.local/auto-20160914-150040"
for reading, continuing anyway.

When I don't use a live session, the explicit version of lttng view
works as one would expect.

Does anyone have any good ideas where I'm going wrong?:

Kind Regards,
Staffan Tj.

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-14 21:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14 20:49 lttng view on --live session vs direct babeltrace use on UST Staffan Tjernstrom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.