perf ui: Move hists browser to util/ui/browsers/
Commit-ID: d1b4f2491c3341c61c752049f73ba12553f978d8 Gitweb: http://git.kernel.org/tip/d1b4f2491c3341c61c752049f73ba12553f978d8 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 10 Aug 2010 15:49:07 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Tue, 10 Aug 2010 16:11:08 -0300
perf ui: Move hists browser to util/ui/browsers/
LKML-Reference: <new-submission>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
---
tools/perf/Makefile | 4 +
tools/perf/util/newt.c | 965 +---------------------
tools/perf/util/pstack.h | 2 +
tools/perf/util/{newt.c => ui/browsers/hists.c} | 1037 ++++++++++-------------
4 files changed, 454 insertions(+), 1554 deletions(-)tools/perf/Makefile +4 -0
@@ -570,6 +570,7 @@ else LIB_OBJS += $(OUTPUT)util/newt.o LIB_OBJS += $(OUTPUT)util/ui/browser.o LIB_OBJS += $(OUTPUT)util/ui/browsers/annotate.o + LIB_OBJS += $(OUTPUT)util/ui/browsers/hists.o LIB_OBJS += $(OUTPUT)util/ui/browsers/map.o LIB_OBJS += $(OUTPUT)util/ui/helpline.o LIB_OBJS += $(OUTPUT)util/ui/progress.o
@@ -984,6 +985,9 @@ $(OUTPUT)util/ui/browser.o: util/ui/browser.c $(OUTPUT)PERF-CFLAGS $(OUTPUT)util/ui/browsers/annotate.o: util/ui/browsers/annotate.c $(OUTPUT)PERF-CFLAGS $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) -DENABLE_SLFUTURE_CONST $< +$(OUTPUT)util/ui/browsers/hists.o: util/ui/browsers/hists.c $(OUTPUT)PERF-CFLAGS + $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) -DENABLE_SLFUTURE_CONST $< + $(OUTPUT)util/ui/browsers/map.o: util/ui/browsers/map.c $(OUTPUT)PERF-CFLAGS $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) -DENABLE_SLFUTURE_CONST $<
tools/perf/util/newt.c +11 -954
1,003 lines not on this page · raw message
tools/perf/util/pstack.h +2 -0
@@ -1,6 +1,8 @@#ifndef _PERF_PSTACK_#define _PERF_PSTACK_ +#include <stdbool.h> +struct pstack ;struct pstack *pstack__new (unsigned short max_nr_entries);void pstack__delete (struct pstack *self);
tools/perf/util/ui/browsers/hists.c renamed from tools/perf/util/newt.c +437 -600
1,158 lines not on this page · raw message