perf test: Add basic perf record tests
authorIan Rogers <irogers@google.com>
Thu, 14 Apr 2022 01:46:42 +0000 (18:46 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Apr 2022 12:10:12 +0000 (09:10 -0300)
commit24f378e66021f559e90f2699e66581784718b2d9
tree7bb1bfb6cec252d6e8f44e42df967136e30330ba
parent2adacd7f0a9f88891acf667ce6957437051550eb
perf test: Add basic perf record tests

Test the --per-thread flag.

Test Intel machine state capturing.

Suggested-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Alexey Bayduraev <alexey.bayduraev@gmail.com>
Cc: Alexey Bayduraev <alexey.v.bayduraev@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Riccardo Mancini <rickyman7@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lore.kernel.org/r/20220414014642.3308206-3-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/record.sh [new file with mode: 0755]