diff options
| author | Namhyung Kim <[email protected]> | 2022-10-28 11:01:27 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-10-31 11:07:45 -0300 |
| commit | 9e9c5f3cf912c3e068b6c24d77f6f07ac242395b (patch) | |
| tree | d712c0298fc0a3f2a63d6731adf8309a5d00a992 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0a277b6226703812ba90543d5bb49476e03f816e (diff) | |
perf lock contention: Avoid variable length arrays
The msan also warns about the use of VLA for stack_trace variable.
We can dynamically allocate instead. While at it, simplify the error
handle a bit (and fix bugs).
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions