]> git.baikalelectronics.ru Git - kernel.git/commit
perf evlist: Remove unused perf_evlist__fprintf() method
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 24 Sep 2019 18:45:21 +0000 (15:45 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Sep 2019 19:26:40 +0000 (16:26 -0300)
commit65fa951a35fcc2bf06512fac95e16e2246dd6002
tree1bdc37d1d2e002c656b0dd2aed7cf41d10c7c207
parent9bc79dcd8727ffae6f1a709db716fd3d29563da0
perf evlist: Remove unused perf_evlist__fprintf() method

Ditch it, noone is using it, one more stdio.h include in a hot header.

Fix the fallout in parse-events.y, where we end up using a FILE pointer,
I think due to YYDEBUG being set and in some places, like Amazon Linux 1
we don't get stdio.h included by luck, like in most other places, add a
explicit stdio.h include directive.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-37k5q0lhdbo2hvvfbnnzn7og@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c
tools/perf/util/evlist.h
tools/perf/util/parse-events.y