summaryrefslogtreecommitdiff
path: root/build-aux/measurestack/app_plugins.py
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-13 12:55:26 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-13 12:55:26 -0600
commit2a9d1f54758988ce23fbd1e9da4f0ad28c0edcbf (patch)
tree08b47b0e0772f590aa3ae48254590088a4b4402c /build-aux/measurestack/app_plugins.py
parent52674d0483e3754b039857be1d11798859c5bcef (diff)
parentbf32c2cd495099c93195b202158f46870ceed0ef (diff)
Merge branch 'lukeshu/9p-malloc'
Diffstat (limited to 'build-aux/measurestack/app_plugins.py')
-rw-r--r--build-aux/measurestack/app_plugins.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/build-aux/measurestack/app_plugins.py b/build-aux/measurestack/app_plugins.py
index 6eeb35b..16ac297 100644
--- a/build-aux/measurestack/app_plugins.py
+++ b/build-aux/measurestack/app_plugins.py
@@ -406,9 +406,9 @@ class Lib9PPlugin:
),
}
if isinstance(self.CONFIG_9P_SRV_MAX_DEPTH, int):
- ret[BaseName("srv_util_pathfree")] = analyze.SkipModel(
+ ret[BaseName("srv_path_decref")] = analyze.SkipModel(
self.CONFIG_9P_SRV_MAX_DEPTH,
- self._skipmodel_srv_util_pathfree,
+ self._skipmodel_srv_path_decref,
)
return ret
@@ -423,13 +423,13 @@ class Lib9PPlugin:
return False
return m_caller.group("grp") != m_callee.group("grp")
- def _skipmodel_srv_util_pathfree(
+ def _skipmodel_srv_path_decref(
self, chain: typing.Sequence[QName], call: QName
) -> bool:
assert isinstance(self.CONFIG_9P_SRV_MAX_DEPTH, int)
- if call.base() == BaseName("srv_util_pathfree"):
+ if call.base() == BaseName("srv_path_decref"):
return len(chain) >= self.CONFIG_9P_SRV_MAX_DEPTH and all(
- c.base() == BaseName("srv_util_pathfree")
+ c.base() == BaseName("srv_path_decref")
for c in chain[-self.CONFIG_9P_SRV_MAX_DEPTH :]
)
return False