summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorNicolás Antinori <nico.antinori.7@gmail.com>2026-06-29 17:10:41 -0300
committerJoerg Roedel <joerg.roedel@amd.com>2026-07-09 10:14:49 +0200
commite02e968159851cbb4deb2a0555ebaa3a6e7ced3b (patch)
treef41e932ffdbcb970d6621aefd73432abae7c7d9f /tools/perf/scripts/python/flamegraph.py
parenteab000d501af568fe98d760f16eadd43d219df50 (diff)
rust: iommu: replace core::mem::zeroed with Zeroable::zeroed
All types in `bindings` implement `Zeroable` if they can. This enables using `Zeroable::zeroed` for `io_pgtable_cfg` initialization instead of relying on `..unsafe { core::mem::zeroed() }`. This change improves readability and removes an unnecessary unsafe block. Link: https://github.com/Rust-for-Linux/linux/issues/1189 Suggested-by: Benno Lossin <lossin@kernel.org> Signed-off-by: Nicolás Antinori <nico.antinori.7@gmail.com> Acked-by: Gary Guo <gary@garyguo.net> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions