Re: [PATCH v2] perf probe: Fix failure to probe events on arm
From: Arnaldo Carvalho de Melo
Date: Fri Jun 19 2015 - 17:09:04 EST
Em Thu, Jun 18, 2015 at 02:49:10AM +0000, He Kuang escreveu:
> Fix failure to probe events on arm, problem is introduced by commit
> 5a51fcd1f30c ("perf probe: Skip kernel symbols which is out of
> .text"). For some architectures, label '_etext' is not in the .text
> section(in .notes section for arm/arm64). Label out of .text section is
> not loaded as symbols and we got a zero value when look up its address,
> which causes all events be wrongly skiped.
> This patch skip checking text address range when failed to get the
> address of '_etext' and fixes the problem.
Masami, since you guys discussed this patch, can I have your Acked-by?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/