Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1259402

Re: [PATCH v4 1/6] arm64: ftrace: adjust callsite addresses examined by stack tracer

From Will Deacon <will.deacon@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4 1/6] arm64: ftrace: adjust callsite addresses examined by stack tracer
Date 2015-10-30 12:20 +0100
Message-ID <qpfSW-58P-3@gated-at.bofh.it> (permalink)
References <qpaqe-1Jj-1@gated-at.bofh.it> <qpaqe-1Jj-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Oct 30, 2015 at 02:25:36PM +0900, AKASHI Takahiro wrote:
> On arm64, no PC values returned by save_stack_trace() will match to LR
> values saved in stack frames on a stack after the following commit:
>     commit e306dfd06fcb ("ARM64: unwind: Fix PC calculation")
> As a result, the output from stack tracer will be messed up.

FWIW, we've decided to revert that patch for the moment. We're the only
architecture making that kind of adjustment, so we should fix that before
building on top of it.

Will
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/6] arm64: ftrace: fix incorrect output from stack tracer AKASHI Takahiro <takahiro.akashi@linaro.org> - 2015-10-30 06:30 +0100
  [PATCH v4 5/6] arm64: insn: add instruction decoders for ldp/stp and add/sub AKASHI Takahiro <takahiro.akashi@linaro.org> - 2015-10-30 06:30 +0100
  [PATCH v4 1/6] arm64: ftrace: adjust callsite addresses examined by stack tracer AKASHI Takahiro <takahiro.akashi@linaro.org> - 2015-10-30 06:30 +0100
    Re: [PATCH v4 1/6] arm64: ftrace: adjust callsite addresses examined  by stack tracer Will Deacon <will.deacon@arm.com> - 2015-10-30 12:20 +0100
  [PATCH v4 2/6] arm64: ftrace: modify a stack frame in a safe way AKASHI Takahiro <takahiro.akashi@linaro.org> - 2015-10-30 06:30 +0100
  [PATCH v4 4/6] ftrace: allow arch-specific stack tracer AKASHI Takahiro <takahiro.akashi@linaro.org> - 2015-10-30 06:30 +0100
  [PATCH v4 3/6] arm64: ftrace: fix a stack tracer's output under function graph tracer AKASHI Takahiro <takahiro.akashi@linaro.org> - 2015-10-30 06:30 +0100
  [PATCH v4 6/6] arm64: ftrace: add arch-specific stack tracer AKASHI Takahiro <takahiro.akashi@linaro.org> - 2015-10-30 06:30 +0100

csiph-web