diff options
| author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-01-26 02:32:39 +0300 |
|---|---|---|
| committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-02-22 01:37:52 +0300 |
| commit | 857f6fde1c6e800b685c2da864dabd7ff9091dca (patch) | |
| tree | 469c88f8355391d606cffacbb64d02651c388537 /tools/perf/scripts/python/flamegraph.py | |
| parent | 2ce503b35dcea29767c6d03b44e3c535809fdfcc (diff) | |
| download | linux-857f6fde1c6e800b685c2da864dabd7ff9091dca.tar.xz | |
n64: use sector SECTOR_SHIFT instead 512
Instead of using magic numbers use SECTOR_SHIFT to get the number of
sectors from the size.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Lauri Kasanen <cand@gmx.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
