[Crash-utility] [PATCH][v2] Remove __exception_text_start and __exception_text_end for ARM64

Bhupesh Sharma bhsharma at redhat.com
Mon Dec 23 19:38:57 UTC 2019


On Mon, Dec 23, 2019 at 7:49 PM Prabhakar Kushwaha
<prabhakar.pkin at gmail.com> wrote:
>
> On Mon, Dec 23, 2019 at 7:32 PM Dave Anderson <anderson at redhat.com> wrote:
> >
> >
> >
> > ----- Original Message -----
> > > __exception_text_start and __exception_text_end is used to group functions
> > > and place according to linker script in such a way to achieve
> > > kprobe blacklist. Linux commit b6e43c0e3129 ("arm64: remove __exception
> > > annotations") has removed __exception_text_start and
> > > __exception_text_end and uses NOKPROBE_SYMBOL() for blacklist kprobes.
> > >
> > > So removing references of __exception_text_start and __exception_text_end
> > > for ARM64.
> >
> > NAK for a couple of reasons...
> >
> > First, they cannot be removed for backward-compatibility purposes, and secondly
> > an alternative method is required for arm64_back_trace_cmd() for handling
> > exception frames.
> >
>
> We are getting following error with crash tool with latest kernel.
> crash: cannot resolve "__exception_text_start" error
>
> it is because of Linux commit b6e43c0e3129 which removes
> __exception_text_start and __exception_text_end.
> We need to find alternate way of fixing it.

I cannot seem to remember reproducing this issue with crash with
latest kernel on my arm64 boards.
Can you be more specific on the exact kernel version and the crash
command you used, just to be sure we are able to reproduce the same?

Thanks,
Bhupesh





More information about the Crash-utility mailing list