* [ECOS] eCos gprof for MPC8xx
@ 2003-10-29 11:34 Tord Andersson
2003-10-30 12:23 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Tord Andersson @ 2003-10-29 11:34 UTC (permalink / raw)
To: ecos-discuss
Hi,
Do anyone know if there is an associated test case for the gprof
package? Are there any experiences using this with an MPC8xx platform?
Regards,
Tord Andersson
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] eCos gprof for MPC8xx
2003-10-29 11:34 [ECOS] eCos gprof for MPC8xx Tord Andersson
@ 2003-10-30 12:23 ` Gary Thomas
2003-10-30 14:19 ` Gary Thomas
0 siblings, 1 reply; 3+ messages in thread
From: Gary Thomas @ 2003-10-30 12:23 UTC (permalink / raw)
To: Tord Andersson; +Cc: ecos-discuss
Tord Andersson said:
> Hi,
>
> Do anyone know if there is an associated test case for the gprof
> package? Are there any experiences using this with an MPC8xx platform?
>
I didn't write a test program [yet?] - I'm not sure how one would test
this functionality, not to mention making something that fit the eCos
"test" model.
As far as using it, there is a documentation chapter in the main user's
guide. It's pretty simple - just call profile_on() much as you would on
any Linux/Unix system. This will gather the profiling data, as well as
start up a TFTP server thread. This is how you gather the profile data,
by running TFTP to your target (from a host) to capture (and reset) the
profile data. This data can then be processed using 'gprof'
As for the 8xx - that's the only platform that this has been tested on!
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] eCos gprof for MPC8xx
2003-10-30 12:23 ` Gary Thomas
@ 2003-10-30 14:19 ` Gary Thomas
0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2003-10-30 14:19 UTC (permalink / raw)
To: Gary Thomas; +Cc: Tord Andersson, ecos-discuss
Gary Thomas said:
>
> Tord Andersson said:
>> Hi,
>>
>> Do anyone know if there is an associated test case for the gprof
>> package? Are there any experiences using this with an MPC8xx platform?
>>
>
> I didn't write a test program [yet?] - I'm not sure how one would test
> this functionality, not to mention making something that fit the eCos
> "test" model.
>
Actually, today I've added the setup code for running the profiling into
the network common test "ping_test". This can be used as an example of
how it is used. Also, check the patch list for how to enable the support
in your platform - if you're not using a supported platform you need to
add some functions which handle the profile activity.
> As far as using it, there is a documentation chapter in the main user's
> guide. It's pretty simple - just call profile_on() much as you would on
> any Linux/Unix system. This will gather the profiling data, as well as
> start up a TFTP server thread. This is how you gather the profile data,
> by running TFTP to your target (from a host) to capture (and reset) the
> profile data. This data can then be processed using 'gprof'
>
> As for the 8xx - that's the only platform that this has been tested on!
>
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-10-30 14:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-29 11:34 [ECOS] eCos gprof for MPC8xx Tord Andersson
2003-10-30 12:23 ` Gary Thomas
2003-10-30 14:19 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).