summaryrefslogtreecommitdiff
path: root/build-aux/measurestack/app_plugins.py
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-15 13:53:00 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-05-15 14:41:56 -0600
commit535760a916ba380abe1240292e6da5167ffd7552 (patch)
tree9322638f3eb90cfc0b1f8c0ffcd43fb98f50a98e /build-aux/measurestack/app_plugins.py
parent4f567b6127cb15ec64a93f9fd340aaff493680a3 (diff)
measurestack: lib9p: Learn about srv->msglog
Diffstat (limited to 'build-aux/measurestack/app_plugins.py')
-rw-r--r--build-aux/measurestack/app_plugins.py4
1 files changed, 4 insertions, 0 deletions
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]: