diff options
| author | Steven Rostedt (Google) <[email protected]> | 2023-01-17 10:21:27 -0500 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2023-01-25 10:31:24 -0500 |
| commit | 288709c9f3b0236000754824bcabc9a9ffaa3738 (patch) | |
| tree | 5b6d7b473cee961923e74875103c57e4487e58ea /lib/dynamic_debug.c | |
| parent | 19ff80496450f58a148effa2551350f3b89e4990 (diff) | |
tracing: Allow stacktraces to be saved as histogram variables
Allow to save stacktraces into a histogram variable. This will be used by
synthetic events to allow a stacktrace from one event to be passed and
displayed by another event.
The special keyword "stacktrace" is to be used to trigger a stack
trace for the event that the histogram trigger is attached to.
echo 'hist:keys=pid:st=stacktrace" > events/sched/sched_waking/trigger
Currently nothing can get access to the "$st" variable above that contains
the stack trace, but that will soon change.
Link: https://lkml.kernel.org/r/[email protected]
Cc: Masami Hiramatsu <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Tom Zanussi <[email protected]>
Cc: Ross Zwisler <[email protected]>
Cc: Ching-lin Yu <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions