aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2023-01-31 16:12:18 -0800
committerBoqun Feng <[email protected]>2023-03-20 11:12:16 -0700
commit6bc6e6b27524304aadb9c04611ddb1c84dd7617a (patch)
treec5c9cc5362b1111c58914d8c687316c8208abfb1 /tools/perf/scripts/python/event_analyzing_sample.py
parentef1ef3d47677dc191b88650a9f7f91413452cc1b (diff)
refscale: Move shutdown from wait_event() to wait_event_idle()
The ref_scale_shutdown() kthread/function uses wait_event() to wait for the refscale test to complete. However, although the read-side tests are normally extremely fast, there is no law against specifying a very large value for the refscale.loops module parameter or against having a slow read-side primitive. Either way, this might well trigger the hung-task timeout. This commit therefore replaces those wait_event() calls with calls to wait_event_idle(), which do not trigger the hung-task timeout. Signed-off-by: Paul E. McKenney <[email protected]> Signed-off-by: Boqun Feng <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions