trace

Is it possible to merge coverage reports from Trace32?


Trace32 doesn't support to merge coverage reports from multiple executable binaries. One of them is like this:

enter image description here

To do this mission, the third parties normally have to develop such a tool that Trace32 should support but not.

enter image description here

For OnChip Trace, specific target dependence is unavoidable, such as: compiler, specific architect...

Does anyone know some third-party tool able to merge coverages that are generated by Trace32? I knew gcov/lcov can do that but it didn't support my Tasking compiler. Thank you.


Solution

  • Investigating throughout some documents provided by Lauterbach GmbH, then the Trace-based Code Coverage uses an address-based tagging. It meant that the assembled test runs have to be performed on the same executable.

    enter image description here

    Therefore, to judge coverage rate of the whole project. Typically, third parties will develop a merge tool (look like GNU gcov/lcov) in order to summarize the total coverage rate.