Re: I can't use lttng correctly,anybody help me ?
Mathieu Desnoyers <[email protected]>
| Newsgroups | gmane.linux.kernel.tracing |
|---|---|
| Message-ID | <20070711023609.GA32753@Krystal> |
Can you try to modprobe ltt-probe-core ? * yuanbor ([email protected]) wrote: > > ---------------------------------------------------------------------- > ------------ > > my configure > > ---------------------------------------------------------------------- > ------------ > > >>I have configure my computer according to this: > > > > Linux Trace Toolkit Quickstart > ------------------------------ > Author : Mathieu Desnoyers, September 2005 > Last update : May 14, 2007 > > >>I downloaded this versions of src: > > > > Linux-2.6.21 > > lttng-0.9.5 > > LinuxTraceToolkitViewer-0.8.82 > > ltt-control-0.40 > > > > >>my system has two [AMD Opteron(tm) Processor 242] > > > > >>but I met the following questions: > > ---------------------------------------------------------------------- > ------------ > > just ltt-control is OK > > ---------------------------------------------------------------------- > ------------ > > [root@localhost yuanbor]# /sbin/modprobe ltt-control > [root@localhost yuanbor]# lttctl -n trace -d -l /mnt/debugfs/ltt -t > /tmp/trace > Linux Trace Toolkit Trace Control 0.40-26042007 > > Controlling trace : trace > > Linux Trace Toolkit Trace Daemon 0.40-26042007 > > Reading from debugfs directory : /mnt/debugfs/ltt/trace > Writing to trace directory : /tmp/trace > > Creating supplementary trace files > Appending facility file stack_arch_x86_64.xml > Appending facility file fs.xml > Appending facility file kernel_arch_c2.xml > Appending facility file list.xml > Appending facility file kernel_arch_x86_64.xml > Appending facility file stack_arch_i386.xml > Appending facility file kernel_arch_i386.xml > Appending facility file kernel_arch_ppc.xml > Appending facility file core.xml > Appending facility file net.xml > Appending facility file mm.xml > Appending facility file xen.xml > Appending facility file compact.xml > Appending facility file user_generic.xml > Appending facility file locking.xml > Appending facility file kernel_arch_arm.xml > Appending facility file kernel_arch_mips.xml > Appending facility file kernel.xml > Appending facility file kernel_arch_powerpc.xml > [root@localhost yuanbor]# lttctl -n trace -R > Linux Trace Toolkit Trace Control 0.40-26042007 > > Controlling trace : trace > > [root@localhost yuanbor]# lttv -m textDump -t /tmp/trace|head -n 20 > Trace set contains 1 traces > > End trace set > > Traceset statistics: > > statistics summed: 1 > mode_types: > MODE_UNKNOWN: > submodes: > UNKNOWN: > event_types: > events count: 0 > events: > mode_types: > event_types: > events count: 0 > event_types: > events count: 0 > processes: > > ---------------------------------------------------------------------- > ------------ > > but ltt-control & ltt-probe-kernel is not right! > > ---------------------------------------------------------------------- > ------------ > > [root@localhost yuanbor]# /sbin/modprobe ltt-control > [root@localhost yuanbor]# /sbin/modprobe ltt-probe-kernel > [root@localhost yuanbor]# lttctl -n trace -d -l /mnt/debugfs/ltt -t > /tmp/trace2 > Linux Trace Toolkit Trace Control 0.40-26042007 > > Controlling trace : trace > > Linux Trace Toolkit Trace Daemon 0.40-26042007 > > Reading from debugfs directory : /mnt/debugfs/ltt/trace > Writing to trace directory : /tmp/trace2 > > Creating supplementary trace files > Appending facility file stack_arch_x86_64.xml > Appending facility file fs.xml > Appending facility file kernel_arch_c2.xml > Appending facility file list.xml > Appending facility file kernel_arch_x86_64.xml > Appending facility file stack_arch_i386.xml > Appending facility file kernel_arch_i386.xml > Appending facility file kernel_arch_ppc.xml > Appending facility file core.xml > Appending facility file net.xml > Appending facility file mm.xml > Appending facility file xen.xml > Appending facility file compact.xml > Appending facility file user_generic.xml > Appending facility file locking.xml > Appending facility file kernel_arch_arm.xml > Appending facility file kernel_arch_mips.xml > Appending facility file kernel.xml > Appending facility file kernel_arch_powerpc.xml > [root@localhost yuanbor]# lttctl -n trace -R > Linux Trace Toolkit Trace Control 0.40-26042007 > > Controlling trace : trace > > > [root@localhost yuanbor]# lttv -m textDump -t /tmp/trace2|head -n 20 > > ** (process:2488): WARNING **: Unknown facility 211 (0xd3) in > tracefile /cpu > > ** (process:2488): WARNING **: Unknown facility 211 (0xd3) in > tracefile /cpu > > ** (process:2488): WARNING **: Unknown facility 211 (0xd3) in > tracefile /control/processes > > ** (process:2488): WARNING **: Unknown facility 211 (0xd3) in > tracefile /control/processes > > ** (process:2488): WARNING **: Unknown facility 211 (0xd3) in > tracefile /cpu > > ** (process:2488): WARNING **: Unknown facility 211 (0xd3) in > tracefile /cpu > > ** (process:2488): WARNING **: Unknown facility 211 (0xd3) in > tracefile /control/processes > > ** (process:2488): WARNING **: Unknown facility 211 (0xd3) in > tracefile /control/processes > > ** ERROR **: file event.c: line 86 (ltt_event_facility): assertion > failed: (facility->exists) > aborting... > Trace set contains 1 traces > > /usr/local/bin/lttv: line 15: 2488 Aborted $0.real $* > _______________________________________________ > 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