diff options
| author | Donglin Peng <pengdonglin@xiaomi.com> | 2026-01-12 10:16:01 +0800 |
|---|---|---|
| committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2026-01-23 13:34:38 -0500 |
| commit | c9703d17d2c86eda38fe4917ca70c27ec9dbe162 (patch) | |
| tree | 2e8c5330314772fe39bd6c403999575a6073aa9e /samples/mic/git@git.tavy.me:linux.git | |
| parent | 00f13e28a9c3acd40f0551cde7e9d2d1a41585bf (diff) | |
function_graph: Fix args pointer mismatch in print_graph_retval()
When funcgraph-args and funcgraph-retaddr are both enabled, many kernel
functions display invalid parameters in trace logs.
The issue occurs because print_graph_retval() passes a mismatched args
pointer to print_function_args(). Fix this by retrieving the correct
args pointer using the FGRAPH_ENTRY_ARGS() macro.
Link: https://patch.msgid.link/20260112021601.1300479-1-dolinux.peng@gmail.com
Fixes: f83ac7544fbf ("function_graph: Enable funcgraph-args and funcgraph-retaddr to work simultaneously")
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Donglin Peng <pengdonglin@xiaomi.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'samples/mic/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
