mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] ftrace: add sample code with dynamic ftrace_ops
@ 2022-11-03 17:09 Mark Rutland
  2022-11-03 17:09 ` [PATCH 1/3] ftrace: maintain samples/ftrace Mark Rutland
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mark Rutland @ 2022-11-03 17:09 UTC (permalink / raw)
  To: linux-kernel; +Cc: mark.rutland, mhiramat, revest, rostedt

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-01-03 11:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 17:09 [PATCH 0/3] ftrace: add sample code with dynamic ftrace_ops Mark Rutland
2022-11-03 17:09 ` [PATCH 1/3] ftrace: maintain samples/ftrace Mark Rutland
2022-11-03 17:09 ` [PATCH 2/3] ftrace: export ftrace_free_filter() to modules Mark Rutland
2022-11-22 21:59   ` Steven Rostedt
2022-11-22 22:07     ` Steven Rostedt
2023-01-03 11:34     ` Mark Rutland
2022-11-03 17:09 ` [PATCH 3/3] ftrace: add sample with custom ops Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®