From 8e4dcb5862a38606bd15a5918135a795acd6f24b Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Thu, 10 Sep 2026 18:16:41 +0300 Subject: [PATCH] tools: debug_stream: set explicit ctypes layout The packed structs need extra definitions in python 3.14. Signed-off-by: Jyri Sarha --- tools/debug_stream/debug_stream.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/debug_stream/debug_stream.py b/tools/debug_stream/debug_stream.py index 39770cab4cd3..03c641efebe5 100644 --- a/tools/debug_stream/debug_stream.py +++ b/tools/debug_stream/debug_stream.py @@ -52,6 +52,7 @@ class CPUInfo(ctypes.Structure): """ _pack_ = 1 + _layout_ = "gcc-sysv" _fields_ = [ ("hdr", DebugStreamRecord), ("load", ctypes.c_ubyte), @@ -65,6 +66,7 @@ class ThreadInfo(ctypes.Structure): """ _pack_ = 1 + _layout_ = "gcc-sysv" _fields_ = [ ("stack_usage", ctypes.c_ubyte), ("cpu_load", ctypes.c_ubyte), @@ -78,6 +80,7 @@ class TextMsg(ctypes.Structure): """ _pack_ = 1 + _layout_ = "gcc-sysv" _fields_ = [ ("hdr", DebugStreamRecord), ]