On Thu, Jul 07, 2016 at 09:49:36AM +0800, Song Shan Gong wrote: > At preset, when creating module's map, perf gets 'start' address by parsing > 'proc/modules', but it's module base address, isn't the start address of > '.text' section. In most archs, it's OK. But for s390, it places 'GOT' and > 'PLT' 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 name]/sections/.text', not from '/proc/modules'.
cool, does this fix the 'perf test 1' for s390? that'd be great I'll send few coments shortly thanks, jirka