Good day all,
Here's the first draft of the "abstract" I intend to submit for ELC-E
in Berlin. Keeping in mind the 900 character limit (this is already
880), please have a read and get back to me with your thoughts.
[Begin]
The CoreSight framework available in the Linux kernel has recently
been integrated with the Perf core, making HW assisted tracing on ARM
systems accessible to developers working on a wide spectrum of
products. This presentation will start by giving a brief overview of
the CoreSight technology itself before presenting the current
solution, from trace collection in kernel space to off system trace
decoding. To help with the latter part the Open CoreSight Decoding
Library (openCSD) is introduced. OpenCSD is an open source library
assisting in the decoding of collected trace data. We will see how it
is used with the existing perf tools to provide an end-to-end solution
for CoreSight trace decoding. The presentation will conclude with
trace acquisition and decoding scenarios, along with tips on how to
interpret trace information rendered by the perf tools.
[End]
Many thanks,
Mathieu
Hello Tor,
While ramping up on the "perf report" and "perf script" features I fixed
a few things and decided to play a little:
1/4: No influence on the current results but good to fix.
2/4: That changes a lot of things when multiple buffers have been collected.
3/4: No change in functionality, just cleanup.
4/4: Enhancement to make the output easier to read.
These changes can be found here[1]. If this is good with you I'll push them
to gitHub for the 4.7 cycle.
Regards,
Mathieu
[1]. https://git.linaro.org/people/mathieu.poirier/coresight.git/shortlog/refs/h…
Mathieu Poirier (4):
cs-etm: avoid casting variable
cs-etm: account for each trace buffer in the queue
cs-etm: removing unecessary structure field
cs-etm: associating output packet with CPU they executed on
tools/perf/scripts/python/cs-trace-disasm.py | 2 +
tools/perf/util/cs-etm-decoder/cs-etm-decoder.c | 15 +++-
tools/perf/util/cs-etm-decoder/cs-etm-decoder.h | 1 +
tools/perf/util/cs-etm.c | 103 +++++++++++++++++++-----
tools/perf/util/cs-etm.h | 7 ++
5 files changed, 106 insertions(+), 22 deletions(-)
--
2.5.0