[ECOS] Re: Type of event in eCos instrumentation record
Tue Mar 30 16:53:00 GMT 2010
Nodir Kodirov wrote:
> Now I have two problems.
> 1) All of the events are "unknown event". instrument_buffer[i].type
> and instrument_desc[j].num does not match.
> 2) If you look to struct instrument_desc_s instrument_desc there are
> 125 instrumentation event types and for several event types, it has
> the same number. So, my print_instr() I am taking the first occurred
> one, while it is not always correct.
Take at look at the dump_instr.c example code which locates the
description string within instrument_desc in two stages:
I hope this helps...
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss