[lttng-dev] Need Help in saving the trace on the remote machine.

kumar s skumar.m226 at gmail.com
Mon Nov 18 02:34:22 EST 2013


Hi,

I can start , stop , pause the trace remotely. I am also able to save the
trace on local machine (target-mips board). I am unable to save the trace
on remote machine. I get the following error.

> lttctl_client ltt_control writeTraceNetwork "kernel" "0" "traceTest"
"/home/techie/Desktop/tracetest" 2 false false false
Reply error 131077: Channel closed


Thank you
skumar

On Wed, Nov 13, 2013 at 6:01 PM, Mathieu Desnoyers <
mathieu.desnoyers at efficios.com> wrote:

> ------------------------------
>
> *From: *"kumar s" <skumar.m226 at gmail.com>
> *To: *"mathieu desnoyers" <mathieu.desnoyers at efficios.com>
> *Sent: *Wednesday, November 13, 2013 1:13:03 AM
> *Subject: *Need Help in starting the trace remotely using TCF / LttngAgent
>
>
> Hello,
>
> I am using the following versions to setup lttng on kernel
>
> Linux kernel -2.6.32.27
>
> LTTV - 0.12.29
>
> LTTng - 0.190
>
> LTTControl - 0.81
>
>
> Hi,
>
> These old 0.x versions of lttng are not supported anymore. The TCF agent
> for those versions even less. I'm CCing lttng-dev just in case anyone has
> hints.
>
> Best regards,
>
> Mathieu
>
>
> This is for mips architecture. I have patched the linux kernel and i am
> able to setup the trace on target board and copy the trace host pc to view
> in LTTV / eclipse.
>
> Now i am trying to setup tcf-agent and lttng-agent to start and control
> the trace remotely.
>
> I have cross compiled the tcf-agent and lttng-agent for mips. The client
> side i have compiled it for pc.
>
> When cross compiling tcf-agent the following services has been enabled -
> Plugins Splice Zerocopy Cmdline Trace Discovery Locator Streams Terminals
> in config.h and also specified in make.
>
> Steps i did to start the ltt on target (Mips)
>
> mount debugfs
> export lttd
> ltt-armall
>
> start tcf-agent
>
> On client PC
>
> start tcf-client
> connect ip address ( Connection established with TCP:)
>
> tcf ltt_control setupTrace "kernel" "0" "traceTest"
> Reply error 131097: Command is not recognized
>
>
> I would like to know what steps i am missing to start the trace remotely.
>
> Thank you
> skumar
>
>
>
>
> --
> Mathieu Desnoyers
> EfficiOS Inc.
> http://www.efficios.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20131118/bf6d4424/attachment.html>


More information about the lttng-dev mailing list