aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/perf_counter/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-03-23 16:29:59 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-06 03:30:19 -0400
commite0143bad9dbf2a8fad4c5430562bceba196b66ea (patch)
tree63be907aadc854617899a4dda0465831316a4073 /Documentation/perf_counter/Makefile
parent6f9f791eb53b56097cd311a1a5517a8e89bdaf35 (diff)
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>
Diffstat (limited to 'Documentation/perf_counter/Makefile')
-rw-r--r--Documentation/perf_counter/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/perf_counter/Makefile b/Documentation/perf_counter/Makefile
new file mode 100644
index 000000000000..b45749753fcb
--- /dev/null
+++ b/Documentation/perf_counter/Makefile
@@ -0,0 +1,12 @@
1BINS = kerneltop perfstat
2
3all: $(BINS)
4
5kerneltop: kerneltop.c perfcounters.h
6 cc -O6 -Wall -lrt `pkg-config --cflags --libs glib-2.0` -o $@ $<
7
8perfstat: kerneltop
9 ln -sf kerneltop perfstat
10
11clean:
12 rm $(BINS)