fgraph: Do not save calltime in shadow stack
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | fgraph: Use fgraph data to store subtime for profilerinclude/ kernel/ kernel/ | +62 | 0 replies | |
| 2/3 | ftrace: Use a running sleeptime instead of saving on shadow stackinclude/ kernel/ kernel/ +2 more | +60 | 0 replies | |
| 3/3 | ftrace: Have calltime be saved in the fgraph storageinclude/ kernel/ kernel/ +1 more | +51 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Masami Hiramatsu (Google) |
|---|---|
| Series | A-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] fgraph: Do not save calltime in shadow stack
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(-)