diff options
| author | Adrian Hunter <[email protected]> | 2022-07-11 12:32:08 +0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-07-20 11:08:37 -0300 |
| commit | eef8e06eeba83f919f3e06bbaed548038ba3b2fa (patch) | |
| tree | 4124c8f068218dc0a6ee0a1a176f487ccd44c0f0 /tools/perf/scripts/python/flamegraph.py | |
| parent | 97406a7e4fa6e5cad3be80cd2188d8fb50a6ec75 (diff) | |
perf machine: Use realloc_array_as_needed() in machine__set_current_tid()
Prepare machine__set_current_tid() for use with guest machines that do
not currently have a machine->env->nr_cpus_avail value by making use of
realloc_array_as_needed().
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: [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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions