This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Question about Instrumentation? Thanks
On Wed, Mar 26, 2003 at 04:05:22PM -0000, Qiang Huang wrote:
> I am so sorry to bother you again. how can I make sure the macro
> CYG_INSTRUMENT_CLOCK(ISR,0,0) in the isr function expands to something
> useful? via the linked program so how can I look inside it? or...?
> (CYGDBG_KERNEL_INSTRUMENT_CLOCK has been enabled already) Thanks a lot.
Like i said, pass -E to the compiler and have a look at the output.
Andrew
>
> -----Original Message-----
> From: ecos-discuss-owner at sources dot redhat dot com
> [mailto:ecos-discuss-owner at sources dot redhat dot com]On Behalf Of Andrew Lunn
> Sent: 26 March 2003 15:22
> To: Qiang Huang
> Cc: Andrew Lunn; Ecos-Discuss
> Subject: Re: [ECOS] Question about Instrumentation? Thanks
>
>
> On Wed, Mar 26, 2003 at 03:11:23PM -0000, Qiang Huang wrote:
> > Thanks a lot. Now I tried to instrument the clock tick as well but I got
> > some problem. I configured the ecos with instrument support and used the
> > following program, but the output didn't contains the clock tick. shown in
> > below thanks a lot.
>
>
> Check you have not disabled this class in the CDL. To be really sure,
> compile packages/kernel/current/src/common/clock.cxx with -E and make
> sure the macro CYG_INSTRUMENT_CLOCK( ISR, 0, 0); in the isr function
> expands to something useful.
>
> Andrew
>
> --
> 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