diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-23 16:29:59 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 03:30:19 -0400 |
commit | e0143bad9dbf2a8fad4c5430562bceba196b66ea (patch) | |
tree | 63be907aadc854617899a4dda0465831316a4073 /Documentation/perf_counter/Makefile | |
parent | 6f9f791eb53b56097cd311a1a5517a8e89bdaf35 (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/Makefile | 12 |
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 @@ | |||
1 | BINS = kerneltop perfstat | ||
2 | |||
3 | all: $(BINS) | ||
4 | |||
5 | kerneltop: kerneltop.c perfcounters.h | ||
6 | cc -O6 -Wall -lrt `pkg-config --cflags --libs glib-2.0` -o $@ $< | ||
7 | |||
8 | perfstat: kerneltop | ||
9 | ln -sf kerneltop perfstat | ||
10 | |||
11 | clean: | ||
12 | rm $(BINS) | ||