perf tests: Make terms a stack variable in test_term
authorDavid Ahern <dsahern@gmail.com>
Tue, 2 Jul 2013 19:27:24 +0000 (13:27 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 12 Jul 2013 16:46:17 +0000 (13:46 -0300)
commitc549aca50134640537bf0fbae43c08fd5ff91932
treec6d7fd08dce86f970b0ef7bbb4b1f56dce5b69a1
parent0142dab01cd690f6e376f1fb4d4462beb054dfaf
perf tests: Make terms a stack variable in test_term

No need to malloc the memory for it.

Signed-off-by: David Ahern <dsahern@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.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>
Link: http://lkml.kernel.org/r/1372793245-4136-6-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/parse-events.c