Peter Zijlstra | de9ac07 | 2009-04-08 15:01:31 +0200 | [diff] [blame^] | 1 | BINS = kerneltop perfstat perf-record perf-report |
Ingo Molnar | e0143ba | 2009-03-23 21:29:59 +0100 | [diff] [blame] | 2 | |
| 3 | all: $(BINS) |
| 4 | |
Ingo Molnar | 383c5f8 | 2009-03-23 21:49:25 +0100 | [diff] [blame] | 5 | kerneltop: kerneltop.c ../../include/linux/perf_counter.h |
Paul Mackerras | cbe4655 | 2009-03-24 16:52:34 +1100 | [diff] [blame] | 6 | cc -O6 -Wall -lrt -o $@ $< |
Ingo Molnar | e0143ba | 2009-03-23 21:29:59 +0100 | [diff] [blame] | 7 | |
Peter Zijlstra | de9ac07 | 2009-04-08 15:01:31 +0200 | [diff] [blame^] | 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 | |
Ingo Molnar | e0143ba | 2009-03-23 21:29:59 +0100 | [diff] [blame] | 14 | perfstat: kerneltop |
| 15 | ln -sf kerneltop perfstat |
| 16 | |
| 17 | clean: |
| 18 | rm $(BINS) |