From: Leon Hwang <leon.hwang@linux.dev>
To: Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will@kernel.org>,
Steven Rostedt <rostedt@goodmis.org>,
Masami Hiramatsu <mhiramat@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
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>,
Shuah Khan <shuah@kernel.org>, Leon Hwang <leon.hwang@linux.dev>
Cc: bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org
Subject: [PATCH 0/2] arm64: ftrace: enable single ftrace_ops for direct calls
Date: Mon, 27 Jul 2026 22:28:42 +0800 [thread overview]
Message-ID: <20260727142844.21212-1-leon.hwang@linux.dev> (raw)
Beyond the DIRECT_CALLS support on arm64 [1], select
HAVE_SINGLE_FTRACE_DIRECT_OPS for arm64, which enables the BPF
tracing_multi link on arm64 [2].
All tracing_multi link selftests are passed on arm64.
cd tools/testing/selftests/bpf
./test_progs -a 'tracing_multi_*'
#545/1 tracing_multi_attach_rollback/put:OK
#545/2 tracing_multi_attach_rollback/unlink:OK
#545 tracing_multi_attach_rollback:OK
#546 tracing_multi_bench_attach:OK
#547/1 tracing_multi_test/skel_api:OK
#547/2 tracing_multi_test/link_api_pattern:OK
#547/3 tracing_multi_test/link_api_ids:OK
#547/4 tracing_multi_test/module_skel_api:OK
#547/5 tracing_multi_test/module_link_api_pattern:OK
#547/6 tracing_multi_test/module_link_api_ids:OK
#547/7 tracing_multi_test/intersect:OK
#547/8 tracing_multi_test/cookies:OK
#547/9 tracing_multi_test/session:OK
#547/10 tracing_multi_test/attach_api_fails:OK
#547/11 tracing_multi_test/fentry_direct_access:OK
#547/12 tracing_multi_test/fexit_direct_access:OK
#547/13 tracing_multi_test/fsession_direct_access:OK
#547/14 tracing_multi_test/fentry_after_multi:OK
#547 tracing_multi_test:OK
Summary: 3/16 PASSED, 0 SKIPPED, 0 FAILED
./test_progs -a 'fill_link_info/tracing_multi_*'
#132/11 fill_link_info/tracing_multi_link_info:OK
#132/12 fill_link_info/tracing_multi_invalid_ubuff:OK
#132 fill_link_info:OK
Summary: 1/2 PASSED, 0 SKIPPED, 0 FAILED
Links:
[1] https://lore.kernel.org/all/20260609-arm64-ftrace-direct-calls-v1-0-4a46f266697f@linux.dev/
[2] https://github.com/kernel-patches/bpf/pull/12986
Leon Hwang (2):
arm64: ftrace: enable single ftrace_ops for direct calls
selftests/bpf: Enable tracing_multi tests on arm64
arch/arm64/Kconfig | 2 ++
arch/arm64/kernel/ftrace.c | 3 +--
tools/testing/selftests/bpf/prog_tests/tracing_multi.c | 9 +++++++--
tools/testing/selftests/bpf/test_progs.h | 6 ++++++
4 files changed, 16 insertions(+), 4 deletions(-)
--
2.55.0
next reply other threads:[~2026-07-27 14:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 14:28 Leon Hwang [this message]
2026-07-27 14:28 ` [PATCH 1/2] arm64: ftrace: enable single ftrace_ops for direct calls Leon Hwang
2026-07-27 14:52 ` sashiko-bot
2026-07-27 14:28 ` [PATCH 2/2] selftests/bpf: Enable tracing_multi tests on arm64 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=20260727142844.21212-1-leon.hwang@linux.dev \
--to=leon.hwang@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=emil@etsalapatis.com \
--cc=jolsa@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=martin.lau@linux.dev \
--cc=memxor@gmail.com \
--cc=mhiramat@kernel.org \
--cc=rostedt@goodmis.org \
--cc=shuah@kernel.org \
--cc=song@kernel.org \
--cc=will@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 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.