diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2022-07-11 12:32:06 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-07-20 17:08:37 +0300 |
commit | 10d34700223b14ed94a6399cf026142956f87965 (patch) | |
tree | fbb9e3142583266b2d1622cb861df04d23e9b8b2 /Documentation/mhi | |
parent | a5367ecb5353fbf28bfd3979fc4f61ddebec80b1 (diff) | |
download | linux-10d34700223b14ed94a6399cf026142956f87965.tar.xz |
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 <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: kvm@vger.kernel.org
Link: https://lore.kernel.org/r/20220711093218.10967-24-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'Documentation/mhi')
0 files changed, 0 insertions, 0 deletions