summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndreas Hindborg <a.hindborg@kernel.org>2026-06-01 12:17:05 +0200
committerPetr Pavlu <petr.pavlu@suse.com>2026-08-06 13:29:03 +0200
commit327d44754c54060baf9679ac073a21839912be16 (patch)
tree800fa08ab681fdaf68071d91f69896e0b35fe9a1 /tools/perf/scripts/python/export-to-sqlite.py
parent6b722d1ec0384d2479ae453c994c6546c6093687 (diff)
rust: module_param: return value by copy from `value`
For `Copy` parameter types it is more ergonomic to retrieve the parameter value by copy than through a shared reference. Change `ModuleParamAccess::value` to return `T` by copy when `T: Copy`, and rename the previous reference-returning accessor to `value_ref`. Update the in-tree caller in `rust_minimal`. Suggested-by: Alice Ryhl <aliceryhl@google.com> Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org> Reviewed-by: Petr Pavlu <petr.pavlu@suse.com> Reviewed-by: Gary Guo <gary@garyguo.net> Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions