[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230427140700.625241-1-revest@chromium.org>
Date: Thu, 27 Apr 2023 16:06:58 +0200
From: Florent Revest <revest@...omium.org>
To: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Cc: rostedt@...dmis.org, mhiramat@...nel.org, mark.rutland@....com,
kpsingh@...nel.org, xukuohai@...weicloud.com,
Florent Revest <revest@...omium.org>
Subject: [PATCH 0/2] Ftrace direct call samples improvements
This series is a subset of [1] that didn't go through the arm64 tree.
- The first patch fixes a small bug when a direct call sample is loaded on x86
- The second patch adds arm64 support to all direct calls samples
They are sent together because the second one depends on the first one.
This series applies cleanly on Linus's master branch. It needs the first two
patches of [1] which, at the time of writing, don't seem to have made it to the
trace/linux-trace tree but I suppose they could be pulled from Linus's master
1: https://lore.kernel.org/bpf/20230405180250.2046566-1-revest@chromium.org/
Florent Revest (2):
samples: ftrace: Save required argument registers in sample
trampolines
arm64: ftrace: Add direct call trampoline samples support
arch/arm64/Kconfig | 2 ++
samples/ftrace/ftrace-direct-modify.c | 34 ++++++++++++++++++
samples/ftrace/ftrace-direct-multi-modify.c | 40 +++++++++++++++++++++
samples/ftrace/ftrace-direct-multi.c | 24 +++++++++++++
samples/ftrace/ftrace-direct-too.c | 40 +++++++++++++++++----
samples/ftrace/ftrace-direct.c | 24 +++++++++++++
6 files changed, 158 insertions(+), 6 deletions(-)
--
2.40.1.495.gc816e09b53d-goog
Powered by blists - more mailing lists