libperf: Merge libperf_set_print() into libperf_init()
The libperf_set_print() function needs to be called in any case so let's merge it with libperf_init(), so we have just one init function. 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>
Showing
- tools/perf/lib/core.c 2 additions, 6 deletionstools/perf/lib/core.c
- tools/perf/lib/include/perf/core.h 1 addition, 2 deletionstools/perf/lib/include/perf/core.h
- tools/perf/lib/libperf.map 0 additions, 1 deletiontools/perf/lib/libperf.map
- tools/perf/perf.c 7 additions, 1 deletiontools/perf/perf.c
Please register or sign in to comment