aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorVincenzo Frascino <[email protected]>2019-10-16 14:40:24 +0100
committerPaul Burton <[email protected]>2019-10-18 14:29:16 -0700
commit8a1bef4193e81c8afae4d2f107f1c09c8ce89470 (patch)
tree1d26ba9a9e6eb48bc256f270f6c0c011d695ba63 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent0ad8f7aa9f7ea839409f7f15f155a73f4f2d08b3 (diff)
mips: vdso: Fix __arch_get_hw_counter()
On some MIPS variants (e.g. MIPS r1), vDSO clock_mode is set to VDSO_CLOCK_NONE. When VDSO_CLOCK_NONE is set the expected kernel behavior is to fallback on syscalls. To do that the generic vDSO library expects UULONG_MAX as return value of __arch_get_hw_counter(). Fix __arch_get_hw_counter() on MIPS defining a __VDSO_USE_SYSCALL case that addressed the described scenario. Reported-by: Maxime Bizon <[email protected]> Signed-off-by: Vincenzo Frascino <[email protected]> Tested-by: Maxime Bizon <[email protected]> Signed-off-by: Paul Burton <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions