summaryrefslogtreecommitdiff
path: root/build-aux/measurestack/app_plugins.py
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-13 01:04:59 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-13 02:33:42 -0600
commitb267e241f0545b68864fb2bcf593c02f3bc2cf19 (patch)
tree5fb86e8ce4033a9b2c30546ee39d768fcac39b11 /build-aux/measurestack/app_plugins.py
parent06cc1184f375ce5929010254781483277d9447d2 (diff)
lib9p: srv: Try to go for consistent naming
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