From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailgate02.uberspace.is (mailgate02.uberspace.is [185.26.156.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9AAEC37417B for ; Mon, 27 Apr 2026 14:42:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.26.156.114 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777300936; cv=none; b=jTMJ+s8Sw9BOh4JCZleTvFmClTBfio8AILBG9K056gfCceQ9av6XdPTc8cAHN3onZREdEjmkx+HZ04UiveebRjpsvIvSnvrBfZcb008Jp/LEkffFgCK95WQRBHG3oORsFWhY3I60wPFkbDTVM2fJBoAfRpJiiNVBvGepiPGRwU4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777300936; c=relaxed/simple; bh=XJoMmadErqXEy84IsbnkabaJiI+2bo8mwqLzFQcIJcQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T5vOm6cEyemP+/CAbMrdt51155fXZA0Bq43PQASi0x0RTnN7r1mexBNsn7Sln8V4wivVqLGu9Iofa1iumC4vasf5sLnyDQpZn84uiRot2k79l/ugPrbHpoQotD5HS2yiH7HeyAjd0c2rEOiD0TxYpDJoKF19UF7Q9pHdFD+rQxk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=yshyn.com; spf=pass smtp.mailfrom=yshyn.com; dkim=pass (2048-bit key) header.d=yshyn.com header.i=@yshyn.com header.b=Wo2ouWlT; arc=none smtp.client-ip=185.26.156.114 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=yshyn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yshyn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=yshyn.com header.i=@yshyn.com header.b="Wo2ouWlT" Received: from phoenix.uberspace.de (phoenix.uberspace.de [95.143.172.135]) by mailgate02.uberspace.is (Postfix) with ESMTPS id 41AF5184678 for ; Mon, 27 Apr 2026 16:25:13 +0200 (CEST) Received: (qmail 3919 invoked by uid 988); 27 Apr 2026 14:25:13 -0000 Authentication-Results: phoenix.uberspace.de; auth=pass (plain) Received: from unknown (HELO unkown) (::1) by phoenix.uberspace.de (Haraka/3.1.1) with ESMTPSA; Mon, 27 Apr 2026 16:25:12 +0200 From: Illia Ostapyshyn To: linux-kernel@vger.kernel.org Cc: Hao Li , Harry Yoo , "Vlastimil Babka (SUSE)" , Illia Ostapyshyn , Andrew Morton , Seongjun Hong , Kieran Bingham , Jan Kiszka , Florian Fainelli Subject: [PATCH 0/2] Fixes related to lx-slabinfo, lx-slabtrace Date: Mon, 27 Apr 2026 16:24:46 +0200 Message-ID: <20260427142448.666117-1-illia@yshyn.com> X-Mailer: git-send-email 2.51.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Bar: + X-Rspamd-Report: MID_CONTAINS_FROM(1) BAYES_HAM(-0.015403) MIME_GOOD(-0.1) R_MISSING_CHARSET(0.5) X-Rspamd-Score: 1.384596 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yshyn.com; s=uberspace; h=from:to:cc:subject:date; bh=XJoMmadErqXEy84IsbnkabaJiI+2bo8mwqLzFQcIJcQ=; b=Wo2ouWlTf4z73HojH/6RY4qQq8lMkkK72cl6ITeho3Pi2QTQy3s35qiLQDEL1mS7zOoOjdCrHT qLr752Xf4ih3u8BEH6GZtB7er5PTpKOhwSwg9FUHxJaIkerGKLlC1meQ6kq7uwSpFNJapJi6BTjJ XUn3IhIUb/GM04LC9OumnUU/rp5FxeGCs3NEqWNfk2oGK1ChgNYMcYbOkXcZoAD0EoQBiVqcUvm7 1t6XRt0J0+BaDGq+lP/ptrjG9CqXcQRIXWGa/xGQFWNKcQ8I5DhCju/6oLAh4V8qRcYvKE5sHhKY iCFIqYDWR7rBxi3AjaClTSC9BGxgWwdvbCywkpMw== 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