]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit5021d82bca4f5335b29de71f0533b93c6c15007e
tree5257bcc5a14dd029911f21b8747f44ac4b83c82d
parente4080492877d3125ffd0c6dd3e3c997fbe0ebe6d
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