aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-05-29 14:36:26 -0700
committerPaul E. McKenney <[email protected]>2020-06-29 12:00:45 -0700
commit7c944d7c67daee84e3c756bb74ad2f32b28c41cf (patch)
treed41f48b6d2150158de7bc32fe40e4a1cbd3ddd4b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent847dd70aa971a67b4dfdb8f131428dfb90d88714 (diff)
refperf: Work around 64-bit division
A 64-bit division was introduced in refperf, breaking compilation on all 32-bit architectures: kernel/rcu/refperf.o: in function `main_func': refperf.c:(.text+0x57c): undefined reference to `__aeabi_uldivmod' Fix this by using div_u64 to mark the expensive operation. [ paulmck: Update primitive and format per Nathan Chancellor. ] Fixes: bd5b16d6c88d ("refperf: Allow decimal nanoseconds") Reported-by: kbuild test robot <[email protected]> Reported-by: Valdis KlÄ“tnieks <[email protected]> Acked-by: Randy Dunlap <[email protected]> # build-tested Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions