diff options
author | Steven Rostedt <[email protected]> | 2024-10-19 15:29:51 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2024-10-29 07:43:01 -0400 |
commit | 6ea8b69da6bf1b8a0e4683f37a006a2e2f4fc943 (patch) | |
tree | 925a8af4a54befde185b8af8717c37babf42d752 /tools/perf/scripts/python/syscall-counts.py | |
parent | 81ec38ee9d31bcd5ee24fce3f197a4ad211be575 (diff) |
fgraph: Separate size of ret_stack from PAGE_SIZE
The ret_stack (shadow stack used by function graph infrastructure) is
currently defined as PAGE_SIZE. But some architectures which have 64K
PAGE_SIZE, this is way overkill. Also there's an effort to allow the
PAGE_SIZE to be defined at boot up.
Hard code it for now to 4096. In the future, this size may change and even
be dependent on specific architectures.
Link: https://lore.kernel.org/all/[email protected]/
Cc: Mark Rutland <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Suggested-by: Ryan Roberts <[email protected]>
Reviewed-by: Ryan Roberts <[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