diff options
author | Fiona Behrens <me@kloenk.dev> | 2025-02-17 23:58:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-22 17:44:19 +0300 |
commit | 354fd6e86fac60b7c1ce2e6c83d4e6bf8af95f59 (patch) | |
tree | 8b15a77bbdbfc38c98b1c37f62d8545fa4e921d3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c5020c5be9d266f66fa5ba3286f0e8d2d2265970 (diff) | |
download | linux-354fd6e86fac60b7c1ce2e6c83d4e6bf8af95f59.tar.xz |
rust: io: rename `io::Io` accessors
Rename the I/O accessors provided by `Io` to encode the type as
number instead of letter. This is in preparation for Port I/O support
to use a trait for generic accessors.
Add a `c_fn` argument to the accessor generation macro to translate
between rust and C names.
Suggested-by: Danilo Krummrich <dakr@kernel.org>
Link: https://rust-for-linux.zulipchat.com/#narrow/channel/288089-General/topic/PIO.20support/near/499460541
Signed-off-by: Fiona Behrens <me@kloenk.dev>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Acked-by: Daniel Almeida <daniel.almeida@collabora.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250217-io-generic-rename-v1-1-06d97a9e3179@kloenk.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions