All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Hwang <leon.hwang@linux.dev>
To: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: Tao Chen <chen.dylane@linux.dev>, bpf <bpf@vger.kernel.org>,
	Alexei Starovoitov <ast@kernel.org>,
	Andrii Nakryiko <andrii@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Martin KaFai Lau <martin.lau@linux.dev>,
	Eduard <eddyz87@gmail.com>, Song Liu <song@kernel.org>,
	Yonghong Song <yonghong.song@linux.dev>,
	Mykyta Yatsenko <yatsenko@meta.com>,
	Puranjay Mohan <puranjay@kernel.org>,
	davidzalman.101@gmail.com, cheick.traore@foss.st.com,
	mika.westerberg@linux.intel.com, Amery Hung <ameryhung@gmail.com>,
	Menglong Dong <menglong8.dong@gmail.com>,
	kernel-patches-bot@fb.com
Subject: Re: [PATCH bpf-next v2 3/3] selftests/bpf: Add union argument tests using fexit programs
Date: Fri, 19 Sep 2025 10:01:51 +0800	[thread overview]
Message-ID: <a5d2fb43-9b2d-4172-b8f0-071c810e63e4@linux.dev> (raw)
In-Reply-To: <CAADnVQJNA7YvfDx1Go+ga+6HmwdLKnwuLz3duVZ=s7eNpNr8VQ@mail.gmail.com>



On 19/9/25 09:53, Alexei Starovoitov wrote:
> On Thu, Sep 18, 2025 at 6:47 PM Leon Hwang <leon.hwang@linux.dev> wrote:
>>
>>
>>
>> On 19/9/25 00:09, Tao Chen wrote:
>>> 在 2025/9/16 23:52, Leon Hwang 写道:
>>>> By referencing
>>>> commit 1642a3945e223 ("selftests/bpf: Add struct argument tests with
>>>> fentry/fexit programs."),
>>>> test the following cases for union argument support:
>>>>
>>>
>>> Can we use ‘commit 1642a3945e22’ with 12 chars, maybe it's minor nit
>>> anyways or not.
>>>
>> Thank you for pointing this out.
>>
>> I’ll update my script to generate the commit information in the proper
>> format.
> 
> Since you're going to respin please rewrite the whole commit log
> in both patches.
> There is no need to talk about patch 1642a3945e223 at all.
> It doesn't matter what you used to get inspiration from.
> Also don't say things like:
> 
> cd tools/testing/selftests/bpf
> ./test_progs -t tracing_struct/union_args
> 472/3   tracing_struct/union_args:OK
> 472     tracing_struct:OK
> Summary: 1/1 PASSED, 0 SKIPPED, 0 FAILED
> 
> of course they suppose to pass. Above is not useful in the commit log.
> 
> Instead describe what the test is for and what it's doing.
> > Similar in patch 1 trim bpftrace output.
> Only mention the relevant parts. The command line and the error.
> Things like:
> 
> processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0
> peak_states 0 mark_read 0
> 
> are not useful.

Got it.

I’ll respin with updated commit logs:

* Patch #1: trim bpftrace output to only include the relevant command
  line and error.
* Patch #2: drop references to commit 1642a3945e223 and test output, and
  instead describe what the test is for and what it does.

Thanks,
Leon


      reply	other threads:[~2025-09-19  2:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-16 15:52 [PATCH bpf-next v2 0/3] bpf: Allow union argument in trampoline based programs Leon Hwang
2025-09-16 15:52 ` [PATCH bpf-next v2 1/3] " Leon Hwang
2025-09-16 21:35   ` Amery Hung
2025-09-17 12:40     ` Leon Hwang
2025-09-17 18:13       ` Alexei Starovoitov
2025-09-18  1:47         ` Leon Hwang
2025-09-16 15:52 ` [PATCH bpf-next v2 2/3] bpf, x64: Add union argument support in trampoline Leon Hwang
2025-09-16 15:52 ` [PATCH bpf-next v2 3/3] selftests/bpf: Add union argument tests using fexit programs Leon Hwang
2025-09-18 16:09   ` Tao Chen
2025-09-19  1:47     ` Leon Hwang
2025-09-19  1:53       ` Alexei Starovoitov
2025-09-19  2:01         ` Leon Hwang [this message]

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=a5d2fb43-9b2d-4172-b8f0-071c810e63e4@linux.dev \
    --to=leon.hwang@linux.dev \
    --cc=alexei.starovoitov@gmail.com \
    --cc=ameryhung@gmail.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=cheick.traore@foss.st.com \
    --cc=chen.dylane@linux.dev \
    --cc=daniel@iogearbox.net \
    --cc=davidzalman.101@gmail.com \
    --cc=eddyz87@gmail.com \
    --cc=kernel-patches-bot@fb.com \
    --cc=martin.lau@linux.dev \
    --cc=menglong8.dong@gmail.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=puranjay@kernel.org \
    --cc=song@kernel.org \
    --cc=yatsenko@meta.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.