perf tools: Introduce zalloc() for the common calloc(1, N) case
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Nov 2009 14:05:16 +0000 (12:05 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Nov 2009 15:37:02 +0000 (16:37 +0100)
commit364794845cbc49e638b83d7ef739524291e1e961
treee720975b26d307d6566afb9305c9f6e44290a7da
parentb32d133aec5dc882cf783a293f393bfb3f4379e1
perf tools: Introduce zalloc() for the common calloc(1, N) case

This way we type less characters and it looks more like the
kzalloc kernel counterpart.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1259071517-3242-3-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/bench/mem-memcpy.c
tools/perf/builtin-help.c
tools/perf/builtin-probe.c
tools/perf/builtin-sched.c
tools/perf/builtin-top.c
tools/perf/util/header.c
tools/perf/util/parse-events.c
tools/perf/util/symbol.c
tools/perf/util/thread.c
tools/perf/util/util.h