diff options
author | 2017-04-04 12:05:37 -0300 | |
---|---|---|
committer | 2017-04-04 12:05:37 -0300 | |
commit | f05082b5479d91ee5c04f311acaa394ce0c5e6d2 (patch) | |
tree | b0b55a042b478400776df8a26bad3870c4927596 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf tools: Remove die() call (diff) | |
download | linux-dev-f05082b5479d91ee5c04f311acaa394ce0c5e6d2.tar.xz linux-dev-f05082b5479d91ee5c04f311acaa394ce0c5e6d2.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions