kernel_optimize_test/tools/perf/ui/gtk
Jiri Olsa 93e843f95f perf/ui/gtk: Fix gtk2 build
Ravi Bangoria reported an issue when doing the gtk2 feature detection on
Fedora 31, where some types got deprecated:

  /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: error: ‘GTypeDebugFlags’ is deprecated [-Werror=deprecated-declarations]
    236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);

Fix this for perf by allowing the compile to pass with deprecated
symbols via the -Wno-deprecated-declarations compiler directive.

Reported-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jelle van der Waa <jelle@vdwaa.nl>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20200113104358.123511-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2020-01-14 12:40:33 -03:00
..
annotate.c perf annotate: Pass a 'map_symbol' in places receiving a pair of 'map' and 'symbol' pointers 2019-11-12 08:20:53 -03:00
browser.c perf tools: Remove needless evlist.h include directives 2019-08-31 22:24:10 -03:00
Build perf/ui/gtk: Fix gtk2 build 2020-01-14 12:40:33 -03:00
gtk.h perf evlist: Rename struct perf_evlist to struct evlist 2019-07-29 18:34:42 -03:00
helpline.c perf tools: Remove debug.h from places where it is not needed 2019-09-20 09:19:20 -03:00
hists.c perf evlist: Adopt backwards ring buffer state enum 2019-09-25 09:51:45 -03:00
progress.c perf tools: Remove util.h from where it is not needed 2019-09-20 09:19:20 -03:00
setup.c perf debug: No need to include ui/util.h 2019-09-20 09:19:20 -03:00
util.c perf tools: Remove debug.h from places where it is not needed 2019-09-20 09:19:20 -03:00