aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <[email protected]>2024-01-23 15:03:02 +0000
committerMasami Hiramatsu (Google) <[email protected]>2024-02-08 14:26:25 +0000
commit9a571c1e275cedacd48c66a6bddd0c23f1dffdbf (patch)
tree35ad2a45ca09aac4f328586cc24d4921fe6472fa /scripts/generate_rust_target.rs
parenttracing/probes: Fix to show a parse error for bad type for $comm (diff)
downloadkernel-9a571c1e275cedacd48c66a6bddd0c23f1dffdbf.tar.gz
kernel-9a571c1e275cedacd48c66a6bddd0c23f1dffdbf.zip
tracing/probes: Fix to set arg size and fmt after setting type from BTF
Since the BTF type setting updates probe_arg::type, the type size calculation and setting print-fmt should be done after that. Without this fix, the argument size and print-fmt can be wrong. Link: https://lore.kernel.org/all/170602218196.215583.6417859469540955777.stgit@devnote2/ Fixes: b576e09701c7 ("tracing/probes: Support function parameters if BTF is available") Cc: [email protected] Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions