Messages in this thread | | | Subject | Re: [PATCH] tracing/probe: Fix bpf_task_fd_query() for kprobes and uprobes | From | Yonghong Song <> | Date | Mon, 8 Jun 2020 08:24:59 -0700 |
| |
On 6/8/20 5:45 AM, Jean-Philippe Brucker wrote: > 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>
Thanks for the fix.
Acked-by: Yonghong Song <yhs@fb.com>
> --- > Found while trying to run the task_fd_query BPF sample. I intend to try > and move that sample to kselftests since it seems like a useful > regression test.
That will be great. Thanks!
| |