Skip to content

Commit

Permalink
perf_counter: First part of 'perf report' conversion to C + elfutils
Browse files Browse the repository at this point in the history
Integrate perf-report into 'perf', as builtin-report.c.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed May 26, 2009
1 parent b456bae commit 8fa66bd
Show file tree
Hide file tree
Showing 5 changed files with 755 additions and 5 deletions.
6 changes: 1 addition & 5 deletions Documentation/perf_counter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ COMPAT_CFLAGS =
COMPAT_OBJS =
LIB_H =
LIB_OBJS =
PROGRAMS = perf-report
SCRIPT_PERL =
SCRIPT_SH =
TEST_PROGRAMS =
Expand Down Expand Up @@ -315,6 +314,7 @@ LIB_OBJS += util/wrapper.o

BUILTIN_OBJS += builtin-help.o
BUILTIN_OBJS += builtin-record.o
BUILTIN_OBJS += builtin-report.o
BUILTIN_OBJS += builtin-stat.o
BUILTIN_OBJS += builtin-top.o

Expand Down Expand Up @@ -811,10 +811,6 @@ clean:
$(RM) $(htmldocs).tar.gz $(manpages).tar.gz
$(RM) PERF-VERSION-FILE PERF-CFLAGS PERF-BUILD-OPTIONS

# temporary hack:
perf-report: perf-report.cc ../../include/linux/perf_counter.h Makefile
g++ -g -O2 -Wall -lrt -o $@ $<

.PHONY: all install clean strip
.PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell
.PHONY: .FORCE-PERF-VERSION-FILE TAGS tags cscope .FORCE-PERF-CFLAGS
Expand Down
Loading

0 comments on commit 8fa66bd

Please sign in to comment.