]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
perf kvm: Handle realloc failures
authorDavid Ahern <dsahern@gmail.com>
Sun, 26 May 2013 00:24:46 +0000 (18:24 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 May 2013 13:24:04 +0000 (16:24 +0300)
commit6ca5f3081f903e2b25e58a061ddad486f846561e
tree10ba490bc80b175c410569fa0c33b745b797c255
parentb69e63a45f2d96a0dfe930ed20385058d4574d2f
perf kvm: Handle realloc failures

Save previous pointer and free on failure.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Runzhen Wang <runzhen@linux.vnet.ibm.com>
Cc: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1369527896-3650-7-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-kvm.c