diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-10-20 20:26:38 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-27 22:37:26 +0300 |
commit | 4321ad4ee98b7325d6133e1d5b7fa25bcbdeb57e (patch) | |
tree | 026b68d0db78e4d76a8b814a3edcac11af0bd98e /tools/perf/util/trace-event-scripting.c | |
parent | 9e455f4f29e3aeab29b6c1f7d086ddc43fc1a502 (diff) | |
download | linux-4321ad4ee98b7325d6133e1d5b7fa25bcbdeb57e.tar.xz |
perf test: Use a test program in 'perf record' tests
If the system has cc it could build a test program with two threads
and then use it for more detailed testing. Also it accepts an option
to run a thread forever to ensure multi-thread runs.
If cc is not found, it falls back to use the default value 'true'.
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221020172643.3458767-4-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions