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

2016-07-26 Thread Arnaldo Carvalho de Melo
From: Song Shan Gong At present, when creating module's map, perf gets 'start' address by parsing '/proc/modules', but it's the module base address, it isn't the start address of the '.text' section. In most arches, it's OK. But for s390, it places 'GOT' and 'PLT'

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

2016-07-26 Thread Arnaldo Carvalho de Melo
From: Song Shan Gong At present, when creating module's map, perf gets 'start' address by parsing '/proc/modules', but it's the module base address, it isn't the start address of the '.text' section. In most arches, it's OK. But for s390, it places 'GOT' and 'PLT' relocations before '.text'