perf_counter: Implement dso__load using libelf
Commit-ID: 62eb93905b3b43cea407cfbc061cc7b40ae1c6e9 Gitweb: http://git.kernel.org/tip/62eb93905b3b43cea407cfbc061cc7b40ae1c6e9 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Mon, 18 May 2009 14:28:47 -0300 Committer: Ingo Molnar <[email protected]> CommitDate: Tue, 26 May 2009 13:52:53 +0200
perf_counter: Implement dso__load using libelf
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
Acked-by Peter Zijlstra <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Corey Ashford <[email protected]>
Cc Marcelo Tosatti <[email protected]>
Cc Thomas Gleixner <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by Ingo Molnar <[email protected]>
--- Documentation/perf_counter/Makefile | 2 +- Documentation/perf_counter/builtin-report.c | 122 ++++++++++++++++++++++++++- 2 files changed, 121 insertions(+), 3 deletions(-)
Documentation/perf_counter/Makefile +1 -1
@@ -160,7 +160,7 @@ uname_V := $(shell sh -c 'uname -v 2>/dev/null || echo not') # CFLAGS and LDFLAGS are for the users to override from the command line. CFLAGS = -g -O2 -Wall -LDFLAGS = -lpthread -lrt +LDFLAGS = -lpthread -lrt -lelf ALL_CFLAGS = $(CFLAGS) ALL_LDFLAGS = $(LDFLAGS) STRIP ?= strip
Documentation/perf_counter/builtin-report.c +120 -2
142 lines not on this page · raw message