[lttng-dev] Problem with perf:thread in 2.5

Alexander Grigoriev alexgri at tbricks.com
Tue Sep 30 09:23:50 EDT 2014


Hello,

I use lttng-2.5 and linux-3.8.13. When I try to add context with several
performance counters after start program with tracepoints, I get the
following error:

> app_with_lttng &  // { tracepoint(test, test, 1); sleep(1000); }
[1] 19297

> lttng destroy -a
No session found, nothing to do.

> lttng -vvv create test
DEBUG3 - 14:54:42.713573 [19313/19313]: URI string:
file:///home/alexgri/lttng-traces/test-20140930-145442 (in uri_parse() at
uri.c:293)
DEBUG3 - 14:54:42.713607 [19313/19313]: URI file destination:
/home/alexgri/lttng-traces/test-20140930-145442 (in uri_parse() at
uri.c:330)
DEBUG3 - 14:54:42.713616 [19313/19313]: URI dtype: 3, proto: 0, host: ,
subdir: , ctrl: 0, data: 0 (in uri_parse() at uri.c:507)
DEBUG1 - 14:54:42.713667 [19313/19313]: LSM cmd type : 8 (in
send_session_msg() at lttng-ctl.c:131)
Session test created.
Traces will be written in /home/alexgri/lttng-traces/test-20140930-145442
DEBUG1 - 14:54:42.715819 [19313/19313]: Init config session in
/home/alexgri (in config_init() at conf.c:295)

> lttng -vvv add-context -u -t vpid -t perf:thread:cpu-cycles -t
perf:thread:instructions -t perf:thread:cache-misses -s test
DEBUG1 - 14:54:52.124745 [19316/19316]: Adding context... (in add_context()
at commands/add_context.c:600)
DEBUG1 - 14:54:52.133393 [19316/19316]: LSM cmd type : 0 (in
send_session_msg() at lttng-ctl.c:131)
UST context vpid added to all channels
DEBUG1 - 14:54:52.153445 [19316/19316]: Adding context... (in add_context()
at commands/add_context.c:600)
DEBUG1 - 14:54:52.153499 [19316/19316]: LSM cmd type : 0 (in
send_session_msg() at lttng-ctl.c:131)
UST context perf:thread:cpu-cycles added to all channels
DEBUG1 - 14:54:52.154356 [19316/19316]: Adding context... (in add_context()
at commands/add_context.c:600)
DEBUG1 - 14:54:52.154392 [19316/19316]: LSM cmd type : 0 (in
send_session_msg() at lttng-ctl.c:131)
Error: perf:thread:instructions: UST context already exist
DEBUG1 - 14:54:52.154469 [19316/19316]: Adding context... (in add_context()
at commands/add_context.c:600)
DEBUG1 - 14:54:52.154525 [19316/19316]: LSM cmd type : 0 (in
send_session_msg() at lttng-ctl.c:131)
Error: perf:thread:cache-misses: UST context already exist
Warning: Some command(s) went wrong
DEBUG1 - 14:54:52.154620 [19316/19316]: Clean exit (in clean_exit() at
lttng.c:167)

'lttng-sessiond -vvv' logs in attachment

Thanks,
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140930/c402fa77/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lttng-sessiond-vvv.log
Type: application/octet-stream
Size: 45327 bytes
Desc: not available
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140930/c402fa77/attachment-0001.obj>


More information about the lttng-dev mailing list