summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>2023-07-25 10:37:19 +0900
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2023-07-26 12:53:38 +0900
commit1f9f4f4777e7958e5c1fbdfd9ddf4207dc00a40f (patch)
tree285d2efa0ff7179fee1cb44c79a459674ae54fec /tools
parent6eaae198076080886b9e7d57f4ae06fa782f90ef (diff)
tracing/probes: Fix to add NULL check for BTF APIs
Since find_btf_func_param() abd btf_type_by_id() can return NULL, the caller must check the return value correctly. Link: https://lore.kernel.org/all/169024903951.395371.11361556840733470934.stgit@devnote2/ Fixes: b576e09701c7 ("tracing/probes: Support function parameters if BTF is available") Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions