aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJin Yao <[email protected]>2019-08-28 05:59:29 +0000
committerArnaldo Carvalho de Melo <[email protected]>2019-09-01 01:27:51 +0000
commita55ab7c4ca6986a542d313b02043a39ebf712a39 (patch)
tree002bb1bd33ae84caffdfd38215157b16a3c61064 /tools/perf/scripts/python/mem-phys-addr.py
parentperf symbols: Move mem_info and branch_info out of symbol.h (diff)
downloadkernel-a55ab7c4ca6986a542d313b02043a39ebf712a39.tar.gz
kernel-a55ab7c4ca6986a542d313b02043a39ebf712a39.zip
perf pmu: Change convert_scale from static to global
The function convert_scale() can be used to convert string to unit and scale. For example, s = "6000000000ns"; convert_scale(s, &unit, &scale); unit = "ns", scale = 6000000000. Currently this function is static. This patch renames the function to perf_pmu__convert_scale and changes the function to global. No functional change. Signed-off-by: Jin Yao <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions