summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorChuck Lever <cel@kernel.org>2026-07-12 16:34:49 -0400
committerChuck Lever <cel@kernel.org>2026-08-10 09:54:35 -0400
commitb75e1a256d9ed2425ad648fe4e17b9c89c415ec3 (patch)
tree1abe172818e91955cab62a077103966f2b6b2bf7 /tools/perf/scripts/python/bin/stackcollapse-report
parente1391920c69464ca31a2c0448310d55f84dac0e3 (diff)
xdrgen: Reject specifications that define a name twice
When an RPC specification defines the same type or constant name more than once, currently xdrgen emits every definition without complaint. The duplication surfaces later as a C compiler error about a redefined struct or function that points at generated code instead of the actual offending line in the .x source. RFC 4506 Section 6.4 places constant and type identifiers in a single name space that must be unique within a specification. Add a semantic check that enforces this rule. Link: https://patch.msgid.link/20260712203451.124902-4-cel@kernel.org Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions