[RESEND PATCH v2 0/2] scripts/gdb: clarify the platforms supporting lx_current and add arm64 support

Barry Song song.bao.hua at hisilicon.com
Sun Mar 14 20:34:42 GMT 2021


lx_current depends on per_cpu current_task variable which exists on x86 only.
so it actually works on x86 only. the 1st patch documents this clearly; the
2nd patch adds support for arm64.

-resend
 resending to Andrew as Kieran Bingham explained patches of scripts/gdb
 usually go through the tree of Andrew Morton;

Barry Song (2):
  scripts/gdb: document lx_current is only supported by x86
  scripts/gdb: add lx_current support for arm64

 .../dev-tools/gdb-kernel-debugging.rst        |  2 +-
 scripts/gdb/linux/cpus.py                     | 23 +++++++++++++++++--
 2 files changed, 22 insertions(+), 3 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list