Skip to content
Snippets Groups Projects
Commit 215cada3 authored by Martin Kletzander's avatar Martin Kletzander :flag_cz:
Browse files

util: Look for newer name of cpu wait time statistic

It looks like linux changed the key for wait time in /proc/<pid>/sched
and /proc/<pid>/task/<tid>/sched files in commit ceeadb83aea2 (or around
that time) from se.statistics.wait_sum to just wait_sum.  Similarly to
the previous change (from se.wait_sum) just look for the new name first.

Resolves: https://issues.redhat.com/browse/RHEL-60030


Signed-off-by: default avatarMartin Kletzander <mkletzan@redhat.com>
Reviewed-by: default avatarPeter Krempa <pkrempa@redhat.com>
parent 7d675913
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment