diff options
author | Alexandre Truong <alexandre.truong@arm.com> | 2021-12-17 15:45:17 +0000 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-12-21 18:35:44 -0300 |
commit | ab23692134489f0f563168449fc27bfb5d6b04dd (patch) | |
tree | dd4da9630f2ad899c0d8b9ec20719867f6d7e8e6 /tools/perf/util/callchain.h | |
parent | perf machine: Add a mechanism to inject stack frames (diff) | |
download | linux-dev-ab23692134489f0f563168449fc27bfb5d6b04dd.tar.xz linux-dev-ab23692134489f0f563168449fc27bfb5d6b04dd.zip |
perf script: Use callchain_param_setup() instead of open coded equivalent
Refactoring script__setup_sample_type() by using callchain_param_setup()
to replace the duplicate code for callchain parameter setting up.
Reviewed-by: James Clark <james.clark@arm.com>
Signed-off-by: Alexandre Truong <alexandre.truong@arm.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: John Garry <john.garry@huawei.com>
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: Will Deacon <will@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Link: https://lore.kernel.org/r/20211217154521.80603-4-german.gomez@arm.com
Signed-off-by: German Gomez <german.gomez@arm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/callchain.h')
0 files changed, 0 insertions, 0 deletions