From: Menglong Dong <menglong.dong@linux.dev>
To: bpf@vger.kernel.org, Leon Hwang <leon.hwang@linux.dev>
Cc: Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Andrii Nakryiko <andrii@kernel.org>,
Martin KaFai Lau <martin.lau@linux.dev>,
Eduard Zingerman <eddyz87@gmail.com>, Song Liu <song@kernel.org>,
Yonghong Song <yonghong.song@linux.dev>,
John Fastabend <john.fastabend@gmail.com>,
KP Singh <kpsingh@kernel.org>,
Stanislav Fomichev <sdf@fomichev.me>, Hao Luo <haoluo@google.com>,
Jiri Olsa <jolsa@kernel.org>,
Puranjay Mohan <puranjay@kernel.org>,
Xu Kuohai <xukuohai@huaweicloud.com>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>, Shuah Khan <shuah@kernel.org>,
Menglong Dong <menglong8.dong@gmail.com>,
Leon Hwang <leon.hwang@linux.dev>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
kernel-patches-bot@fb.com
Subject: Re: [PATCH bpf-next v2 3/3] bpf/selftests: Enable get_func_args and get_func_ip tests on arm64
Date: Thu, 29 Jan 2026 09:13:49 +0800 [thread overview]
Message-ID: <6233558.lOV4Wx5bFT@7940hx> (raw)
In-Reply-To: <20260128150112.8873-4-leon.hwang@linux.dev>
On 2026/1/28 23:01 Leon Hwang <leon.hwang@linux.dev> write:
> Allow get_func_args, and get_func_ip selftests to run on arm64.
Hi, Leon.
I think you missed the fsession_test.c, right? You need to
enable the test_fsession_test() for arm64 too. Therefore,
the title of this patch maybe:
bpf/selftests: Enable fsession tests on arm64
Thanks!
Menglong Dong
>
> Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
> ---
> tools/testing/selftests/bpf/progs/get_func_args_test.c | 2 +-
> tools/testing/selftests/bpf/progs/get_func_ip_test.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/testing/selftests/bpf/progs/get_func_args_test.c b/tools/testing/selftests/bpf/progs/get_func_args_test.c
> index 0a3236a7a109..180ba5098ca1 100644
> --- a/tools/testing/selftests/bpf/progs/get_func_args_test.c
> +++ b/tools/testing/selftests/bpf/progs/get_func_args_test.c
> @@ -167,7 +167,7 @@ int BPF_PROG(tp_test2)
> }
>
> __u64 test7_result = 0;
> -#ifdef __TARGET_ARCH_x86
> +#if defined(bpf_target_x86) || defined(bpf_target_arm64)
> SEC("fsession/bpf_fentry_test1")
> int BPF_PROG(test7)
> {
> diff --git a/tools/testing/selftests/bpf/progs/get_func_ip_test.c b/tools/testing/selftests/bpf/progs/get_func_ip_test.c
> index 65f7e1f182bf..43ff836a8ed8 100644
> --- a/tools/testing/selftests/bpf/progs/get_func_ip_test.c
> +++ b/tools/testing/selftests/bpf/progs/get_func_ip_test.c
> @@ -106,7 +106,7 @@ int BPF_URETPROBE(test8, int ret)
>
> __u64 test9_entry_result = 0;
> __u64 test9_exit_result = 0;
> -#ifdef __TARGET_ARCH_x86
> +#if defined(bpf_target_x86) || defined(bpf_target_arm64)
> SEC("fsession/bpf_fentry_test1")
> int BPF_PROG(test9, int a)
> {
> --
> 2.52.0
>
>
>
next prev parent reply other threads:[~2026-01-29 1:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-28 15:01 [PATCH bpf-next v2 0/3] bpf, arm64: Add fsession support Leon Hwang
2026-01-28 15:01 ` [PATCH bpf-next v2 1/3] bpf: Add bpf_arch_supports_fsession() Leon Hwang
2026-01-28 15:25 ` Leon Hwang
2026-01-28 15:26 ` bot+bpf-ci
2026-01-28 15:32 ` Leon Hwang
2026-01-28 15:35 ` Chris Mason
2026-01-28 15:40 ` Leon Hwang
2026-01-28 17:33 ` Ihor Solodrai
2026-01-28 18:49 ` Alexei Starovoitov
2026-01-28 19:08 ` Ihor Solodrai
2026-01-28 20:31 ` Alexei Starovoitov
2026-01-29 1:29 ` Menglong Dong
2026-01-29 2:14 ` Leon Hwang
2026-01-28 15:01 ` [PATCH bpf-next v2 2/3] bpf, arm64: Add fsession support Leon Hwang
2026-01-30 20:12 ` Alexei Starovoitov
2026-01-28 15:01 ` [PATCH bpf-next v2 3/3] bpf/selftests: Enable get_func_args and get_func_ip tests on arm64 Leon Hwang
2026-01-29 1:13 ` Menglong Dong [this message]
2026-01-28 19:32 ` [PATCH bpf-next v2 0/3] bpf, arm64: Add fsession support Puranjay Mohan
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=6233558.lOV4Wx5bFT@7940hx \
--to=menglong.dong@linux.dev \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=catalin.marinas@arm.com \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=haoluo@google.com \
--cc=john.fastabend@gmail.com \
--cc=jolsa@kernel.org \
--cc=kernel-patches-bot@fb.com \
--cc=kpsingh@kernel.org \
--cc=leon.hwang@linux.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=martin.lau@linux.dev \
--cc=menglong8.dong@gmail.com \
--cc=puranjay@kernel.org \
--cc=sdf@fomichev.me \
--cc=shuah@kernel.org \
--cc=song@kernel.org \
--cc=will@kernel.org \
--cc=xukuohai@huaweicloud.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox