]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Fix perf's libperf_print callback
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 8 Apr 2022 13:26:25 +0000 (16:26 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 9 Apr 2022 15:34:29 +0000 (12:34 -0300)
commitb6b6511ee07f82a720c37c39d452348cf3bcd01e
treeee3ed42e4c880c2d0d76ebdccce97529860b2bea
parent32eb340c44d20894fe9b67558957ac5f1a8ca6aa
perf tools: Fix perf's libperf_print callback

eprintf() does not expect va_list as the type of the 4th parameter.

Use veprintf() because it does.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: 3450aa9990eafbeb ("libperf: Merge libperf_set_print() into libperf_init()")
Cc: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20220408132625.2451452-1-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/perf.c