diff options
| author | AKASHI Takahiro <[email protected]> | 2015-10-30 05:25:39 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2015-11-03 19:31:06 +0000 |
| commit | bb99d8ccec7f83a2730a29d1ae7eee5ffa446a9e (patch) | |
| tree | 489004dcbfaefbf93282a12d241e5551f4ab133f /lib/mpi/mpicoder.c | |
| parent | recordmcount: arm64: Replace the ignored mcount call into nop (diff) | |
| download | kernel-bb99d8ccec7f83a2730a29d1ae7eee5ffa446a9e.tar.gz kernel-bb99d8ccec7f83a2730a29d1ae7eee5ffa446a9e.zip | |
tracing: Allow arch-specific stack tracer
A stack frame may be used in a different way depending on cpu architecture.
Thus it is not always appropriate to slurp the stack contents, as current
check_stack() does, in order to calcurate a stack index (height) at a given
function call. At least not on arm64.
In addition, there is a possibility that we will mistakenly detect a stale
stack frame which has not been overwritten.
This patch makes check_stack() a weak function so as to later implement
arch-specific version.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: AKASHI Takahiro <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
