[tip:perf/urgent] perf s390: Fix 'start' address of module's map

2016-07-27 Thread tip-bot for Song Shan Gong
Commit-ID: 203d8a4aa6edf2c19206316d439ec5dae52ce581 Gitweb: http://git.kernel.org/tip/203d8a4aa6edf2c19206316d439ec5dae52ce581 Author: Song Shan Gong AuthorDate: Thu, 21 Jul 2016 11:10:51 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 26 Jul 2016 16:46:12 -0300 perf s390

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

2016-07-20 Thread Song Shan Gong
LT' relocations before '.text' section. So there exists an offset between module base address and '.text' section, which will incur wrong symbol resolution for modules. Fix this bug by getting 'start' address of module's map from parsing '/sys/modul

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

2016-07-20 Thread Song Shan Gong
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'

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

2016-07-19 Thread Song Shan Gong
LT' relocations before '.text' section. So there exists an offset between module base address and '.text' section, which will incur wrong symbol resolution for modules. Fix this bug by getting 'start' address of module's map from parsing '/sys/module/[module n

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

2016-07-19 Thread Song Shan Gong
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 +

[PATCH RFC V1] perf tests: ignore symbols before kernel start

2016-07-19 Thread Song Shan Gong
is kernel map start(no-zero), we can get '_text' symbol of vmlinux, but we can't find the pair '_text' symbol of kallsyms, because there is no map starting from zero. This mismatch is incorrrect. Fix by just ignoring these symbols before kernel start. Signed-off-by: Son

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

2016-07-15 Thread Song Shan Gong
LT' relocations before '.text' section. So there exists an offset between module base address and '.text' section, which will incur wrong symbol resolution for modules. Fix this bug by getting 'start' address of module's map from parsing '/sys/module/[module n

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

2016-07-15 Thread Song Shan Gong
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 alloc

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

2016-07-06 Thread Song Shan Gong
LT' relocations before '.text' section. So there exists an offset between module base address and '.text' section, which will incur wrong symbol resolution for modules. Fix this bug by getting 'start' address of module's map from parsing '/sys/module/[module n

[PATCH] perf: use right filename to test

2016-07-05 Thread Song Shan Gong
build_id()', so the right filename ought to be 'dso->long_name'. Signed-off-by: Song Shan Gong Reviewed-by: Christian Borntraeger --- tools/perf/util/symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.