Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tracecompass-dev] Beginner's (to a point) help needed.

ARM processor running FreeRTOS.

I have the trace hooks worked out.  And that calls a specific routine to generate a trace packet.

I did have it working for task_switched_in and task_switched_out.

Something broke.

The init routine writes the main header and packet context, then writes one event packet per event.  The ARM processor is single core.

I get the usual error (I suppose): error initializing trace. "Failed to get CTF Iterator for path (path)"  The path exists, the file is there.

I've searched for a set of error messages with causes, haven't found them.

I've gotten the same error regardless of a number of changes.  To me, the error message says "file does not exist", which may really mean "file can't be parsed".  The metadata file seems fine, doesn't generate any error messages.

So something is wrong, but I'm not sure what, and at this point, don't know how to find out what.  The binary file output seems correct to me.  (maybe obviously not).

Processor dumps binary trace data to a 1 mbyte buffer (QSPI RAM), then that's sent to a file by using the eclipse memory manager. File looks good.  metadata looks good.

Assistance, please.


Harvey




Back to the top