diff options
author | Jakub Kicinski <[email protected]> | 2024-10-10 08:12:48 -0700 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-10-15 13:06:49 +0200 |
commit | bcbbfaa2612d7d0e9c3eafade5f6e93c3672f34f (patch) | |
tree | f19a80d144d788d995cd66c481f2269a18513919 /tools/perf/scripts/python/stackcollapse.py | |
parent | 97802ffca711cb3fd8adfd9db38e005970d59743 (diff) |
tools: ynl-gen: use names of constants in generated limits
YNL specs can use string expressions for limits, like s32-min
or u16-max. We convert all of those into their numeric values
when generating the code, which isn't always helpful. Try to
retain the string representations in the output. Any sort of
calculations still need the integers.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Joe Damato <[email protected]>
Link: https://patch.msgid.link/[email protected]
[[email protected]: regenerated netdev-genl-gen.c]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions