diff options
| author | 2019-01-22 10:57:23 -0500 | |
|---|---|---|
| committer | 2019-01-31 16:43:38 +1100 | |
| commit | 29a77bbb0cf2cea41fa46f8fa176f6cb1e3182c4 (patch) | |
| tree | 3b2a3eaf32d5be73e73d095ca4a9263cb4d69de7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | powerpc/livepatch: relax reliable stack tracer checks for first-frame (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 <nstange@suse.de>
Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
