[Devel] [PATCH rh7 0/3] x86/unwind: make drgn to be able to show process stack traces

Konstantin Khorenko khorenko at virtuozzo.com
Tue Aug 29 19:09:56 MSK 2023


In the scope of https://jira.vzint.dev/browse/HCI-171 we have backported
a set of patches, in particular e318bc7bbcbb ("ms/sched/x86: Add 'struct
inactive_task_frame' to better document the sleeping task stack frame").

This patch has added a new structure 'struct inactive_task_frame' but
with only a single field.
drgn expects this structure (if exists) contains other fieslds as well,
it just skipped support the tiny period when the structure existed in
the kernel, but had only a single field.

In fact this particular patch does not bring any functional changes, it
was backported just because other patches depend on it.

So, in order to make drgn happy again, let's drop this particular patch
and backport depending patch from mainsteam more wisely.

https://jira.vzint.dev/browse/PSBM-149932


Josh Poimboeuf (1):
  ms/x86/unwind: Disable KASAN checks for non-current tasks

Konstantin Khorenko (2):
  Revert "ms/x86/unwind: Disable KASAN checks for non-current tasks"
  Revert "ms/sched/x86: Add 'struct inactive_task_frame' to better
    document the sleeping task stack frame"

 arch/x86/include/asm/stacktrace.h | 8 ++++----
 arch/x86/include/asm/switch_to.h  | 5 -----
 arch/x86/kernel/kgdb.c            | 3 +--
 arch/x86/kernel/process.c         | 3 +--
 4 files changed, 6 insertions(+), 13 deletions(-)

-- 
2.24.3



More information about the Devel mailing list