HomeFreeBSD

Linux 6.10 compat: Fix tracepoints definitions

Description

Linux 6.10 compat: Fix tracepoints definitions

string field definition includes the source variable for a value
of the string when the TP hits; in 6.10+ kernels,
assign_str()
uses that to copy a value from src to the string, with older
kernels, __assign_str still accepted src as a second parameter.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Pavel Snajdr <snajpa@snajpa.net>
Co-authored-by: Tony Hutter <hutter2@llnl.gov>
Closes #16475
Closes #16515

Details

Provenance
Pavel Snajdr <snajpa@snajpa.net>Authored on Sep 17 2024, 8:38 PM
GitHub <noreply@github.com>Committed on Sep 17 2024, 8:38 PM
Parents
rGac04407ffec5: Remove extra newline from spa_set_allocator().
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG90af1e83e8ab: Linux 6.10 compat: Fix tracepoints definitions (authored by Pavel Snajdr <snajpa@snajpa.net>).Sep 17 2024, 8:38 PM