linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] ARM: Convert to ARCH_STACKWALK
@ 2022-07-13 11:00 Li Huafei
  2022-07-13 11:00 ` [PATCH v2 1/5] ARM: stacktrace: Skip frame pointer boundary check for call_with_stack() Li Huafei
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Li Huafei @ 2022-07-13 11:00 UTC (permalink / raw)
  To: linux, rmk+kernel, ardb, will, broonie
  Cc: mark.rutland, peterz, mingo, acme, alexander.shishkin, jolsa,
	namhyung, arnd, linus.walleij, rostedt, nick.hawkins, john,
	mhiramat, ast, linyujun809, ndesaulniers, lihuafei1,
	linux-arm-kernel, linux-kernel, linux-perf-users

This series mainly updates the ARM stack trace code to use the newer and
simpler arch_stack_walk() interface. Two issues were fixed before that
(see patch 1 and 2), as well as allowing stack_trace_save_tsk() to
trace non-current tasks (see patch 3).

v2:
 - As suggested by Mark, the commit logs for patch 4 and 5 were
   refined for easy review.

v1: https://lore.kernel.org/lkml/20220712021527.109921-1-lihuafei1@huawei.com/

Li Huafei (5):
  ARM: stacktrace: Skip frame pointer boundary check for
    call_with_stack()
  ARM: stacktrace: Avoid duplicate saving of exception PC value
  ARM: stacktrace: Allow stack trace saving for non-current tasks
  ARM: stacktrace: Make stack walk callback consistent with generic code
  ARM: stacktrace: Convert stacktrace to generic ARCH_STACKWALK

 arch/arm/Kconfig                  |   1 +
 arch/arm/include/asm/stacktrace.h |   8 +-
 arch/arm/kernel/perf_callchain.c  |   9 +-
 arch/arm/kernel/return_address.c  |   9 +-
 arch/arm/kernel/stacktrace.c      | 195 +++++++++++++-----------------
 arch/arm/lib/call_with_stack.S    |   2 +
 6 files changed, 105 insertions(+), 119 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-07-18  9:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-13 11:00 [PATCH v2 0/5] ARM: Convert to ARCH_STACKWALK Li Huafei
2022-07-13 11:00 ` [PATCH v2 1/5] ARM: stacktrace: Skip frame pointer boundary check for call_with_stack() Li Huafei
2022-07-13 11:00 ` [PATCH v2 2/5] ARM: stacktrace: Avoid duplicate saving of exception PC value Li Huafei
2022-07-13 11:00 ` [PATCH v2 3/5] ARM: stacktrace: Allow stack trace saving for non-current tasks Li Huafei
2022-07-13 11:00 ` [PATCH v2 4/5] ARM: stacktrace: Make stack walk callback consistent with generic code Li Huafei
2022-07-13 11:00 ` [PATCH v2 5/5] ARM: stacktrace: Convert stacktrace to generic ARCH_STACKWALK Li Huafei
2022-07-18  9:14 ` [PATCH v2 0/5] ARM: Convert to ARCH_STACKWALK Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).