LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Heiko Carstens <hca@linux.ibm.com>
To: Jiri Olsa <jolsa@redhat.com>
Cc: "Steven Rostedt (VMware)" <rostedt@goodmis.org>,
	bpf@vger.kernel.org, linux-kernel@vger.kernel.org,
	Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Andrii Nakryiko <andriin@fb.com>
Subject: Re: [PATCHv2 0/8] x86/ftrace: Add direct batch interface
Date: Wed, 13 Oct 2021 11:01:34 +0200	[thread overview]
Message-ID: <YWagbqm4wtYqpBt/@osiris> (raw)
In-Reply-To: <20211008091336.33616-1-jolsa@kernel.org>

On Fri, Oct 08, 2021 at 11:13:28AM +0200, Jiri Olsa wrote:
> hi,
> adding interface to maintain multiple direct functions
> within single calls. It's a base for follow up bpf batch
> attach functionality.
...
> ---
> Jiri Olsa (6):
>       x86/ftrace: Remove extra orig rax move
>       tracing: Add trampoline/graph selftest
>       ftrace: Add ftrace_add_rec_direct function
>       ftrace: Add multi direct register/unregister interface
>       ftrace: Add multi direct modify interface
>       ftrace/samples: Add multi direct interface test module
> 
> Steven Rostedt (VMware) (2):
>       x86/ftrace: Remove fault protection code in prepare_ftrace_return
>       x86/ftrace: Make function graph use ftrace directly
> 
>  arch/x86/include/asm/ftrace.h        |   9 +++-
>  arch/x86/kernel/ftrace.c             |  71 +++++++++++++++---------------
>  arch/x86/kernel/ftrace_64.S          |  30 +------------
>  include/linux/ftrace.h               |  26 +++++++++++
>  kernel/trace/fgraph.c                |   6 ++-
>  kernel/trace/ftrace.c                | 268 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
>  kernel/trace/trace_selftest.c        |  54 ++++++++++++++++++++++-
>  samples/ftrace/Makefile              |   1 +
>  samples/ftrace/ftrace-direct-multi.c |  52 ++++++++++++++++++++++
>  9 files changed, 420 insertions(+), 97 deletions(-)
>  create mode 100644 samples/ftrace/ftrace-direct-multi.c

FWIW, Steven pointed me to this thread since I posted
DYNAMIC_FTRACE_WITH_DIRECT_CALL support for s390 here:
https://lore.kernel.org/all/20211012133802.2460757-1-hca@linux.ibm.com/

Since Jiri asked for it: please feel free to add
Tested-by: Heiko Carstens <hca@linux.ibm.com>
to all non-x86 patches.

  parent reply	other threads:[~2021-10-13  9:02 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08  9:13 Jiri Olsa
2021-10-08  9:13 ` [PATCH 1/8] x86/ftrace: Remove extra orig rax move Jiri Olsa
2021-10-08  9:13 ` [PATCH 2/8] x86/ftrace: Remove fault protection code in prepare_ftrace_return Jiri Olsa
2021-10-08  9:13 ` [PATCH 3/8] x86/ftrace: Make function graph use ftrace directly Jiri Olsa
2021-10-08  9:13 ` [PATCH 4/8] tracing: Add trampoline/graph selftest Jiri Olsa
2021-10-08  9:13 ` [PATCH 5/8] ftrace: Add ftrace_add_rec_direct function Jiri Olsa
2021-10-08  9:13 ` [PATCH 6/8] ftrace: Add multi direct register/unregister interface Jiri Olsa
2021-10-08  9:13 ` [PATCH 7/8] ftrace: Add multi direct modify interface Jiri Olsa
2021-10-14 20:28   ` Steven Rostedt
2021-10-15 12:05     ` Jiri Olsa
2021-10-15 14:05       ` Steven Rostedt
2021-10-16 11:39         ` Jiri Olsa
2021-10-19  2:10           ` Steven Rostedt
2021-10-19 13:19             ` Jiri Olsa
2021-10-19 13:26               ` Jiri Olsa
2021-10-19 13:32                 ` Steven Rostedt
2021-10-19 14:03                   ` Jiri Olsa
2021-10-19 14:44                     ` Steven Rostedt
2021-10-19 14:47                       ` Jiri Olsa
2021-10-08  9:13 ` [PATCH 8/8] ftrace/samples: Add multi direct interface test module Jiri Olsa
2021-10-26 19:23   ` Guenter Roeck
2021-10-26 19:29     ` Steven Rostedt
2021-10-13  9:01 ` Heiko Carstens [this message]
2021-10-13 12:25   ` [PATCHv2 0/8] x86/ftrace: Add direct batch interface Jiri Olsa

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=YWagbqm4wtYqpBt/@osiris \
    --to=hca@linux.ibm.com \
    --cc=andriin@fb.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=jolsa@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --subject='Re: [PATCHv2 0/8] x86/ftrace: Add direct batch interface' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).