diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-23 21:29:59 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 09:30:19 +0200 |
commit | e0143bad9dbf2a8fad4c5430562bceba196b66ea (patch) | |
tree | 63be907aadc854617899a4dda0465831316a4073 /Documentation/perf_counter/Makefile | |
parent | 6f9f791eb53b56097cd311a1a5517a8e89bdaf35 (diff) | |
download | lwn-e0143bad9dbf2a8fad4c5430562bceba196b66ea.tar.gz lwn-e0143bad9dbf2a8fad4c5430562bceba196b66ea.zip |
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 @@ +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) |