This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: eCos gprof for MPC8xx


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]