Linux Trace Kernel
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Leon Hwang <leon.hwang@linux.dev>
Cc: bpf@vger.kernel.org, Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	John Fastabend <john.fastabend@gmail.com>,
	Andrii Nakryiko <andrii@kernel.org>,
	Eduard Zingerman <eddyz87@gmail.com>,
	Kumar Kartikeya Dwivedi <memxor@gmail.com>,
	Martin KaFai Lau <martin.lau@linux.dev>,
	Song Liu <song@kernel.org>,
	Yonghong Song <yonghong.song@linux.dev>,
	Jiri Olsa <jolsa@kernel.org>,
	Emil Tsalapatis <emil@etsalapatis.com>,
	Ihor Solodrai <ihor.solodrai@linux.dev>,
	Masami Hiramatsu <mhiramat@kernel.org>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	KP Singh <kpsingh@kernel.org>,
	Matt Bobrowski <matt@bobrowski.net>,
	Shuah Khan <shuah@kernel.org>,
	linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
	linux-kselftest@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH bpf-next v4 2/6] bpf: Add log support for tracing_multi link_create
Date: Wed, 25 Nov 2026 10:45:57 -0500	[thread overview]
Message-ID: <20261125104557.1f0fb120@gandalf.local.home> (raw)
In-Reply-To: <20261125143138.47174-3-leon.hwang@linux.dev>

On Wed, 25 Nov 2026 22:31:34 +0800
Leon Hwang <leon.hwang@linux.dev> wrote:

> diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h
> index 321f2f3a6c8e..bb825ea5d09c 100644
> --- a/include/linux/trace_events.h
> +++ b/include/linux/trace_events.h
> @@ -16,6 +16,7 @@ struct tracer;
>  struct dentry;
>  struct bpf_prog;
>  union bpf_attr;
> +struct bpf_verifier_log;
>  
>  /* Used for event string fields when they are NULL */
>  #define EVENT_NULL_STR		"(null)"
> @@ -796,7 +797,8 @@ int bpf_get_perf_event_info(const struct perf_event *event, u32 *prog_id,
>  			    unsigned long *missed);
>  int bpf_kprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
>  int bpf_uprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog);
> -int bpf_tracing_multi_attach(struct bpf_prog *prog, const union bpf_attr *attr);
> +int bpf_tracing_multi_attach(struct bpf_prog *prog, const union bpf_attr *attr,
> +			     struct bpf_verifier_log *log);
>  #else
>  static inline unsigned int trace_call_bpf(struct trace_event_call *call, void *ctx)
>  {
> @@ -855,7 +857,8 @@ bpf_uprobe_multi_link_attach(const union bpf_attr *attr, struct bpf_prog *prog)
>  	return -EOPNOTSUPP;
>  }
>  static inline int
> -bpf_tracing_multi_attach(struct bpf_prog *prog, const union bpf_attr *attr)
> +bpf_tracing_multi_attach(struct bpf_prog *prog, const union bpf_attr *attr,
> +			 struct bpf_verifier_log *log)
>  {
>  	return -EOPNOTSUPP;
>  }

Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve

  reply	other threads:[~2026-11-25 15:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 14:31 [PATCH bpf-next v4 0/6] bpf: Add log support for tracing link_create Leon Hwang
2026-11-25 14:31 ` [PATCH bpf-next v4 1/6] " Leon Hwang
2026-11-25 14:31 ` [PATCH bpf-next v4 2/6] bpf: Add log support for tracing_multi link_create Leon Hwang
2026-11-25 15:45   ` Steven Rostedt [this message]
2026-11-25 14:31 ` [PATCH bpf-next v4 3/6] bpf: Add log support for iter link_create Leon Hwang
2026-11-25 14:31 ` [PATCH bpf-next v4 4/6] bpf: Add log support for cgroup prog link_create Leon Hwang
2026-11-25 14:31 ` [PATCH bpf-next v4 5/6] libbpf: Add log_opts support for BPF_TRACE_ITER Leon Hwang
2026-11-25 14:31 ` [PATCH bpf-next v4 6/6] selftests/bpf: Test tracing and cgroup link creation logs Leon Hwang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261125104557.1f0fb120@gandalf.local.home \
    --to=rostedt@goodmis.org \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=emil@etsalapatis.com \
    --cc=ihor.solodrai@linux.dev \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kpsingh@kernel.org \
    --cc=leon.hwang@linux.dev \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=matt@bobrowski.net \
    --cc=memxor@gmail.com \
    --cc=mhiramat@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=shuah@kernel.org \
    --cc=song@kernel.org \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox