summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe@linaro.org>2020-06-08 14:45:32 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-06-09 11:10:12 -0700
commit22d5bd6867364b41576a712755271a7d6161abd6 (patch)
tree5636279f5c7537d231e96104ae96301bc5d5dcd7 /scripts
parent21a85bd601ee50f2796d52c542c46d04e21cedac (diff)
tracing/probe: Fix bpf_task_fd_query() for kprobes and uprobes
Commit 60d53e2c3b75 ("tracing/probe: Split trace_event related data from trace_probe") removed the trace_[ku]probe structure from the trace_event_call->data pointer. As bpf_get_[ku]probe_info() were forgotten in that change, fix them now. These functions are currently only used by the bpf_task_fd_query() syscall handler to collect information about a perf event. Fixes: 60d53e2c3b75 ("tracing/probe: Split trace_event related data from trace_probe") Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Acked-by: Masami Hiramatsu <mhiramat@kernel.org> Link: https://lore.kernel.org/bpf/20200608124531.819838-1-jean-philippe@linaro.org
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions