diff options
author | Dave Martin <[email protected]> | 2019-07-02 14:07:28 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2019-07-22 11:44:08 +0100 |
commit | f3dcbe67ed424f1cf92065f9ad0cc647f2b44eac (patch) | |
tree | 6838d2a529abca0a3286e442e4b316605fc84f03 /tools/perf/util/c++/clang-test.cpp | |
parent | 8caa6e2be72313c170f2b30e8475323526dd7ed1 (diff) |
arm64: stacktrace: Factor out backtrace initialisation
Some common code is required by each stacktrace user to initialise
struct stackframe before the first call to unwind_frame().
In preparation for adding to the common code, this patch factors it
out into a separate function start_backtrace(), and modifies the
stacktrace callers appropriately.
No functional change.
Signed-off-by: Dave Martin <[email protected]>
[Mark: drop tsk argument, update more callsites]
Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: James Morse <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions