aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-07-10 17:21:34 +0200
committerJens Axboe <[email protected]>2018-07-10 12:26:09 -0600
commit88b7210c81096c018f5836aff4749743c0d34623 (patch)
tree903f498b0a692ad8dd3cb22f4232d04aff5cc201 /tools/perf/scripts/python/stackcollapse.py
parent3993e501bf853cce85c5114a704b86b8f486790c (diff)
block: iolatency: avoid 64-bit division
On 32-bit architectures, dividing a 64-bit number needs to use the do_div() function or something like it to avoid a link failure: block/blk-iolatency.o: In function `iolatency_prfill_limit': blk-iolatency.c:(.text+0x8cc): undefined reference to `__aeabi_uldivmod' Using div_u64() gives us the best output and avoids the need for an explicit cast. Fixes: d70675121546 ("block: introduce blk-iolatency io controller") Reviewed-by: Josef Bacik <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions