aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorHans Holmberg <[email protected]>2018-10-09 13:11:50 +0200
committerJens Axboe <[email protected]>2018-10-09 08:25:07 -0600
commit765462fa4c4d0fd3eb718f2ba14cb04c35219854 (patch)
treeb97d875ef5463cc92466dca93681cca2798edc0c /tools/perf/scripts/python/call-graph-from-sql.py
parentea1d24bc3ac0a0a544db0686d1ff8bb0c31ad683 (diff)
lightnvm: pblk: fix write amplificiation calculation
When the user data counter exceeds 32 bits, the write amplification calculation does not provide the right value. Fix this by using div64_u64 in stead of div64. Fixes: 76758390f83e ("lightnvm: pblk: export write amplification counters to sysfs") Signed-off-by: Hans Holmberg <[email protected]> Signed-off-by: Matias Bjørling <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions