From 535760a916ba380abe1240292e6da5167ffd7552 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Thu, 15 May 2025 13:53:00 -0600 Subject: measurestack: lib9p: Learn about srv->msglog --- build-aux/measurestack/app_plugins.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build-aux/measurestack/app_plugins.py') diff --git a/build-aux/measurestack/app_plugins.py b/build-aux/measurestack/app_plugins.py index 32b4e0d..c6e4512 100644 --- a/build-aux/measurestack/app_plugins.py +++ b/build-aux/measurestack/app_plugins.py @@ -369,6 +369,10 @@ class Lib9PPlugin: return [ QName(f"lib9p_msg_{msg}_format") for msg in self.lib9p_msgs ], True + if "lib9p/srv.c:" in loc: + if "srv->msglog(" in line: + # Actual ROMs shouldn't set this, and so will be missing on rp2040 builds. + return [QName("log_msg")], True return None def skipmodels(self) -> dict[BaseName, analyze.SkipModel]: -- cgit v1.2.3-2-g168b