diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-15 13:53:00 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-05-15 14:41:56 -0600 |
commit | 535760a916ba380abe1240292e6da5167ffd7552 (patch) | |
tree | 9322638f3eb90cfc0b1f8c0ffcd43fb98f50a98e /build-aux/measurestack/app_plugins.py | |
parent | 4f567b6127cb15ec64a93f9fd340aaff493680a3 (diff) |
measurestack: lib9p: Learn about srv->msglog
Diffstat (limited to 'build-aux/measurestack/app_plugins.py')
-rw-r--r-- | build-aux/measurestack/app_plugins.py | 4 |
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]: |