diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2012-05-29 00:22:58 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-06-19 12:06:18 -0400 |
commit | ba47a142d9f9b84e0464a11b7a067e5ad95c5d4b (patch) | |
tree | 40a4ebe58bf9e5314667cee7fe2cea2e5e3a88c5 /tools/perf/Makefile | |
parent | 409a8be61560c5875816da6dcb0c575d78145a5c (diff) |
perf ui: Introduce struct perf_error_ops
The struct perf_error_ops is for flexible error logging.
We can register appropriate functions based on front-end.
Signed-off-by: Namhyung Kim <namhyung.kim@lge.com>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1338265382-6872-4-git-send-email-namhyung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r-- | tools/perf/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 0eee64cfe9a0..c0ee917ae8ab 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
@@ -503,6 +503,7 @@ else | |||
503 | LIB_OBJS += $(OUTPUT)ui/progress.o | 503 | LIB_OBJS += $(OUTPUT)ui/progress.o |
504 | LIB_OBJS += $(OUTPUT)ui/util.o | 504 | LIB_OBJS += $(OUTPUT)ui/util.o |
505 | LIB_OBJS += $(OUTPUT)ui/tui/setup.o | 505 | LIB_OBJS += $(OUTPUT)ui/tui/setup.o |
506 | LIB_OBJS += $(OUTPUT)ui/tui/util.o | ||
506 | LIB_H += ui/browser.h | 507 | LIB_H += ui/browser.h |
507 | LIB_H += ui/browsers/map.h | 508 | LIB_H += ui/browsers/map.h |
508 | LIB_H += ui/helpline.h | 509 | LIB_H += ui/helpline.h |
@@ -526,9 +527,11 @@ else | |||
526 | EXTLIBS += $(shell pkg-config --libs gtk+-2.0) | 527 | EXTLIBS += $(shell pkg-config --libs gtk+-2.0) |
527 | LIB_OBJS += $(OUTPUT)ui/gtk/browser.o | 528 | LIB_OBJS += $(OUTPUT)ui/gtk/browser.o |
528 | LIB_OBJS += $(OUTPUT)ui/gtk/setup.o | 529 | LIB_OBJS += $(OUTPUT)ui/gtk/setup.o |
530 | LIB_OBJS += $(OUTPUT)ui/gtk/util.o | ||
529 | # Make sure that it'd be included only once. | 531 | # Make sure that it'd be included only once. |
530 | ifneq ($(findstring -DNO_NEWT_SUPPORT,$(BASIC_CFLAGS)),) | 532 | ifneq ($(findstring -DNO_NEWT_SUPPORT,$(BASIC_CFLAGS)),) |
531 | LIB_OBJS += $(OUTPUT)ui/setup.o | 533 | LIB_OBJS += $(OUTPUT)ui/setup.o |
534 | LIB_OBJS += $(OUTPUT)ui/util.o | ||
532 | endif | 535 | endif |
533 | endif | 536 | endif |
534 | endif | 537 | endif |