Is the output of trace is correct ??
satish <[email protected]> Mon, 30 Jul 2007 13:47:24 +0530
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <[email protected]> |
Hi ...
ltng : 0.6.41
kernel: 2.6.18
ltt-control : 0.30
lttv - 0.8.72
Target : TI OMAP board
I have set variables :
LTT_FACILITIES = "/usr/share/facilities" ( whcih i have kept my facilities in my target Filesystem under /usr/share )
LTT_DAEMON = "/bin/lttd" (whcih i have kept my lttd daemon in my target Filesystem under /bin)
The steps i followed are :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
# ls
bin dev lib proc tmp var
debugfs etc mydisk sbin usr
# lttctl -n trace -d -l /debugfs/ltt/ -t /tmp/trace/
Linux Trace Toolkit Trace Control 0.30-09112006
Controlling trace : trace
ltt_control : trace trace
Linux Trace Toolkit Trace Daemon 0.30-09112006
Reading from debugfs directory : /debugfs/ltt//trace
Writing to trace directory : /tmp/trace/
Creating trace subdirectory /tmp/trace/
Channel file : /debugfs/ltt//trace/cpu_0
Opening file.
Channel file : /debugfs/ltt//trace/control
Entering channel subdirectory...
Creating trace subdirectory /tmp/trace//control
Channel file : /debugfs/ltt//trace/control/network_0
Opening file.
Channel file : /debugfs/ltt//trace/control/modules_0
Opening file.
Channel file : /debugfs/ltt//trace/control/processes_0
Opening file.
Channel file : /debugfs/ltt//trace/control/interrupts_0
Opening file.
Channel file : /debugfs/ltt//trace/control/facilities_0
Opening file.
Creating supplementary trace files
Appending facility file core.xml
Appending facility file fs.xml
Appending facility file fs_data.xml
Appending facility file ipc.xml
Appending facility file kernel.xml
Appending facility file kernel_arch_arm.xml
Appending facility file kernel_arch_c2.xml
Appending facility file kernel_arch_i386.xml
Appending facility ltt_control : trace trace
file kernel_arch_mips.xml
Appending facility file kernel_arch_powerpc.xml
Appending facility file kernel_arch_ppc.xml
Appending facility file kernel_arch_x86_64.xml
Appending facility file locking.xml
Appending facility file memory.xml
Appending facility file network.xml
Appending facility file network_ip_interface.xml
Appending facility file process.xml
Appending facility file socket.xml
Appending facility file stack.xml
Appending facility file statedump.xml
Appending facility file timer.xml
Appending facility file user_generic.xml
# lttctl -R -n trace
Linux Trace Toolkit Trace Controltt_control : trace trace
l 0.30-09112006
Controlling trace : trace
ltt_control : trace trace
finish for cpu 0 , c0e98860
finish for cpu 0 , c0e98760
finish for cpu 0 , c0e98660
finish for cpu 0 , c0e985e0
finish for cpu 0 , c0e984e0
finish for cpu 0 , c0e98460
# Data received
Normal read on fd 5
cookie : 0
Normal read on fd 8
cookie : 0
Normal read on fd 10
cookie : 0
Normal read on fd 12
cookie : 0
Normal read on fd 14
cookie : 0
Normal read on fd 16
cookie : 0
Data received
Polling fd 5 tells it has hung up.
Polling fd 8 tells it has hung up.
Polling fd 10 tells it has hung up.
Polling fd 12 tells it has hung up.
Polling fd 14 tells it has hung up.
PollingLTT : cpu_ : 5810 events lost in cpu_ channel (cpu 0).
fd 16 tells it has hung up.
# cd tmp/trace/
# ls
control cpu_0 eventdefs
# cd control/
# ls
facilities_0 interrupts_0 modules_0 network_0 processes_0
# cd ..
# ls
control cpu_0 eventdefs
# cd eventdefs/
# ls
core.xml kernel_arch_mips.xml process.xml
fs.xml kernel_arch_powerpc.xml socket.xml
fs_data.xml kernel_arch_ppc.xml stack.xml
ipc.xml kernel_arch_x86_64.xml statedump.xml
kernel.xml locking.xml timer.xml
kernel_arch_arm.xml memory.xml user_generic.xml
kernel_arch_c2.xml network.xml
kernel_arch_i386.xml network_ip_interface.xml
then i loaded my trace output to Host PC .. and started analysing using LTTViewer .. but iam unable to see any specific cramfs filesystem calls like cramfs_read,,,,etc
how to get timing results of cramfs file system using LTTV??
Regards,,
satish
_______________________________________________
Ltt-dev mailing list
[email protected]
http://listserv.shafik.org/mailman/listinfo/ltt-dev