[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221103170907.931465-1-mark.rutland@arm.com>
Date: Thu, 3 Nov 2022 17:09:04 +0000
From: Mark Rutland <mark.rutland@....com>
To: linux-kernel@...r.kernel.org
Cc: mark.rutland@....com, mhiramat@...nel.org, revest@...omium.org,
rostedt@...dmis.org
Subject: [PATCH 0/3] ftrace: add sample code with dynamic ftrace_ops
This series adds sample code to manipulate dynamic ftrace_ops, which
I've been using to benchmark/test some changes I've been making in this
area for arm64.
In the process of writing that I spotted a couple of minor issues,
addressed by the first two patches.
I'm not sure whether this should be a sample or something under lib/;
I'm happy to change that if folk have strong opinions.
Thanks;
Mark.
Mark Rutland (3):
ftrace: maintain samples/ftrace
ftrace: export ftrace_free_filter() to modules
ftrace: add sample with custom ops
MAINTAINERS | 1 +
kernel/trace/ftrace.c | 23 +-
samples/Kconfig | 7 +
samples/Makefile | 1 +
samples/ftrace/Makefile | 1 +
samples/ftrace/ftrace-direct-multi-modify.c | 1 +
samples/ftrace/ftrace-direct-multi.c | 1 +
samples/ftrace/ftrace-ops.c | 252 ++++++++++++++++++++
8 files changed, 286 insertions(+), 1 deletion(-)
create mode 100644 samples/ftrace/ftrace-ops.c
--
2.30.2
Powered by blists - more mailing lists