Hello All,

I am running into this problem where using babeltrace with python bindings
is unable to read a ust trace even though the trace can be processed
normally if I run babeltrace from the command line.

I have tried the example given in the LTTng documentation for using
babeltrace with python bindings. It works normally with a kernel trace.
However, when I give it a ust trace (just to see if it can open it) I get
the following error:

Unable to open metadata.
[warning] Unable to open trace metadata for path "/md1200/home/elsayed9/
LTTng/lttng-traces/hello-test-session-20180219-184952/ust/".
[warning] [Context] Cannot open_trace of format ctf at path
/md1200/home/elsayed9/LTTng/lttng-traces/hello-test-session-20180219-184952/
ust/.
Traceback (most recent call last):
  File "test.py", line 70, in <module>
    sys.exit(0 if top5proc() else 1)
  File "test.py", line 18, in top5proc
    raise RuntimeError('Cannot add trace')
RuntimeError: Cannot add trace

Any ideas on how to solve this problem are greatly appreciated.

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

Reply via email to