[RFC PATCH V2]s390/perf:fix 'start' address of module's map

From: Song Shan Gong
Date: Fri Jul 15 2016 - 06:15:25 EST


Change log:

>From V1:
1.change func name from 'fix__arch_module_baseaddr' to
'fix__arch_module_text_start';
2.Parse '.text' start addr from 'sys' through 'sysfs__read_ull', not
'hex2u64()';
2.Perfect code: check return value and allocated pointer by 'strdup'.

Song Shan Gong (1):
s390/perf: fix 'start' address of module's map

tools/perf/arch/s390/util/Build | 2 ++
tools/perf/arch/s390/util/sym-handling.c | 27 +++++++++++++++++++++++++++
tools/perf/util/machine.c | 8 ++++++++
tools/perf/util/machine.h | 1 +
4 files changed, 38 insertions(+)
create mode 100644 tools/perf/arch/s390/util/sym-handling.c

--
2.3.0