diff options
| author | Namhyung Kim <[email protected]> | 2022-08-11 18:54:56 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-08-11 20:57:45 +0000 |
| commit | ade1d0307b2fb3d9192398e9b638b1bb6ed36028 (patch) | |
| tree | 4af2c3adf1f42bf9e9ca0217db6a6d7f274a1f4c /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf offcpu: Track child processes (diff) | |
| download | kernel-ade1d0307b2fb3d9192398e9b638b1bb6ed36028.tar.gz kernel-ade1d0307b2fb3d9192398e9b638b1bb6ed36028.zip | |
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 <[email protected]>
Cc: Blake Jones <[email protected]>
Cc: Hao Luo <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Milian Wolff <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
