public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fixes related to lx-slabinfo, lx-slabtrace
@ 2026-04-27 14:24 Illia Ostapyshyn
  2026-04-27 14:24 ` [PATCH 1/2] scripts/gdb: mm: Cast untyped symbols in x86_page_ops Illia Ostapyshyn
  2026-04-27 14:24 ` [PATCH 2/2] scripts/gdb: slab: Update field names of struct kmem_cache Illia Ostapyshyn
  0 siblings, 2 replies; 5+ messages in thread
From: Illia Ostapyshyn @ 2026-04-27 14:24 UTC (permalink / raw)
  To: linux-kernel
  Cc: Hao Li, Harry Yoo, Vlastimil Babka (SUSE), Illia Ostapyshyn,
	Andrew Morton, Seongjun Hong, Kieran Bingham, Jan Kiszka,
	Florian Fainelli

Hi all,

calling slab-related commands in gdb scripts currently fails because
of two reasons.  Firstly, x86 mm page ops try to cast symbols without
type information to int, which causes an exception.  Secondly, struct
kmem_cache was changed in commit 55f8b4518d14b743 ("scripts/gdb:
implement x86_page_ops in mm.py") to factor out per-node data into a
separate struct, which the gdb scripts do not reflect yet.

These two patches fix these issues.

Illia Ostapyshyn (2):
  scripts/gdb: mm: Cast untyped symbols in x86_page_ops
  scripts/gdb: slab: Update field names of struct kmem_cache

 scripts/gdb/linux/mm.py   | 6 +++---
 scripts/gdb/linux/slab.py | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)


base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
-- 
2.51.2


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

end of thread, other threads:[~2026-04-28  8:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-27 14:24 [PATCH 0/2] Fixes related to lx-slabinfo, lx-slabtrace Illia Ostapyshyn
2026-04-27 14:24 ` [PATCH 1/2] scripts/gdb: mm: Cast untyped symbols in x86_page_ops Illia Ostapyshyn
2026-04-27 14:24 ` [PATCH 2/2] scripts/gdb: slab: Update field names of struct kmem_cache Illia Ostapyshyn
2026-04-28  6:04   ` Harry Yoo (Oracle)
2026-04-28  8:20   ` Vlastimil Babka (SUSE)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox