summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2024-10-30 00:55:35 +0300
committerJakub Kicinski <kuba@kernel.org>2024-11-03 22:06:58 +0300
commit43d3487035e9a86fad952de4240a518614240d43 (patch)
tree8b18774cb8b106149d0562221239f16fc916c801 /tools/perf/scripts/python/stackcollapse.py
parentf12b363887c706c40611fba645265527a8415832 (diff)
downloadlinux-43d3487035e9a86fad952de4240a518614240d43.tar.xz
UAPI: ethtool: Use __struct_group() in struct ethtool_link_settings
Use the `__struct_group()` helper to create a new tagged `struct ethtool_link_settings_hdr`. This structure groups together all the members of the flexible `struct ethtool_link_settings` except the flexible array. As a result, the array is effectively separated from the rest of the members without modifying the memory layout of the flexible structure. This new tagged struct will be used to fix problematic declarations of middle-flex-arrays in composite structs[1]. [1] https://git.kernel.org/linus/d88cabfd9abc Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Link: https://patch.msgid.link/9e9fb0bd72e5ba1e916acbb4995b1e358b86a689.1730238285.git.gustavoars@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions