diff options
author | Jiri Olsa <[email protected]> | 2016-07-15 09:29:57 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-07-15 13:38:05 -0300 |
commit | db49120a32b347fb93aea3319305932657dd118c (patch) | |
tree | 70520e40723f4534f85df5ef994ce8aa5c1fcace /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0d203166de37ad50ea826f97570b3a2beea87c9d (diff) |
tools lib api fs: Use base 0 in filename__read_ull
By using 0 for base, the strtoull() detects the base automatically (see
'man strtoull').
ATM we have just one user of this function, the cpu__get_max_freq
function reading the "cpuinfo_max_freq" sysfs file. It should not get
affected by this change.
Committer note:
This change seems motivated by this discussion:
"[PATCH] [RFC V1]s390/perf: fix 'start' address of module's map"
http://lkml.kernel.org/r/20160711120155.GA29929@krava
I.e. this patches paves the way for filename__read_ull() to be used in a
S/390 related fix.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Songshan Gong <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions