Re: First entry
Mathieu Desnoyers <[email protected]> Wed, 5 Sep 2007 16:35:42 -0400
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <20070905203542.GA16983@Krystal> |
* Salvatore Lionetti ([email protected]) wrote: > 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 > Those versions are really old. Can you try with newer ones ? Say with a kernel around 2.6.18-2.6.19 ? > > > > ___________________________________ > 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 -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68