diff options
author | Mathieu Poirier <mathieu.poirier@linaro.org> | 2019-06-11 14:45:28 -0600 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-06-17 15:57:16 -0300 |
commit | 374d910f87b87283df2b1e8a60a6a546d4a14c90 (patch) | |
tree | 986bacd69164f90a58dacccd68765807ec5d2a02 /tools/bpf/bpf_jit_disasm.c | |
parent | 010e3e8fc12b1c13ce19821a11d8930226ebb4b6 (diff) |
perf: cs-etm: Optimize option setup for CPU-wide sessions
Call function cs_etm_set_option() once with all relevant options set
rather than multiple times to avoid going through the list of CPU more
than once.
Suggested-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/20190611204528.20093-1-mathieu.poirier@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/bpf/bpf_jit_disasm.c')
0 files changed, 0 insertions, 0 deletions