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

Prabhakar Kushwaha prabhakar.pkin at gmail.com
Mon Dec 23 14:18:34 UTC 2019


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.

--pk





More information about the Crash-utility mailing list