[ltt-dev] Trouble acquiring/displaying traces

Thomas E. Besemer tbesemer at thomas-iv.com
Sun Jun 8 16:07:31 EDT 2008


Hi Mathieu (and all  on list) -

Thanks for correcting my problems on patch install; it was
operator error on my part.  I got patched, compiled, linked
and booted, but seem to be having trouble getting traces
(see end of email).

Note that everything in LTT is compiled into the Kernel,
no modules.

Between starting and stoping trace, I ran some commands, and
tar'd up a directory to show I/O, etc...

Below is a sequence of what I am doing.

All help appreciated.

Thanks,

tom

--
Installed Patches/tools, 2.6.25.4 Kernel:

patch-2.6.25.4-lttng-0.10-pre55
ltt-control-0.48-27022008
lttv-0.10.0-pre13-27052008

--
Boot Messages:

LTT : ltt-heartbeat init
LTT : ltt-heartbeat init
Requested number of bits 11
Available number of bits 11
Heartbeat timer will fire each 33 jiffies.
Compact TSC init : truncate 8 lsb, cutoff 3 msb.
LTT : ltt-relay init
ltt-control init
LTT : State dump init
Data shifted from 24 bits
3 bits used for event IDs, 8 available for data.


---
LTT Arm All Messages:

[root at sn-sj26 tbesemer]# ltt-armall
Loading probes
FATAL: Could not load /lib/modules/2.6.25.4/modules.dep: No such file or 
directory
Connecting all markers
Connecting internal_kernel_sched_schedule
Connecting fs_buffer_wait_end
Connecting fs_buffer_wait_start
Connecting fs_close
Connecting fs_exec
Connecting fs_ioctl
Connecting fs_llseek

[snip much - lot's of output here]


---
Starting Trace:

[root at sn-sj26 tbesemer]# lttctl -n trace -d -l /mnt/debugfs/ltt -t /tmp/ltt
Linux Trace Toolkit Trace Control 0.48-27022008

Controlling trace : trace

Linux Trace Toolkit Trace Daemon 0.48-27022008

Reading from debugfs directory : /mnt/debugfs/ltt/trace
Writing to trace directory : /tmp/ltt

[root at sn-sj26 tbesemer]#


---
Stoping Trace:

[root at sn-sj26 tbesemer]# lttctl -n trace -R
Linux Trace Toolkit Trace Control 0.48-27022008

Controlling trace : trace

[root at sn-sj26 tbesemer]#


---
What's in /tmp/ltt:

[root at sn-sj26 tbesemer]# ls -rtl /tmp/ltt
total 8232
drwxr-xr-x 2 root root    4096 May 30 11:43 eventdefs
drwxr-xr-x 2 root root    4096 May 30 11:43 control
-rwxr-xr-x 1 root root 1048576 May 30 11:45 cpu_7
-rwxr-xr-x 1 root root 1048576 May 30 11:45 cpu_6
-rwxr-xr-x 1 root root 1048576 May 30 11:45 cpu_5
-rwxr-xr-x 1 root root 1048576 May 30 11:45 cpu_4
-rwxr-xr-x 1 root root 1048576 May 30 11:45 cpu_3
-rwxr-xr-x 1 root root 1048576 May 30 11:45 cpu_2
-rwxr-xr-x 1 root root 1048576 May 30 11:45 cpu_1
-rwxr-xr-x 1 root root 1048576 May 30 11:45 cpu_0
-rwxr-xr-x 1 root root       0 Jun  8 10:35 compact_7
-rwxr-xr-x 1 root root       0 Jun  8 10:35 compact_6
-rwxr-xr-x 1 root root       0 Jun  8 10:35 compact_5
-rwxr-xr-x 1 root root       0 Jun  8 10:35 compact_4
-rwxr-xr-x 1 root root       0 Jun  8 10:35 compact_3
-rwxr-xr-x 1 root root       0 Jun  8 10:35 compact_2
-rwxr-xr-x 1 root root       0 Jun  8 10:35 compact_1
-rwxr-xr-x 1 root root       0 Jun  8 10:35 compact_0
[root at sn-sj26 tbesemer]#



---
Doing Basic dump of Trace:

[root at sn-sj26 tbesemer]# lttv -m textDump -t /tmp/ltt
The input data file /tmp/ltt/compact_5 does not contain a trace
The input data file /tmp/ltt/compact_6 does not contain a trace

** (process:10083): WARNING **: Unsupported trace version : 0.8

** (process:10083): WARNING **: parse_trace_header error
The input data file /tmp/ltt/compact_4 does not contain a trace

** (process:10083): WARNING **: Unsupported trace version : 0.8

** (process:10083): WARNING **: parse_trace_header error
The input data file /tmp/ltt/compact_3 does not contain a trace
The input data file /tmp/ltt/compact_7 does not contain a trace

** (process:10083): WARNING **: Unsupported trace version : 0.8

[snip lot's of similar output, finishing with this below]


** (process:10665): WARNING **: parse_trace_header error
The input data file /tmp/ltt/compact_2 does not contain a trace

** ERROR **: Trace /tmp/ltt has no facility tracefile
aborting...
/workspace/tbesemer/local/bin/lttv: line 15: 10665 Aborted 
$0.real $*
[root at sn-sj26 tbesemer]#







More information about the lttng-dev mailing list