perf tools: Introduce xyarray__reset function
authorJiri Olsa <jolsa@kernel.org>
Sun, 14 Jun 2015 08:19:16 +0000 (10:19 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 16 Jun 2015 13:34:39 +0000 (10:34 -0300)
commitb45f65e8fddc89ac6b46388908d3f6ac728be372
tree00c67bd22d4adc6aeabeb30eb7be4ddf5c85527c
parentba7ecb02e7b89b09d8cdf4c1514a386af8916c4b
perf tools: Introduce xyarray__reset function

To zero all the xyarray contents. It will be used in following patches.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1434269985-521-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/xyarray.c
tools/perf/util/xyarray.h