]> git.baikalelectronics.ru Git - kernel.git/commit
perf test: test_intel_pt.sh: Tidy some perf record options
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 14 Oct 2022 17:09:00 +0000 (20:09 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 15 Oct 2022 13:13:16 +0000 (10:13 -0300)
commite0795157ec1bcaaab6d85e5869d96c1a3cbd058c
tree5257bcc5a14dd029911f21b8747f44ac4b83c82d
parent2cb325eb037c9393441d04964e573703cc87382b
perf test: test_intel_pt.sh: Tidy some perf record options

When not decoding, the options "-B -N --no-bpf-event" speed up perf record.
Make a common function for them.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20221014170905.64069-3-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/test_intel_pt.sh