linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] fgraph: Do not save calltime in shadow stack
@ 2024-09-14 21:48 Steven Rostedt
  2024-09-14 21:48 ` [PATCH 1/3] fgraph: Use fgraph data to store subtime for profiler Steven Rostedt
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Steven Rostedt @ 2024-09-14 21:48 UTC (permalink / raw)
  To: linux-kernel, linux-trace-kernel
  Cc: Masami Hiramatsu, Mark Rutland, Mathieu Desnoyers, Andrew Morton,
	Jiri Olsa


Now that there's more users of the function graph infrastructure, the
calltime field on the shadow stack wastes space and also getting the
timestamp is a waste of time for those that do not use it.

Instead, have the only two users of it (function graph tracer and the
profiler) store it in its own shadow stack variable.

Steven Rostedt (3):
      fgraph: Use fgraph data to store subtime for profiler
      ftrace: Use a running sleeptime instead of saving in shadow stack
      ftrace: Have calltime be saved in the fgraph storage

----
 include/linux/ftrace.h               |  5 +--
 include/linux/sched.h                |  1 +
 kernel/trace/fgraph.c                | 85 +++++++++++++++++++++---------------
 kernel/trace/ftrace.c                | 45 +++++++++++++------
 kernel/trace/trace.h                 |  1 +
 kernel/trace/trace_functions_graph.c | 52 +++++++++++++++++++++-
 6 files changed, 137 insertions(+), 52 deletions(-)

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

end of thread, other threads:[~2024-09-15  5:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-14 21:48 [PATCH 0/3] fgraph: Do not save calltime in shadow stack Steven Rostedt
2024-09-14 21:48 ` [PATCH 1/3] fgraph: Use fgraph data to store subtime for profiler Steven Rostedt
2024-09-14 21:48 ` [PATCH 2/3] ftrace: Use a running sleeptime instead of saving on shadow stack Steven Rostedt
2024-09-14 21:48 ` [PATCH 3/3] ftrace: Have calltime be saved in the fgraph storage Steven Rostedt
2024-09-15  5:22 ` [PATCH 0/3] fgraph: Do not save calltime in shadow stack Masami Hiramatsu

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).