diff options
author | Aisheng Dong <aisheng.dong@nxp.com> | 2019-03-06 16:25:15 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-03-11 13:26:45 +0300 |
commit | 0cec68a97787db1ca5772f5939ec4db22de78d65 (patch) | |
tree | 8ee152d6b1829d4540aca70f656739de6b3cca97 /tools/perf/scripts/python/syscall-counts.py | |
parent | 46b7fe94995fd166786a301dbba919046e70e702 (diff) | |
download | linux-0cec68a97787db1ca5772f5939ec4db22de78d65.tar.xz |
PM / Domains: Return early for all errors in _genpd_power_off()
It is strange to only return early for -EBUSY state and left other
errors to be still measured execution time.
As for error cases, the elapsed_ns computed actually is not quite
accurate and meaningful for governor to use. So let's simply return
for all error cases.
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions