summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-06-09 14:43:40 -0700
committerDavid S. Miller <davem@davemloft.net>2023-06-12 11:01:03 +0100
commit2c9d47a095f7d0380e35064121bc8838dbf136cb (patch)
treed195d036d32e1f84ae1c448b938fb6117b0b3ca5 /tools/perf/scripts/python/export-to-sqlite.py
parentdddc9f53da3e1e359e56edc8da301e145e3b97df (diff)
tools: ynl-gen: resolve enum vs struct name conflicts
Ethtool has an attribute set called stringset, from which we'll generate struct ethtool_stringset. Unfortunately, the old ethtool header declares enum ethtool_stringset (the same name), to which compilers object. This seems unavoidable. Check struct names against known constants and append an underscore if conflict is detected. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions