Re: [PATCH] perf report: Add a simple GTK2-based 'perf report'browser

From: Colin Walters
Date: Thu Feb 23 2012 - 14:37:12 EST


On Thu, 2012-02-23 at 18:18 +0200, Pekka Enberg wrote:
> This patch adds a simple GTK2-based browser to 'perf report' that's based on
> the TTY-based browser in builtin-report.c.
>
> Please not that you need to use
>
> make WERROR=0

You could -Wnoerror=strict-prototypes...

>
> to build perf on Fedora 15 (and possibly other distributions) because GTK
> headers do not compile cleanly:
>
> CC util/gtk/browser.o
> In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0,
> from util/gtk/browser.c:7:
> /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isnât a prototype [-Wstrict-prototypes]

Unfortunately it was a historical mistake, but it's part of the public
API:

https://bugzilla.gnome.org/show_bug.cgi?id=508760

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/