Adrian Hunter 5021d82bca 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>
2022-10-15 10:13:16 -03:00
..
2022-01-12 14:28:23 -03:00
2021-11-13 18:11:50 -03:00
2022-10-04 08:55:21 -03:00
2022-10-06 08:03:52 -03:00
2022-02-14 16:51:03 -03:00
2021-11-13 18:11:50 -03:00
2022-01-12 14:28:23 -03:00