[ltt-dev] ltt trace files are empty

Dhirender Baliyan dhir157 at gmail.com
Wed Apr 13 05:08:38 EDT 2011


Hi

I am using
1) lttng 2.6.28.4
2)lttctl 0.64
3) lttv-0.12.10

cross compiled it for mips

my config option are CONFIG_LTT=y
CONFIG_LTT_FILTER=y
CONFIG_LTT_TRACEPROBES=y
# CONFIG_HAVE_LTT_DUMP_TABLES is not set
CONFIG_LTT_RELAY_ALLOC=y
CONFIG_LTT_RELAY=y
# CONFIG_LTT_RELAY_LOCKED is not set
# CONFIG_LTT_RELAY_CHECK_RANDOM_ACCESS is not set
CONFIG_LTT_SERIALIZE=y
CONFIG_LTT_MARKER_CONTROL=y
CONFIG_LTT_TRACER=y
CONFIG_LTT_ALIGNMENT=y
CONFIG_LTT_DEBUG_EVENT_SIZE=y
CONFIG_LTT_USERSPACE_EVENT=y
CONFIG_LTT_VMCORE=y
CONFIG_LTT_NETLINK_CONTROL=y
CONFIG_LTT_TRACE_CONTROL=y
CONFIG_LTT_STATEDUMP=y

now
ltt-armall
lttctl os running fine

but when i do
lttv -m textDump -t /tmp/trace1
The input data file /var/tmp/trace1/metadata_0 does not contain a trace
The input data file /var/tmp/trace1/block_0 does not contain a trace
The input data file /var/tmp/trace1/fd_state_0 does not contain a trace
The input data file /var/tmp/trace1/fs_0 does not contain a trace
The input data file /var/tmp/trace1/global_state_0 does not contain a trace
The input data file /var/tmp/trace1/input_0 does not contain a trace
The input data file /var/tmp/trace1/ipc_0 does not contain a trace
The input data file /var/tmp/trace1/irq_state_0 does not contain a trace
**
ERROR:tracefile.c:1355:map_block: assertion failed: (block_num <
tf->num_blocks)
/bin/lttv: line 15:   100 Aborted                 $0.real $*

this output is coming
so i checked /tmp/trace1 file , then i found the files are having 0 size
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 block_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 fd_state_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 fs_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 global_state_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 input_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 ipc_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 irq_state_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 kernel_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 metadata_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 mm_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 module_state_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 net_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 netif_state_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 rcu_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 softirq_state_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 task_state_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 userspace_0
-rwxr-xr-x    1 root     root            0 Jan  1 00:07 vm_state_0

I am not getting why this is coming.
Please help
Thanks in advance

Regards
Dhiren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110413/45d646cf/attachment-0003.htm>


More information about the lttng-dev mailing list