summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2012-09-24 16:16:40 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-09-24 16:43:38 +0200
commite0dcd6fb2564c20e53ee8b7d2884a7e375fe9e75 (patch)
tree6b39707b2884f9eb93a5831ff850898a157e8ce8 /init
parentperf lock: Use perf_evsel__intval and perf_session__set_tracepoints_handlers (diff)
downloadlinux-e0dcd6fb2564c20e53ee8b7d2884a7e375fe9e75.tar.xz
linux-e0dcd6fb2564c20e53ee8b7d2884a7e375fe9e75.zip
perf timechart: Use zalloc and fix a couple leaks
Use zalloc for the malloc+memset open coded sequence. Fix leak on the #ifdef'ed C state handling and when detecting invalid data in p_state_change(). Cc: Arjan van de Ven <arjan@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-v9x3q9rv4caxtox7wtjpchq5@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions