diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-04-23 14:22:10 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-04-30 21:14:32 +0300 |
commit | 7d989fcadd6e225a61d6490dd15bdbdfc8a53d5c (patch) | |
tree | 583bf629f9258bcb0db970768f6a6c697e17ff66 /tools/perf/scripts/python/stackcollapse.py | |
parent | c721b3f80faebc7891211fa82de303eebadfed15 (diff) | |
download | linux-7d989fcadd6e225a61d6490dd15bdbdfc8a53d5c.tar.xz |
objtool: Rework allocating stack_ops on decode
Wrap each stack_op in a macro that allocates and adds it to the list.
This simplifies trying to figure out what to do with the pre-allocated
stack_op at the end.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lkml.kernel.org/r/20200428191659.736151601@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions