[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changes in tcp trace behavior




TCP tracing now uses the TracedVar stuff implemented by Giao
Nguyen. So to trace a variable (including TCP variables),
you need to do the following in Tcl:

  $agent trace <variable-name>

For example, $tcp trace cwnd_

You need to do this for each variable that you wish to trace.
In addition, to attach a trace file, do the following:

  $tcp attach [open trace.tr w]

-Venkat


> >
> >>From larse Sat Aug  2 17:01:27 1997
> >Subject: TCP trace broken
> >To: [email protected]
> >Date: Sat, 2 Aug 1997 17:01:27 -0700 (PDT)
> >X-Mailer: ELM [version 2.4 PL25]
> >Content-Type: text
> >Content-Length: 870       
> >
> >Hi,
> >
> >under ns-2.0a17, one could do "$tcp trace [open trace.tr w]" and get
> >a trace of all relevant TCB fields over time. Under ns-2.0b17 (and the
> >latest snapshot) this no longer works. "trace.tr" is being created, but is
> >empty. It seems that TCP_TRACE_ALL is gone from tcp.h. (Thanks to Ted
> >Faber for noticing this.)
> >
> >