[PATCH for v4.9 LTS 30/87] perf probe: Fix to get correct modname from elf header

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Masami Hiramatsu [ Upstream commit 1f2ed153b916c95a49a1ca9d7107738664224b7f ] Since 'perf probe' supports cross-arch probes, it is possible to analyze different arch kernel image which has different bits-per-long. In that case, it fails to get the module name because

[PATCH for v4.9 LTS 30/87] perf probe: Fix to get correct modname from elf header

2017-07-14 Thread Levin, Alexander (Sasha Levin)
From: Masami Hiramatsu [ Upstream commit 1f2ed153b916c95a49a1ca9d7107738664224b7f ] Since 'perf probe' supports cross-arch probes, it is possible to analyze different arch kernel image which has different bits-per-long. In that case, it fails to get the module name because it uses the