diff options
author | Steven Rostedt <[email protected]> | 2024-10-26 06:32:10 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-10-29 07:43:02 -0400 |
commit | 434098485bfc8f5336d5164adea0a9d102a0a09a (patch) | |
tree | a0e464d91e60f5566a255dc9ceff07d05e325bad /tools/perf/scripts/python/syscall-counts.py | |
parent | 6ea8b69da6bf1b8a0e4683f37a006a2e2f4fc943 (diff) |
fgraph: Give ret_stack its own kmem cache
The ret_stack (shadow stack used by function graph infrastructure) is
created for every task on the system when function graph is enabled. Give
it its own kmem_cache. This will make it easier to see how much memory is
being used specifically for function graph shadow stacks.
In the future, this size may change and may not be a power of two. Having
its own cache can also keep it from fragmenting memory.
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Ryan Roberts <[email protected]>
Link: https://lore.kernel.org/[email protected]
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions