linux-stable/tools/lib/api
Jiri Olsa db49120a32 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 <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Songshan Gong <gongss@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1468567797-27564-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-07-15 13:38:05 -03:00
..
fd tools: Pass arg to fdarray__filter's call back function 2016-05-30 12:41:46 -03:00
fs tools lib api fs: Use base 0 in filename__read_ull 2016-07-15 13:38:05 -03:00
Build tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
cpu.c tools lib api cpu: Introduce cpu.[ch] to obtain cpu related information 2015-09-14 12:50:26 -03:00
cpu.h tools lib api cpu: Introduce cpu.[ch] to obtain cpu related information 2015-09-14 12:50:26 -03:00
debug-internal.h tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
debug.c tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
debug.h tools lib api: Add debug output support 2016-02-16 17:12:56 -03:00
Makefile tools lib api fs: Use str_error_r() 2016-07-12 15:20:29 -03:00