Linaro / OpenCSD

CoreSight trace stream decoder developed openly
https://github.com/Linaro/opencsd/wiki
Other
141 stars 53 forks source link

opencsd: stm: Support NULL_TS packet #3

Closed vitkyrka closed 8 years ago

vitkyrka commented 8 years ago

NULL_TS is apparently not used by CoreSight STM but having support for those packets helps when decoding STPv2 traces generated by other sources, and it's trivial to support it, so add the implementation.

Signed-off-by: Rabin Vincent rabinv@axis.com

mathieupoirier commented 8 years ago

Thanks for the code - Mike will be back next week and will review then.

mikel-armbb commented 8 years ago

Thanks Rabin.

We skipped the packets that CoreSight does not use as a quality check on the incoming CS stream. However, I'm happy to allow this change and perhaps revisit later and add in a "strict" CoreSight mode should this be required.

This change will appear in the upcoming 0.4.1 release.