diff options
| author | Adrian Hunter <[email protected]> | 2022-07-11 09:32:06 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-07-20 14:08:37 +0000 |
| commit | 10d34700223b14ed94a6399cf026142956f87965 (patch) | |
| tree | fbb9e3142583266b2d1622cb861df04d23e9b8b2 /tools/perf/builtin-inject.c | |
| parent | perf tools: Automatically use guest kcore_dir if present (diff) | |
| download | kernel-10d34700223b14ed94a6399cf026142956f87965.tar.gz kernel-10d34700223b14ed94a6399cf026142956f87965.zip | |
perf tools: Add reallocarray_as_needed()
Add helper reallocarray_as_needed() to reallocate an array to a larger
size and initialize the extra entries to an arbitrary value.
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/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions
