Re: [PATCHv2 8/8] perf probe powerpc: Fixup function entry if using kallsyms lookup

2015-03-12 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 15, 2014 at 08:20:38PM +0530, Naveen N. Rao escreveu: > On powerpc ABIv2, if no debug-info is found and we use kallsyms, we need > to fixup the function entry to point to the local entry point. Use > offset of 8 since current toolchains always generate 2 instructions (8 > bytes). So

[PATCHv2 8/8] perf probe powerpc: Fixup function entry if using kallsyms lookup

2014-12-15 Thread Naveen N. Rao
On powerpc ABIv2, if no debug-info is found and we use kallsyms, we need to fixup the function entry to point to the local entry point. Use offset of 8 since current toolchains always generate 2 instructions (8 bytes). Signed-off-by: Naveen N. Rao --- Changes: Generalize and introduce helper to p