OpenCloudOS-Kernel/tools/perf/util/arm-spe-decoder
Namhyung Kim b0fde9c6e2 perf arm-spe: Add SPE total latency as PERF_SAMPLE_WEIGHT
Use total latency info in the SPE counter packet as sample weight so
that we can see it in local_weight and (global) weight sort keys.

Maybe we can use PERF_SAMPLE_WEIGHT_STRUCT to support ins_lat as well
but I'm not sure which latency it matches.  So just adding total latency
first.

Reviewed-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: German Gomez <german.gomez@arm.com>
Cc: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@arm.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20211201220855.1260688-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-12-16 12:18:11 -03:00
..
Build perf arm-spe: Support synthetic events 2020-06-01 12:24:23 -03:00
arm-spe-decoder.c perf arm-spe: Add SPE total latency as PERF_SAMPLE_WEIGHT 2021-12-16 12:18:11 -03:00
arm-spe-decoder.h perf arm-spe: Add SPE total latency as PERF_SAMPLE_WEIGHT 2021-12-16 12:18:11 -03:00
arm-spe-pkt-decoder.c perf tools: Use __BYTE_ORDER__ 2021-11-07 12:27:38 -03:00
arm-spe-pkt-decoder.h perf arm-spe: Add support for ARMv8.3-SPE 2020-11-26 09:31:46 -03:00