tutorial: any simple perf trace example
We need to show at least one example of perf tracing (with perf-ctf-converter), maybe in the advanced sessions
Ref: http://www.versatic.net/tracecompass/incubator/perf/2017/10/23/analyze-perf-trace.html and LISA talk thttpd example
Issues with perf:
- perf2ctf needs to be compiled with perf (kernel). Only debian has it that I know of
- perf2ctf doesn't work with latest babeltrace, or my compile script doesn't work anymore, but I haven't been able to compile with babeltrace for a few months (haven't debugged thoroughly)
- We might want to add the support of native perf format in Trace Compass and/or read the perf report output (like Brendan Gregg's flamegraphs)
Here's some doc on the perf file format: https://github.com/torvalds/linux/blob/master/tools/perf/Documentation/perf.data-file-format.txt
I started this patch for the binary perf, just to put the mechanics to have a new trace type in Trace Compass. We can go incrementally from there, supporting some events at a time...
https://git.eclipse.org/r/#/c/128688/