diff options
author | 2024-10-03 14:54:33 -0400 | |
---|---|---|
committer | 2024-11-11 13:42:01 -0500 | |
commit | 631c2925bae41c11dcf3915a2ab5f3be9af54277 (patch) | |
tree | 641a8c810550c1307bcf7044b691cc088d1e65ad /tools/perf/scripts/python/syscall-counts.py | |
parent | xdrgen: Track constant values (diff) | |
download | wireguard-linux-631c2925bae41c11dcf3915a2ab5f3be9af54277.tar.xz wireguard-linux-631c2925bae41c11dcf3915a2ab5f3be9af54277.zip |
xdrgen: Keep track of on-the-wire data type widths
The generic parts of the RPC layer need to know the widths (in
XDR_UNIT increments) of the XDR data types defined for each
protocol.
As a first step, add dictionaries to keep track of the symbolic and
actual maximum XDR width of XDR types.
This makes it straightforward to look up the width of a type by its
name. The built-in dictionaries are pre-loaded with the widths of
the built-in XDR types as defined in RFC 4506.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions