commit | f05082b5479d91ee5c04f311acaa394ce0c5e6d2 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Tue Apr 04 12:05:37 2017 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Tue Apr 04 12:05:37 2017 -0300 |
tree | b0b55a042b478400776df8a26bad3870c4927596 | |
parent | 427748068a973627b406bf7312342b6fe4742d07 [diff] |
perf tools: Handle allocation failures gracefully The callers of perf_read_values__enlarge_counters() already propagate errors, so just print some debug diagnostics and handle allocation failures gracefully, not trying to do silly things like 'a = realloc(a)'. Link: http://lkml.kernel.org/n/tip-nsmmh7uzpg35rzcl9nq7yztp@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>