mirror-linux/tools/perf/arch/arm64/util
James Clark 6593f019c2 perf tools: Add util function for overriding user set config values
There is some duplicated code to only override config values if they
haven't already been set by the user so make a util function for this.

Signed-off-by: James Clark <james.clark@arm.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Denis Nikitin <denik@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Yang Shi <shy828301@gmail.com>
Cc: coresight@lists.linaro.org
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20230424134748.228137-3-james.clark@arm.com
[ Moved evsel__set_config_if_unset() to util/pmu.c to avoid dragging stuff into the python binding ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2023-04-24 14:41:51 -03:00
..
Build perf build: Use libtraceevent from the system 2022-12-14 11:16:12 -03:00
arm-spe.c perf tools: Add util function for overriding user set config values 2023-04-24 14:41:51 -03:00
arm64_exception_types.h perf kvm: Add kvm-stat for arm64 2020-11-04 09:42:41 -03:00
dwarf-regs.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
header.c perf tools: Add arm64 version of get_cpuid() 2020-02-12 10:36:51 -03:00
hisi-ptt.c perf auxtrace arm64: Add support for HiSilicon PCIe Tune and Trace device driver 2022-10-15 10:13:16 -03:00
kvm-stat.c perf evsel: Introduce evsel__name_is() method to check if the evsel name is equal to a given string 2023-04-24 14:28:11 -03:00
machine.c perf tools: Move 'struct perf_sample' to a separate header file to disentangle headers 2022-10-31 11:06:41 -03:00
mem-events.c perf mem: Trace physical address for Arm SPE events 2022-06-03 21:39:27 +02:00
perf_regs.c perf tools arm64: Add support for VG register 2022-05-27 13:21:33 -03:00
pmu.c perf pmu-events: Introduce pmu_metrics_table 2023-02-03 13:54:21 -03:00
tsc.c perf tsc: Add rdtsc() for Arm64 2020-09-22 13:44:16 -03:00
unwind-libdw.c perf tools: Move 'struct perf_sample' to a separate header file to disentangle headers 2022-10-31 11:06:41 -03:00
unwind-libunwind.c perf unwind arm64: Decouple Libunwind register names from Perf 2022-05-26 12:43:05 -03:00