perf_counter: add sample user-space to Documentation/perf_counter/

Initial version of kerneltop.c and perfstat.c.

Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Ingo Molnar
2009-03-23 21:29:59 +01:00
parent 6f9f791eb5
commit e0143bad9d
3 changed files with 1489 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
BINS = kerneltop perfstat
all: $(BINS)
kerneltop: kerneltop.c perfcounters.h
cc -O6 -Wall -lrt `pkg-config --cflags --libs glib-2.0` -o $@ $<
perfstat: kerneltop
ln -sf kerneltop perfstat
clean:
rm $(BINS)
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff