[lttng-dev] no trace data are collected for UST
zhenyu.ren
zhenyu.ren at aliyun.com
Sat Dec 7 21:33:09 EST 2013
Hi, lttng-dev All seems well but no trace data are produced for UST. (1) link static lib(.a) into target program g++ -o target ... provider.o xx.o ... -ldl -llttng-ust -lurcu-cds -lurcu-bp -llttng-ust-tracepoint(2) run target and lttng-sessiond(root&uid)/consumerd etc....$lttng-startAvailable tracing sessions: 1) auto-20131208-100815 (/home/admin/lttng-traces/auto-20131208-100815) [active]Use lttng list <session_name> for more details$lttng list -uUST events:-------------
PID: 42025 - Name: /home/admin/target target_ioitem:AddIOWorkItem (loglevel: TRACE_DEBUG_LINE (13)) (type: tracepoint)$lttng list auto-20131208-100815Tracing session auto-20131208-100815: [active] Trace path: /home/admin/lttng-traces/auto-20131208-100815
=== Domain: UST global ===
Buffer type: per UID
Channels:-------------- channel0: [enabled]
Attributes: overwrite mode: 0 subbufers size: 131072 number of subbufers: 4 switch timer interval: 0 read timer interval: 0 output: mmap()
Events: * (type: tracepoint) [enabled]
$lttng stopWaiting for data availability......Tracing stopped for session auto-20131208-100815$ls -l ~/lttng-traces/auto-20131208-100815/ust/uid/505/64-bit/total 100-rw-rw---- 1 admin admin 4096 Dec 8 10:11 channel0_0-rw-rw---- 1 admin admin 4096 Dec 8 10:11 channel0_1-rw-rw---- 1 admin admin 4096 Dec 8 10:11 channel0_10-rw-rw---- 1 admin admin 4096 Dec 8 10:11 channel0_11...-rw-rw---- 1 admin admin 4096 Dec 8 10:11 metadata$babeltrace ~/lttng-traces/auto-20131208-100815/"empty result" I am very sure tracepoint target_ioitem:AddIOWorkItem has been running since printf log at the next line does work. Why lttng list -u shows me tracepoint target_ioitem:AddIOWorkItem there,but no trace data are produced for ust?Thankszhenyu.ren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20131208/9885e942/attachment.html>
More information about the lttng-dev
mailing list