Messages in this thread | | | Date | Mon, 2 Jan 2017 14:09:40 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH perf/core] perf-probe: Fix to get correct modname from elf header |
| |
Em Tue, Jan 03, 2017 at 12:20:49AM +0900, Masami Hiramatsu escreveu: > Since perf-probe supports cross-arch probe, it is possible to > analyze different arch kernel image which has different > bits-per-long. In that case, it fails to get module name > because perf probe uses MOD_NAME_OFFSET macro based on > host machines bits-per-long, instead of the target archs > bits-per-long. > > This fixes above issue by changing modname-offset based on > the target archs bitwidth. This is ok because linux kernel > uses LP64 model on 64bit arch.
Seems simple enough, thanks, applied.
- Arnaldo
| |