aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2020-02-05 15:27:59 -0800
committerStephen Boyd <[email protected]>2020-02-12 15:26:42 -0800
commitf21cf9c77ee82ef8adfeb2143adfacf21ec1d5cc (patch)
tree57a240645f52b0c7ab530444f6532da52807f3da /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentbb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff)
clk: Don't cache errors from clk_ops::get_phase()
We don't check for errors from clk_ops::get_phase() before storing away the result into the clk_core::phase member. This can lead to some fairly confusing debugfs information if these ops do return an error. Let's skip the store when this op fails to fix this. While we're here, move the locking outside of clk_core_get_phase() to simplify callers from the debugfs side. Cc: Douglas Anderson <[email protected]> Cc: Heiko Stuebner <[email protected]> Cc: Jerome Brunet <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Acked-by: Jerome Brunet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions