summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorShang XiaoJing <shangxiaojing@huawei.com>2022-09-06 06:29:04 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-10-04 14:55:21 +0300
commit4fb47c8c20ec851128a36f82295886d325920864 (patch)
treecdde497d4a495a79954c1cd6d699da92be8e3e7a /tools/perf/scripts/python/stackcollapse.py
parentb304c173e3fffc241bc51650980c8342db396bcb (diff)
downloadlinux-4fb47c8c20ec851128a36f82295886d325920864.tar.xz
perf tools: Add same_cmd_with_prefix() helper
Wrap repeated code in helper function same_cmd_with_prefix for more clearly. Signed-off-by: Shang XiaoJing <shangxiaojing@huawei.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20220906032906.21395-2-shangxiaojing@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions