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

From: Song Shan Gong
Date: Wed Jul 20 2016 - 23:11:05 EST


Change log:

>From V3:
1.move fixup function to tools/perf/arch/s390/util/machine.c;
2. Add acked-by info from Jiri Olsa <jolsa@xxxxxxxxxx>;

>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