perf c2c: Support AUX trace
authorLeo Yan <leo.yan@linaro.org>
Fri, 6 Nov 2020 09:48:52 +0000 (17:48 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Nov 2020 15:27:06 +0000 (12:27 -0300)
commitc825f7885178f994a2a00ca02016940d94aaed6e
tree1cde0ea2ac8161bd075a4230705d7ebcb5e3d503
parent13e5df1e3f1ba1a90944362bc57690ea1369b3b7
perf c2c: Support AUX trace

This patch adds the AUX callbacks in session structure, so support AUX
trace for "perf c2c" tool; make itrace memory event as default for "perf
c2c", this tells the AUX trace decoder to synthesize samples and can be
used for statistics.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20201106094853.21082-9-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-c2c.c