libperf: Add libperf_init() call to the tests
authorJiri Olsa <jolsa@kernel.org>
Mon, 2 Sep 2019 08:33:09 +0000 (10:33 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Sep 2019 12:51:49 +0000 (09:51 -0300)
commit379dd98c3d77de920f09f1933592982d200e076a
treeba210fce5cfe58e1e19e677db6d3caaf76f0b30b
parent428dab813a56ce9402f359dc35a3ccdfcaea9429
libperf: Add libperf_init() call to the tests

Add libperf_init() call to the automated tests.

Committer notes:

Added missing stdarg.h and/or stdio.h to places using vfprintf.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lore.kernel.org/lkml/20190913132355.21634-34-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/lib/tests/test-cpumap.c
tools/perf/lib/tests/test-evlist.c
tools/perf/lib/tests/test-evsel.c
tools/perf/lib/tests/test-threadmap.c