diff options
Diffstat (limited to 'Documentation/perf_counter/Makefile')
-rw-r--r-- | Documentation/perf_counter/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/perf_counter/Makefile b/Documentation/perf_counter/Makefile index 194b66215588..1dd37ee7dbdc 100644 --- a/Documentation/perf_counter/Makefile +++ b/Documentation/perf_counter/Makefile | |||
@@ -1,10 +1,16 @@ | |||
1 | BINS = kerneltop perfstat | 1 | BINS = kerneltop perfstat perf-record perf-report |
2 | 2 | ||
3 | all: $(BINS) | 3 | all: $(BINS) |
4 | 4 | ||
5 | kerneltop: kerneltop.c ../../include/linux/perf_counter.h | 5 | kerneltop: kerneltop.c ../../include/linux/perf_counter.h |
6 | cc -O6 -Wall -lrt -o $@ $< | 6 | cc -O6 -Wall -lrt -o $@ $< |
7 | 7 | ||
8 | perf-record: perf-record.c ../../include/linux/perf_counter.h | ||
9 | cc -O6 -Wall -lrt -o $@ $< | ||
10 | |||
11 | perf-report: perf-report.cc ../../include/linux/perf_counter.h | ||
12 | g++ -O6 -Wall -lrt -o $@ $< | ||
13 | |||
8 | perfstat: kerneltop | 14 | perfstat: kerneltop |
9 | ln -sf kerneltop perfstat | 15 | ln -sf kerneltop perfstat |
10 | 16 | ||