summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-inject.c
diff options
context:
space:
mode:
authorMike Leach <mike.leach@linaro.org>2023-01-20 15:37:06 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2023-01-30 14:54:13 -0300
commitc6535b6ba93477c491e3816af5eed845813c6f3b (patch)
treede8da2442f387892225f959735fc2a412b19ad80 /tools/perf/builtin-inject.c
parentdfadf8b315f5cf5d0077181d9882a7e1f3da1749 (diff)
downloadlinux-stable-c6535b6ba93477c491e3816af5eed845813c6f3b.tar.gz
linux-stable-c6535b6ba93477c491e3816af5eed845813c6f3b.tar.bz2
linux-stable-c6535b6ba93477c491e3816af5eed845813c6f3b.zip
perf cs-etm: Update decoder code for OpenCSD version 1.4
OpenCSD version 1.4 is released with support for FEAT_ITE. This adds a new packet type, with associated output element ID in the packet type enum - OCSD_GEN_TRC_ELEM_INSTRUMENTATION. As we just ignore this packet in perf, add to the switch statement to avoid the "enum not handled in switch error", but conditionally so as not to break the perf build for older OpenCSD installations. Reviewed-by: James Clark <james.clark@arm.com> Signed-off-by: Mike Leach <mike.leach@linaro.org> Acked-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Suzuki Poulouse <suzuki.poulose@arm.com> Cc: coresight@lists.linaro.org Cc: linux-arm-kernel@lists.infradead.org Link: https://lore.kernel.org/r/20230120153706.20388-1-mike.leach@linaro.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions