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

From: Song Shan Gong
Date: Tue Jul 19 2016 - 07:32:14 EST


Change log:

>From V2:
1. remove redundancy string 'module_name';


>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