aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorVincenzo Frascino <[email protected]>2019-12-02 07:57:29 +0000
committerMichael Ellerman <[email protected]>2019-12-05 00:13:55 +1100
commit552263456215ada7ee8700ce022d12b0cffe4802 (patch)
tree569a92e27748413a885b61ec9464846eae14e885 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent6f4679b956741d2da6ad3ebb738cbe1264ac8781 (diff)
powerpc: Fix vDSO clock_getres()
clock_getres in the vDSO library has to preserve the same behaviour of posix_get_hrtimer_res(). In particular, posix_get_hrtimer_res() does: sec = 0; ns = hrtimer_resolution; and hrtimer_resolution depends on the enablement of the high resolution timers that can happen either at compile or at run time. Fix the powerpc vdso implementation of clock_getres keeping a copy of hrtimer_resolution in vdso data and using that directly. Fixes: a7f290dad32e ("[PATCH] powerpc: Merge vdso's and add vdso support to 32 bits kernel") Cc: [email protected] Signed-off-by: Vincenzo Frascino <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Acked-by: Shuah Khan <[email protected]> [chleroy: changed CLOCK_REALTIME_RES to CLOCK_HRTIMER_RES] Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/a55eca3a5e85233838c2349783bcb5164dae1d09.1575273217.git.christophe.leroy@c-s.fr
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions