diff options
| author | wuchi <[email protected]> | 2022-09-03 21:52:33 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 21:55:12 -0700 |
| commit | b814751175470b00969a317bf3192260750f9455 (patch) | |
| tree | 6cdb3665e3f05449771b5c27c1591dc9982feb0d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | bfca3dd3d0680fc2fc7f659a152234afbac26e4d (diff) | |
latencytop: use the last element of latency_record of system
In account_global_scheduler_latency(), when we don't find the matching
latency_record we try to select one which is unused in
latency_record[MAXLR], but the condition will skip the last one.
if (i >= MAXLR-1)
Fix that.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: wuchi <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Luis Chamberlain <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions