From: S V. <vam...@in...> - 2002-02-27 20:22:33
|
Sorry, here _is_ the command you could use to start the tracedaemon such that it logs only the dprobes events: % tracedaemon -eCSTM -eNEWEV -ts60 /dev/tracer out.trace out.proc Hope this helps, Regards.. Vamsi. Vamsi Krishna S. Linux Technology Center, IBM Software Lab, Bangalore. Ph: +91 80 5044959 Internet: vam...@in... ----- Forwarded by S Vamsikrishna/India/IBM on 02/26/02 01:20 PM ----- S Vamsikrishna To: tw...@pa... 02/26/02 01:08 cc: dp...@ww..., dpr...@ww..., lt...@sh... PM From: S Vamsikrishna/India/IBM@IBMIN Subject: Re: [Dprobes] question on redirecting dprobes log to LTT(Document link: S Vamsikrishna) DProbes events are logged in LTT trace buffer with the Event name as the value specified for "name = " statement in the probe proram. For example, if you have "name = vmlinux" in the rpn (or ppdf) file, then in the trace buffer (in the output of tracedump or in traceview, search for "vmlinux" events. To log only DProbes events, you could start the tracedaemon with the following options: Regards.. Vamsi. Vamsi Krishna S. Linux Technology Center, IBM Software Lab, Bangalore. Ph: +91 80 5044959 Internet: vam...@in... Tina Wong <twong@packetdesign To: dp...@ww..., lt...@sh... .com> cc: Sent by: Subject: [Dprobes] question on redirecting dprobes log to LTT dprobes-admin@www-1 24.ibm.com 02/26/02 07:36 AM Please respond to twong Hi there, I am a first-time user of dprobes. I built and applied a ppdf on dprobes, and I can see the log records written to /var/log/messages. Now I am trying to redirect the log records to LTT, as the man page says it is possible. I have installed LTT, and both the tracedaemon and the tracevisualizer work perfectly. Would someone enlighten me whether and how I can visualize the dprobes logs in LTT? I did the following: % /usr/sbin/dprobes -p test.ppdf -l ALL --log-target LTT ppdf applied successfully into /usr/src/linux/vmlinux % <doing a bunch of "ls" as my test.ppdf is basically tracing do_fork> % tracedaemon -ts60 /dev/tracer out.trace out.proc TraceDaemon: Output file ready TraceDaemon: Trace driver open TraceDaemon: Trace buffers are 1000000 bytes TraceDaemon: Fetching eip for syscall on depth : 0 TraceDaemon: Daemon wil run for : (60, 0) TraceDaemon: Done mapping /proc TraceDaemon: End of tracing % /usr/src/TraceToolkit-0.9.5pre5/Visualizer/Scripts/traceview out What should I look for in visualizer? I am pretty lost. Thank you very much in advance. Tina _______________________________________________ Dprobes mailing list Dp...@ww... http://www-124.ibm.com/developerworks/oss/mailman/listinfo/dprobes |