diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-10-28 15:19:24 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-11-11 04:39:36 +0300 |
commit | 60602cb549f1965a7edbc96026760dfb93911fab (patch) | |
tree | a20295d7f8aa5216ff7a504d313b79f52adab181 /include/linux/trace_recursion.h | |
parent | 773c16705058e9be7b0f4ce124e89cd231c120a2 (diff) | |
download | linux-60602cb549f1965a7edbc96026760dfb93911fab.tar.xz |
fgraph: Make overruns 4 bytes in graph stack structure
Inspecting the data structures of the function graph tracer, I found that
the overrun value is unsigned long, which is 8 bytes on a 64 bit machine,
and not only that, the depth is an int (4 bytes). The overrun can be simply
an unsigned int (4 bytes) and pack the ftrace_graph_ret structure better.
The depth is moved up next to the func, as it is used more often with func,
and improves cache locality.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/trace_recursion.h')
0 files changed, 0 insertions, 0 deletions