Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf tools: Print auxtrace header information
From gcc 6.2 and onward, the compiler complains about ‘cs_etm_global_header_fmts’ not being used (and rightly so). One solution is to remove the declaration but it is a matter of time before we need to modify the header. Another solution is to simply print the information conveyed by the header. There is a few advantages that comes with the latter: 1) We know how many CPUs are part of the session, without having to count the number of magic numbers. 2) We get to see if the snapshot option was specified. 3) When we change the header we know exactly what kind of header we are dealing with. Reported-by: Kim Phillips <kim.phillips@arm.com> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
- Loading branch information