diff options
| author | Alexander Lobakin <[email protected]> | 2024-06-20 15:53:37 +0200 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2024-07-10 10:31:28 -0700 |
| commit | 66c27e3b19d5aae58d7f0145113de61d6fba5e09 (patch) | |
| tree | 57db3faaecc3bc9eff8685141a6282ccf94e8565 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 62c884256ea1f898b00f20729a306a4eeb1840b1 (diff) | |
idpf: stop using macros for accessing queue descriptors
In C, we have structures and unions.
Casting `void *` via macros is not only error-prone, but also looks
confusing and awful in general.
In preparation for splitting the queue structs, replace it with a
union and direct array dereferences.
Reviewed-by: Przemek Kitszel <[email protected]>
Reviewed-by: Mina Almasry <[email protected]>
Signed-off-by: Alexander Lobakin <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions