]> 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)
commitf8d377bdd34a85dd4627bf9081f3b4e2be91791a
tree5257bcc5a14dd029911f21b8747f44ac4b83c82d
parent564f5b0463b1bb5a3442ffd8f6395f66ff3759d1
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