|
|
|
PL-4:~ # ps -eaf | egrep "trace|lttng|TestApp"
|
|
root 5628 1 0 10:50 ? 00:00:00 lttng-sessiond -d
|
|
root 5715 1 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 5725 1 0 10:50 ? 00:00:00 /opt/trace/sbin/trace_p
|
|
root 5789 5715 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 6785 5628 0 11:02 ? 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
|
|
root 10988 7858 0 12:10 pts/0 00:00:00 egrep trace|lttng|TestApp
|
|
PL-4:~ #
|
|
PL-4:~ #
|
|
PL-4:~ # ps -eaf | egrep "trace|lttng|demo"
|
|
root 5628 1 0 10:50 ? 00:00:00 lttng-sessiond -d
|
|
root 5715 1 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 5725 1 0 10:50 ? 00:00:00 /opt/trace/sbin/trace_p
|
|
root 5789 5715 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 6785 5628 0 11:02 ? 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
|
|
root 11006 7858 0 12:10 pts/0 00:00:00 egrep trace|lttng|demo
|
|
PL-4:~ #
|
|
PL-4:~ #
|
|
PL-4:~ # lttng list
|
|
Currently no available tracing session
|
|
PL-4:~ #
|
|
PL-4:~ #
|
|
PL-4:~ # lttng list -u
|
|
UST events:
|
|
-------------
|
|
None
|
|
|
|
PL-4:~ #
|
|
PL-4:~ #
|
|
PL-4:~ # cd /cluster/temp/tdlt/
|
|
PL-4:/cluster/temp/tdlt # ll
|
|
total 296
|
|
-rwxr-xr-x 1 root root 81735 Aug 15 00:02 TestApp_Fork1_noLttng
|
|
-rwxr-xr-x 1 root root 87926 Aug 8 09:38 TestApp_Thread100
|
|
drwxr-xr-x 4 root root 4096 Aug 15 00:00 TestApp_bin_for_ProgrammerGuide
|
|
-rw-r--r-- 1 root root 119 Aug 8 16:58 bashrc_for_Stability
|
|
-rwxr-xr-x 1 root root 98840 Aug 15 00:02 liblttng-ust-provider-TestApp-Fork1.so
|
|
drwxr-xr-x 2 root root 4096 Aug 15 12:06 lttng_demo_bin
|
|
-rw-r--r-- 1 root root 255 Aug 13 15:43 prof1.txt
|
|
PL-4:/cluster/temp/tdlt # cd lttng_demo_bin/
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # ll
|
|
total 96
|
|
-rwxr-xr-x 1 root root 25142 Aug 15 12:06 demo
|
|
-rwxr-xr-x 1 root root 119 Aug 15 12:06 demo-trace
|
|
-rwxr-xr-x 1 root root 40243 Aug 15 12:06 liblttng-ust-provider-ust-tests-demo.so
|
|
-rwxr-xr-x 1 root root 24012 Aug 15 12:06 liblttng-ust-provider-ust-tests-demo3.so
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # ./demo-trace 500 &
|
|
[1] 11067
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # Demo program starting.
|
|
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng list -u
|
|
UST events:
|
|
-------------
|
|
|
|
PID: 11068 - Name: ./demo
|
|
ust_tests_demo2:loop (loglevel: TRACE_WARNING (4)) (type: tracepoint)
|
|
ust_tests_demo:done (loglevel: TRACE_CRIT (2)) (type: tracepoint)
|
|
ust_tests_demo:starting (loglevel: TRACE_CRIT (2)) (type: tracepoint)
|
|
ust_tests_demo3:done (loglevel: TRACE_WARNING (4)) (type: tracepoint)
|
|
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # pkill demo
|
|
[1]+ Terminated ./demo-trace 500
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # ps -eaf | egrep "trace|lttng|demo"
|
|
root 5628 1 0 10:50 ? 00:00:00 lttng-sessiond -d
|
|
root 5715 1 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 5725 1 0 10:50 ? 00:00:00 /opt/trace/sbin/trace_p
|
|
root 5789 5715 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 6785 5628 0 11:02 ? 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
|
|
root 11105 7858 0 12:12 pts/0 00:00:00 egrep trace|lttng|demo
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng create ses1
|
|
Session ses1 created.
|
|
Traces will be written in /root/lttng-traces/ses1-20120815-121256
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng enable-event ust_tests_demo* -u
|
|
UST event ust_tests_demo* created in channel channel0
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng list
|
|
Available tracing sessions:
|
|
1) ses1 (/root/lttng-traces/ses1-20120815-121256) [inactive]
|
|
|
|
Use lttng list <session_name> for more details
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng list ses1
|
|
Tracing session ses1: [inactive]
|
|
Trace path: /root/lttng-traces/ses1-20120815-121256
|
|
|
|
=== Domain: UST global ===
|
|
|
|
Channels:
|
|
-------------
|
|
- channel0: [enabled]
|
|
|
|
Attributes:
|
|
overwrite mode: 0
|
|
subbufers size: 4096
|
|
number of subbufers: 4
|
|
switch timer interval: 0
|
|
read timer interval: 200
|
|
output: mmap()
|
|
|
|
Events:
|
|
ust_tests_demo* (type: tracepoint) [enabled]
|
|
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # LTTNG_UST_DEBUG=1 ./demo-trace 80 &
|
|
[1] 11262
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # liblttng_ust_tracepoint[11263/11263]: just registered a tracepoints section from 0x7f74158a4bf8 and having 1 tracepoints (in tracepoint_register_lib() at tracepoint.c:639)
|
|
liblttng_ust_tracepoint[11263/11263]: registered tracepoint: lttng_ust:metadata (in tracepoint_register_lib() at tracepoint.c:644)
|
|
libust[11263/11263]: just registered probe lttng_ust containing 1 events (in ltt_probe_register() at ltt-probes.c:109)
|
|
libust[11263/11263]: Registered event probe "lttng_ust:metadata" with signature "const char *, str" (in ltt_probe_register() at ltt-probes.c:118)
|
|
libust[11263/11263]: LTT : ltt ring buffer client init
|
|
(in ltt_ring_buffer_metadata_client_init() at ltt-ring-buffer-metadata-client.h:334)
|
|
libust[11263/11263]: LTT : ltt ring buffer client init
|
|
(in ltt_ring_buffer_client_overwrite_init() at ltt-ring-buffer-client.h:584)
|
|
libust[11263/11263]: LTT : ltt ring buffer client init
|
|
(in ltt_ring_buffer_client_discard_init() at ltt-ring-buffer-client.h:584)
|
|
libust[11263/11265]: Info: sessiond not accepting connections to local apps socket (in ust_listener_thread() at lttng-ust-comm.c:716)
|
|
libust[11263/11265]: Waiting for local apps sessiond (in wait_for_sessiond() at lttng-ust-comm.c:638)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11263]: just registered probe ust_tests_demo3 containing 1 events (in ltt_probe_register() at ltt-probes.c:109)
|
|
libust[11263/11263]: Registered event probe "ust_tests_demo3:done" with signature "int, value" (in ltt_probe_register() at ltt-probes.c:118)
|
|
liblttng_ust_tracepoint[11263/11263]: Registering probe to tracepoint ust_tests_demo3:done (in __tracepoint_probe_register() at tracepoint.c:427)
|
|
libust[11263/11263]: just registered probe ust_tests_demo2 containing 1 events (in ltt_probe_register() at ltt-probes.c:109)
|
|
libust[11263/11263]: Registered event probe "ust_tests_demo2:loop" with signature "int, anint, int, netint, long *, values, char *, text, size_t, textlen, double, doublearg, float, floatarg" (in ltt_probe_register() at ltt-probes.c:118)
|
|
liblttng_ust_tracepoint[11263/11263]: Registering probe to tracepoint ust_tests_demo2:loop (in __tracepoint_probe_register() at tracepoint.c:427)
|
|
libust[11263/11263]: just registered probe ust_tests_demo containing 2 events (in ltt_probe_register() at ltt-probes.c:109)
|
|
libust[11263/11263]: Registered event probe "ust_tests_demo:starting" with signature "int, value" (in ltt_probe_register() at ltt-probes.c:118)
|
|
liblttng_ust_tracepoint[11263/11263]: Registering probe to tracepoint ust_tests_demo:starting (in __tracepoint_probe_register() at tracepoint.c:427)
|
|
libust[11263/11263]: Registered event probe "ust_tests_demo:done" with signature "int, value" (in ltt_probe_register() at ltt-probes.c:118)
|
|
liblttng_ust_tracepoint[11263/11263]: Registering probe to tracepoint ust_tests_demo:done (in __tracepoint_probe_register() at tracepoint.c:427)
|
|
liblttng_ust_tracepoint[11263/11263]: just registered a tracepoints section from 0x602158 and having 4 tracepoints (in tracepoint_register_lib() at tracepoint.c:639)
|
|
liblttng_ust_tracepoint[11263/11263]: registered tracepoint: ust_tests_demo3:done (in tracepoint_register_lib() at tracepoint.c:644)
|
|
liblttng_ust_tracepoint[11263/11263]: registered tracepoint: ust_tests_demo2:loop (in tracepoint_register_lib() at tracepoint.c:644)
|
|
liblttng_ust_tracepoint[11263/11263]: registered tracepoint: ust_tests_demo:done (in tracepoint_register_lib() at tracepoint.c:644)
|
|
liblttng_ust_tracepoint[11263/11263]: registered tracepoint: ust_tests_demo:starting (in tracepoint_register_lib() at tracepoint.c:644)
|
|
Demo program starting.
|
|
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng list -u
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
UST events:
|
|
-------------
|
|
|
|
PID: 11263 - Name: ./demo
|
|
ust_tests_demo2:loop (loglevel: TRACE_WARNING (4)) (type: tracepoint)
|
|
ust_tests_demo:done (loglevel: TRACE_CRIT (2)) (type: tracepoint)
|
|
ust_tests_demo:starting (loglevel: TRACE_CRIT (2)) (type: tracepoint)
|
|
ust_tests_demo3:done (loglevel: TRACE_WARNING (4)) (type: tracepoint)
|
|
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng start
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
liblttng_ust_tracepoint[11263/11264]: Registering probe to tracepoint lttng_ust:metadata (in __tracepoint_probe_register() at tracepoint.c:427)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
Tracing started for session ses1
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng list
|
|
Available tracing sessions:
|
|
1) ses1 (/root/lttng-traces/ses1-20120815-121256) [active]
|
|
|
|
Use lttng list <session_name> for more details
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng list -u
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
libust[11263/11264]: message received
|
|
(in ust_listener_thread() at lttng-ust-comm.c:783)
|
|
libust[11263/11264]: message successfully sent (in send_reply() at lttng-ust-comm.c:217)
|
|
UST events:
|
|
-------------
|
|
|
|
PID: 11263 - Name: ./demo
|
|
ust_tests_demo2:loop (loglevel: TRACE_WARNING (4)) (type: tracepoint)
|
|
ust_tests_demo:done (loglevel: TRACE_CRIT (2)) (type: tracepoint)
|
|
ust_tests_demo:starting (loglevel: TRACE_CRIT (2)) (type: tracepoint)
|
|
ust_tests_demo3:done (loglevel: TRACE_WARNING (4)) (type: tracepoint)
|
|
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # ps -eaf | egrep "trace|lttng|demo"
|
|
root 5628 1 0 10:50 ? 00:00:00 lttng-sessiond -d
|
|
root 5715 1 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 5725 1 0 10:50 ? 00:00:00 /opt/trace/sbin/trace_p
|
|
root 5789 5715 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 6785 5628 0 11:02 ? 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
|
|
root 11262 7858 0 12:14 pts/0 00:00:00 /bin/sh ./demo-trace 80
|
|
root 11263 11262 0 12:14 pts/0 00:00:00 ./demo 80
|
|
root 11321 7858 0 12:15 pts/0 00:00:00 egrep trace|lttng|demo
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # Tracing... done.
|
|
liblttng_ust_tracepoint[11263/11263]: just unregistered a tracepoints section from 0x602158 (in tracepoint_unregister_lib() at tracepoint.c:679)
|
|
libust[11263/11263]: just unregistered probe ust_tests_demo (in ltt_probe_unregister() at ltt-probes.c:131)
|
|
libust[11263/11263]: just unregistered probe ust_tests_demo2 (in ltt_probe_unregister() at ltt-probes.c:131)
|
|
libust[11263/11263]: just unregistered probe ust_tests_demo3 (in ltt_probe_unregister() at ltt-probes.c:131)
|
|
liblttng_ust_tracepoint[11263/11263]: Un-registering probe from tracepoint lttng_ust:metadata (in __tracepoint_probe_unregister() at tracepoint.c:470)
|
|
liblttng_ust_tracepoint[11263/11263]: Un-registering probe from tracepoint ust_tests_demo:done (in __tracepoint_probe_unregister() at tracepoint.c:470)
|
|
liblttng_ust_tracepoint[11263/11263]: Un-registering probe from tracepoint ust_tests_demo:starting (in __tracepoint_probe_unregister() at tracepoint.c:470)
|
|
liblttng_ust_tracepoint[11263/11263]: Un-registering probe from tracepoint ust_tests_demo2:loop (in __tracepoint_probe_unregister() at tracepoint.c:470)
|
|
liblttng_ust_tracepoint[11263/11263]: Un-registering probe from tracepoint ust_tests_demo3:done (in __tracepoint_probe_unregister() at tracepoint.c:470)
|
|
libust[11263/11263]: LTT : ltt ring buffer client exit
|
|
(in ltt_ring_buffer_client_discard_exit() at ltt-ring-buffer-client.h:590)
|
|
libust[11263/11263]: LTT : ltt ring buffer client exit
|
|
(in ltt_ring_buffer_client_overwrite_exit() at ltt-ring-buffer-client.h:590)
|
|
libust[11263/11263]: LTT : ltt ring buffer client exit
|
|
(in ltt_ring_buffer_metadata_client_exit() at ltt-ring-buffer-metadata-client.h:340)
|
|
libust[11263/11263]: just unregistered probe lttng_ust (in ltt_probe_unregister() at ltt-probes.c:131)
|
|
liblttng_ust_tracepoint[11263/11263]: just unregistered a tracepoints section from 0x7f74158a4bf8 (in tracepoint_unregister_lib() at tracepoint.c:679)
|
|
|
|
[1]+ Done LTTNG_UST_DEBUG=1 ./demo-trace 80
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # ps -eaf | egrep "trace|lttng|demo"
|
|
root 5628 1 0 10:50 ? 00:00:00 lttng-sessiond -d
|
|
root 5715 1 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 5725 1 0 10:50 ? 00:00:00 /opt/trace/sbin/trace_p
|
|
root 5789 5715 0 10:50 ? 00:00:00 /opt/trace_ea/bin/TraceEa
|
|
root 6785 5628 0 11:02 ? 00:00:00 lttng-consumerd --quiet -u --consumerd-cmd-sock /var/run/lttng/ustconsumerd64/command --consumerd-err-sock /var/run/lttng/ustconsumerd64/error
|
|
root 11376 7858 0 12:16 pts/0 00:00:00 egrep trace|lttng|demo
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng stop
|
|
Tracing stopped for session ses1
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # lttng list
|
|
Available tracing sessions:
|
|
1) ses1 (/root/lttng-traces/ses1-20120815-121256) [inactive]
|
|
|
|
Use lttng list <session_name> for more details
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin #
|
|
PL-4:/cluster/temp/tdlt/lttng_demo_bin # cd /root/lttng-traces/
|
|
PL-4:~/lttng-traces # ll
|
|
total 0
|
|
drwxrwx--- 3 root root 60 Aug 15 11:10 mysession-20120815-110912
|
|
drwxrwx--- 3 root root 60 Aug 15 12:13 ses1-20120815-121256
|
|
PL-4:~/lttng-traces #
|
|
PL-4:~/lttng-traces #
|
|
PL-4:~/lttng-traces # ll ses1-20120815-121256/ust/
|
|
total 0
|
|
drwxrwx--- 2 root root 40 Aug 15 12:15 demo-11263-20120815-121452
|
|
PL-4:~/lttng-traces # ll ses1-20120815-121256/ust/demo-11263-20120815-121452/
|
|
total 0
|
|
PL-4:~/lttng-traces #
|
|
PL-4:~/lttng-traces #
|
|
PL-4:~/lttng-traces # lttng -h
|
|
LTTng Trace Control 2.0.4 - Annedd'ale
|
|
|
|
usage: lttng [OPTIONS] <COMMAND>
|
|
|
|
Options:
|
|
-h, --help Show this help
|
|
--list-options Simple listing of lttng options
|
|
--list-commands Simple listing of lttng commands
|
|
-v, --verbose Increase verbosity
|
|
-q, --quiet Quiet mode
|
|
-g, --group NAME Unix tracing group name. (default: tracing)
|
|
-n, --no-sessiond Don't spawn a session daemon
|
|
--sessiond-path PATH Session daemon full path
|
|
|
|
Commands:
|
|
add-context Add context to event and/or channel
|
|
calibrate Quantify LTTng overhead
|
|
create Create tracing session
|
|
destroy Tear down tracing session
|
|
enable-channel Enable tracing channel
|
|
enable-event Enable tracing event
|
|
disable-channel Disable tracing channel
|
|
disable-event Disable tracing event
|
|
list List possible tracing options
|
|
set-session Set current session name
|
|
start Start tracing
|
|
stop Stop tracing
|
|
version Show version information
|
|
view Start trace viewer
|
|
|
|
Each command also has its own -h, --help option.
|
|
|
|
Please see the lttng(1) man page for full documentation.
|
|
See http://lttng.org for updates, bug reports and news.
|
|
PL-4:~/lttng-traces #
|
|
PL-4:~/lttng-traces #
|
|
PL-4:~/lttng-traces #
|