diff options
author | Christophe Leroy <[email protected]> | 2020-05-09 09:42:14 +0000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-05-11 19:24:29 +1000 |
commit | e963b7a28b2bf2416304e1a15df967fcf662aff5 (patch) | |
tree | 1d05b9ecc6ab695f894176bccff89fe7ee73f9cd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4833ce06e6855d526234618b746ffb71d6612c9a (diff) |
powerpc/vdso32: Fallback on getres syscall when clock is unknown
There are other clocks than the standard ones, for instance
per process clocks. Therefore, being above the last standard clock
doesn't mean it is a bad clock. So, fallback to syscall instead
of returning -EINVAL inconditionaly.
Fixes: e33ffc956b08 ("powerpc/vdso32: implement clock_getres entirely")
Cc: [email protected] # v5.6+
Reported-by: Aurelien Jarno <[email protected]>
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Tested-by: Aurelien Jarno <[email protected]>
Link: https://lore.kernel.org/r/7316a9e2c0c2517923eb4b0411c4a08d15e675a4.1589017281.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions