aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorReed Riley <[email protected]>2024-09-05 16:59:29 +0000
committerKent Overstreet <[email protected]>2024-09-09 09:41:47 -0400
commit27663d7784b5dfd354a968e06b26452dc93f2a16 (patch)
treec14c75f9e3bb1cd454b8137f1ff6b9744522c735 /tools/perf/scripts/python/stackcollapse.py
parent36f0af4f44a4e465b0af4bf188d780511c1ca189 (diff)
bcachefs: Replace div_u64 with div64_u64 where second param is u64
Bcachefs often uses this function to divide by nanosecond times - which can easily cause problems when cast to u32. For example, `cat /sys/fs/bcachefs/*/internal/rebalance_status` would return invalid data in the `duration waited` field because dividing by the number of nanoseconds in a minute requires the divisor parameter to be u64. Signed-off-by: Reed Riley <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions