diff options
| author | Joe Lawrence <[email protected]> | 2019-01-22 10:57:23 -0500 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-01-31 16:43:38 +1100 |
| commit | 29a77bbb0cf2cea41fa46f8fa176f6cb1e3182c4 (patch) | |
| tree | 3b2a3eaf32d5be73e73d095ca4a9263cb4d69de7 /tools/perf/scripts/python/bin | |
| parent | 18be37603de81674e41a0b0282326a0debc1696e (diff) | |
powerpc/livepatch: small cleanups in save_stack_trace_tsk_reliable()
Mostly cosmetic changes:
- Group common stack pointer code at the top
- Simplify the first frame logic
- Code stackframe iteration into for...loop construct
- Check for trace->nr_entries overflow before adding any into the array
Suggested-by: Nicolai Stange <[email protected]>
Signed-off-by: Joe Lawrence <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions