Re: [PATCH 1/3] bpf: use 'error_xxx' tags in bpf_kprobe_multi_link_attach

From: Song Liu
Date: Thu May 12 2022 - 12:40:22 EST




> On May 12, 2022, at 7:17 AM, Wan Jiabing <wanjiabing@xxxxxxxx> wrote:
>
> Use 'error_addrs', 'error_cookies' and 'error_link' tags to make error
> handling more efficient.
>
> Signed-off-by: Wan Jiabing <wanjiabing@xxxxxxxx>
> ---
> kernel/trace/bpf_trace.c | 20 +++++++++++---------
> 1 file changed, 11 insertions(+), 9 deletions(-)

I seriously think current version is simpler.

Song