diff options
| author | Namhyung Kim <namhyung@kernel.org> | 2022-10-28 11:01:27 -0700 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-10-31 11:07:45 -0300 |
| commit | 9e9c5f3cf912c3e068b6c24d77f6f07ac242395b (patch) | |
| tree | d712c0298fc0a3f2a63d6731adf8309a5d00a992 /tools/perf/scripts/python | |
| parent | perf lock contention: Check --max-stack option (diff) | |
| download | linux-9e9c5f3cf912c3e068b6c24d77f6f07ac242395b.tar.gz linux-9e9c5f3cf912c3e068b6c24d77f6f07ac242395b.zip | |
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 <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221028180128.3311491-4-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
