First entry

Salvatore Lionetti <[email protected]> Tue, 4 Sep 2007 22:16:28 +0000 (GMT)
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
Hi,

1st time i use LTT. My projects is related to audio I/O from sound card on usb bus and i'd like to investigate about why read()/write() sometime take toolong time.

I've linux-2.6.15, so reading the version guide, i have
lttng                0.5.36
ltt-control        0.1
ltt-modules      0.11
ltt-userstracer 0.6
genevent         !installed
trace maj.min   !installed
ltt-viewer          0.8.34

and this kernel configuration:
CONFIG_LTT=y
CONFIG_LTT_TRACER=y
CONFIG_LTT_ALIGNMENT=y
# CONFIG_LTT_HEARTBEAT is not set
CONFIG_LTT_USERSPACE_GENERIC=y
CONFIG_LTT_FACILITY_CORE=y
CONFIG_LTT_FACILITY_FS=y
CONFIG_LTT_FACILITY_IPC=y
CONFIG_LTT_FACILITY_KERNEL=y
CONFIG_LTT_FACILITY_KERNEL_ARCH=y
CONFIG_LTT_FACILITY_MEMORY=y
CONFIG_LTT_FACILITY_NETWORK=y
CONFIG_LTT_FACILITY_NETWORK_IP_INTERFACE=y
CONFIG_LTT_FACILITY_PROCESS=y
CONFIG_LTT_FACILITY_SOCKET=y
CONFIG_LTT_FACILITY_STATEDUMP=y
CONFIG_LTT_FACILITY_TIMER=y
# CONFIG_LTT_FACILITY_STACK_ARCH is not set

Steps followed:
mount debugfs -> /mnt/debugfs
mount relayfs -> /mnt/relayfs
insmod ltt-{control, statedump}.ko
lttv-gui
    Channel dir: /mnt/relayfs/ltt
    Trace direc: /tmp/trace1
    Trace name: trace
    Trace mode: normal
    Start demon
    #ltt Threads: 1
    ...

    start
    stop
    upload data: Cannot open trace: maybe you should enter in the dir2select?

From shell i see:
    Executing (as root) : exec /usr/local/bin/lttctl -l /mnt/relayfs/ltt -t /tmp/trace1 -n trace -m normal -d -N 1
    Password:
    Linux Trace Toolkit Trace Control

    Controlling trace : trace

    Linux Trace Toolkit Trace Daemon

    Reading from relayfs directory : /mnt/relayfs/ltt/trace
    Writing to trace directory : /tmp/trace1

    signal 17 received

After closing lttv i got:
     ** (lttv.real:12949): WARNING **: cannot open trace /tmp/trace1
    *** glibc detected *** free(): invalid pointer: 0x0828def0 ***
    /usr/local/bin/lttv-gui: line 10: 12949 Aborted                 $LTTV_CMD.real -m     guievents -m guifilter -m guicontrolflow -m guistatistics -m guitracecontrol
 
How can i see somethings in ltt viewer gui?
Tank you4your attention

Have a good day




      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

_______________________________________________
Ltt-dev mailing list
[email protected]
http://listserv.shafik.org/mailman/listinfo/ltt-dev