This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Improve profiling API, add documentation
On Fri, 2002-11-15 at 07:46, Andrew Lunn wrote:
> > +This data can be uploaded to a host using <emphasis>TFTP</emphasis>.
> > +A side effect of the upload of the data is that the histogram
> > +is reset.
>
> Isn't the terminology all the wrong way around for the TFTP
> transfers. The target hardware is running a TFTP server. The host PC
> runs a client. So this is a download, from a server in the target.
>
Which is an upload from the target's perspective, which is what
is being documented.
> The real problem is that you don't say TFTP _server_ or _client_
> anyway. So unless you look deeper, its easy to get the wrong
> understanding.
>
Actually, it does:
When profiling is started on the target device, a
<emphasis>TFTP</emphasis>
server will be started
which exports the single file
<filename>PROFILE.DAT</filename>
> One side note. You should add a comment to remind people to set there
> tftp client to binary mode. Some have this as default, others
> don't.
Fair enough. I'll see if I can make it clearer in general.
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------