public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCHSET] perf ui: Small preparation on further UI work
@ 2012-03-26  8:51 Namhyung Kim
  2012-03-26  8:51 ` [PATCH 1/5] perf ui: Make setup_browser() generic Namhyung Kim
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Namhyung Kim @ 2012-03-26  8:51 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Peter Zijlstra, Paul Mackerras, Ingo Molnar, Namhyung Kim, LKML,
	Pekka Enberg

Hi,

This is my initial work of UI generalization. As we now get GTK2 support on
perf report, improve setup_browser() to handle it properly so that we can
add various UI specific initialization codes to the function. At least, we
need basic error/warning handlers ASAP to see what's going on when an error
occurred, IMHO.

I put new file setup.c under ui directory (not under util/ui) and it may or
may not be compiled depending on the system configuration. I think it'd be
better moving generic UI codes to the directory and TUI specific codes to
ui/tui, and so on, so that the util directory doesn't contain any UI codes.
But before proceeding, I'd like to listen to your opinions :).

Any comments are welcome.
Thanks.

Namhyung Kim (5):
  perf ui: Make setup_browser() generic
  perf ui: Drop arg[cv] arguments from perf_gtk_setup_browser()
  perf ui: Add gtk2 support into setup_browser()
  perf gtk: Rename functions for consistency
  perf ui: Change fallback policy of setup_browser()

 tools/perf/Makefile           |    7 ++++-
 tools/perf/builtin-report.c   |    5 +---
 tools/perf/ui/setup.c         |   44 +++++++++++++++++++++++++++++
 tools/perf/util/cache.h       |   24 +++++++++++-----
 tools/perf/util/gtk/browser.c |   27 +++++++++---------
 tools/perf/util/gtk/gtk.h     |    4 +++
 tools/perf/util/ui/setup.c    |   61 +++++++++++++++-------------------------
 7 files changed, 108 insertions(+), 64 deletions(-)
 create mode 100644 tools/perf/ui/setup.c

-- 
1.7.7.6


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-03-29  1:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26  8:51 [RFC PATCHSET] perf ui: Small preparation on further UI work Namhyung Kim
2012-03-26  8:51 ` [PATCH 1/5] perf ui: Make setup_browser() generic Namhyung Kim
2012-03-26  8:51 ` [PATCH 2/5] perf ui: Drop arg[cv] arguments from perf_gtk_setup_browser() Namhyung Kim
2012-03-26  8:51 ` [PATCH 3/5] perf ui: Add gtk2 support into setup_browser() Namhyung Kim
2012-03-26  8:51 ` [PATCH 4/5] perf gtk: Rename functions for consistency Namhyung Kim
2012-03-26  8:51 ` [PATCH 5/5] perf ui: Change fallback policy of setup_browser() Namhyung Kim
2012-03-26  9:46 ` [RFC PATCHSET] perf ui: Small preparation on further UI work Pekka Enberg
2012-03-26 17:38 ` Arnaldo Carvalho de Melo
2012-03-27 10:44   ` Pekka Enberg
2012-03-27 13:55     ` Arnaldo Carvalho de Melo
2012-03-28  2:14   ` Namhyung Kim
2012-03-28 14:28     ` Arnaldo Carvalho de Melo
2012-03-29  1:03       ` Namhyung Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox