WSL2-Linux-Kernel/tools/perf/tests/shell
Namhyung Kim ade1d0307b perf offcpu: Update offcpu test for child process
Record off-cpu data with perf bench sched messaging workload and count
the number of offcpu-time events.  Also update the test script not to
run next tests if failed already and revise the error messages.

  $ sudo ./perf test offcpu -v
   88: perf record offcpu profiling tests                              :
  --- start ---
  test child forked, pid 344780
  Checking off-cpu privilege
  Basic off-cpu test
  Basic off-cpu test [Success]
  Child task off-cpu test
  Child task off-cpu test [Success]
  test child finished with 0
  ---- end ----
  perf record offcpu profiling tests: Ok

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Blake Jones <blakejones@google.com>
Cc: Hao Luo <haoluo@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20220811185456.194721-5-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-08-11 17:57:45 -03:00
..
lib perf test: JSON format checking 2022-08-10 10:44:01 -03:00
buildid.sh perf buildid-cache: Add test for PE executable 2021-03-02 09:41:04 -03:00
daemon.sh Merge remote-tracking branch 'torvalds/master' into perf/core 2021-03-29 10:39:10 -03:00
pipe_test.sh perf tools: Add pipe_test.sh to verify pipe operations 2021-08-02 10:14:58 -03:00
probe_vfs_getname.sh
record+probe_libc_inet_pton.sh
record+script_probe_vfs_getname.sh perf test: Fix record+script_probe_vfs_getname.sh /tmp cleanup 2021-10-26 11:14:49 -03:00
record+zstd_comp_decomp.sh perf tests: Remove bash construct from record+zstd_comp_decomp.sh 2021-11-13 18:11:51 -03:00
record.sh perf test: Add skip to --per-thread test 2022-05-06 15:15:05 -03:00
record_offcpu.sh perf offcpu: Update offcpu test for child process 2022-08-11 17:57:45 -03:00
stat+csv_output.sh perf test: Fix test case 83 ('perf stat CSV output linter') on s390 2022-07-20 13:20:33 -03:00
stat+csv_summary.sh perf test: Add CSV summary test 2021-03-24 10:21:57 -03:00
stat+json_output.sh perf test: JSON format checking 2022-08-10 10:44:01 -03:00
stat+shadow_stat.sh perf tests: Skip 'perf stat metrics (shadow stat) test' for hybrid 2021-04-29 10:31:00 -03:00
stat.sh perf stat: Add stat record+report test 2022-05-23 09:51:55 -03:00
stat_all_metricgroups.sh perf test: Enable system wide for metricgroups test 2022-01-11 18:46:23 -03:00
stat_all_metrics.sh perf test: Make all metrics test more tolerant 2022-07-12 08:54:47 -03:00
stat_all_pmu.sh perf test: Fix "all PMU test" to skip hv_24x7/hv_gpci tests on powerpc 2022-05-21 14:45:06 -03:00
stat_bpf_counters.sh perf test: Remove bash construct from stat_bpf_counters.sh test 2021-11-13 18:11:51 -03:00
test_arm_callgraph_fp.sh perf test: Record only user callchains on the "Check Arm64 callgraphs are complete in fp mode" test 2022-06-19 10:41:43 -03:00
test_arm_coresight.sh perf tests: Fix coresight `perf test` failure. 2022-05-08 21:48:49 -03:00
test_arm_spe.sh perf test: Add ARM SPE system wide test 2022-08-01 14:46:30 -03:00
test_arm_spe_fork.sh perf test arm-spe: Check if perf-record hangs when recording workload with forks 2022-06-03 21:18:35 +02:00
test_brstack.sh perf test: Fix test case 95 ("Check branch stack sampling") on s390 and use same event 2022-07-29 10:31:06 -03:00
test_intel_pt.sh perf intel-pt: Add a test for system-wide side band 2022-05-26 12:36:56 -03:00
trace+probe_vfs_getname.sh perf tests: Fix trace+probe_vfs_getname.sh /tmp cleanup 2021-10-26 11:17:38 -03:00