diff options
| author | Ingo Molnar <mingo@kernel.org> | 2012-12-08 09:18:41 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2012-12-08 09:18:41 -0500 |
| commit | adc1ef1e37358d3c17d1a74a58b2e104fc0bda15 (patch) | |
| tree | 6f43107a76ed87f2b817594d2d62246ab82cfba6 /tools | |
| parent | 84e53ff77cb1e005f49966cd6789109d84acc9e2 (diff) | |
| parent | 07ac002f2fcc74c5be47b656d9201d5de84dc53d (diff) | |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
- UAPI fixes, from David Howels
- Separate perf tests into multiple objects, one per test, from Jiri Olsa.
- Fixes to /proc/pid/maps parsing, preparatory to supporting data maps,
from Namhyung Kim
- Fix compile error for non-NEWT builds, from Namhyung Kim
- Implement ui_progress for GTK, from Namhyung Kim
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools')
51 files changed, 2046 insertions, 1783 deletions
diff --git a/tools/Makefile b/tools/Makefile index 3ae43947a171..1f9a529fe544 100644 --- a/tools/Makefile +++ b/tools/Makefile | |||
| @@ -31,44 +31,44 @@ help: | |||
| 31 | @echo ' clean: a summary clean target to clean _all_ folders' | 31 | @echo ' clean: a summary clean target to clean _all_ folders' |
| 32 | 32 | ||
| 33 | cpupower: FORCE | 33 | cpupower: FORCE |
| 34 | $(QUIET_SUBDIR0)power/$@/ $(QUIET_SUBDIR1) | 34 | $(call descend,power/$@) |
| 35 | 35 | ||
| 36 | firewire lguest perf usb virtio vm: FORCE | 36 | firewire lguest perf usb virtio vm: FORCE |
| 37 | $(QUIET_SUBDIR0)$@/ $(QUIET_SUBDIR1) | 37 | $(call descend,$@) |
| 38 | 38 | ||
| 39 | selftests: FORCE | 39 | selftests: FORCE |
| 40 | $(QUIET_SUBDIR0)testing/$@/ $(QUIET_SUBDIR1) | 40 | $(call descend,testing/$@) |
| 41 | 41 | ||
| 42 | turbostat x86_energy_perf_policy: FORCE | 42 | turbostat x86_energy_perf_policy: FORCE |
| 43 | $(QUIET_SUBDIR0)power/x86/$@/ $(QUIET_SUBDIR1) | 43 | $(call descend,power/x86/$@) |
| 44 | 44 | ||
| 45 | cpupower_install: | 45 | cpupower_install: |
| 46 | $(QUIET_SUBDIR0)power/$(@:_install=)/ $(QUIET_SUBDIR1) install | 46 | $(call descend,power/$(@:_install=),install) |
| 47 | 47 | ||
| 48 | firewire_install lguest_install perf_install usb_install virtio_install vm_install: | 48 | firewire_install lguest_install perf_install usb_install virtio_install vm_install: |
| 49 | $(QUIET_SUBDIR0)$(@:_install=)/ $(QUIET_SUBDIR1) install | 49 | $(call descend,$(@:_install=),install) |
| 50 | 50 | ||
| 51 | selftests_install: | 51 | selftests_install: |
| 52 | $(QUIET_SUBDIR0)testing/$(@:_clean=)/ $(QUIET_SUBDIR1) install | 52 | $(call descend,testing/$(@:_clean=),install) |
| 53 | 53 | ||
| 54 | turbostat_install x86_energy_perf_policy_install: | 54 | turbostat_install x86_energy_perf_policy_install: |
| 55 | $(QUIET_SUBDIR0)power/x86/$(@:_install=)/ $(QUIET_SUBDIR1) install | 55 | $(call descend,power/x86/$(@:_install=),install) |
| 56 | 56 | ||
| 57 | install: cpupower_install firewire_install lguest_install perf_install \ | 57 | install: cpupower_install firewire_install lguest_install perf_install \ |
| 58 | selftests_install turbostat_install usb_install virtio_install \ | 58 | selftests_install turbostat_install usb_install virtio_install \ |
| 59 | vm_install x86_energy_perf_policy_install | 59 | vm_install x86_energy_perf_policy_install |
| 60 | 60 | ||
| 61 | cpupower_clean: | 61 | cpupower_clean: |
| 62 | $(QUIET_SUBDIR0)power/cpupower/ $(QUIET_SUBDIR1) clean | 62 | $(call descend,power/cpupower,clean) |
| 63 | 63 | ||
| 64 | firewire_clean lguest_clean perf_clean usb_clean virtio_clean vm_clean: | 64 | firewire_clean lguest_clean perf_clean usb_clean virtio_clean vm_clean: |
| 65 | $(QUIET_SUBDIR0)$(@:_clean=)/ $(QUIET_SUBDIR1) clean | 65 | $(call descend,$(@:_clean=),clean) |
| 66 | 66 | ||
| 67 | selftests_clean: | 67 | selftests_clean: |
| 68 | $(QUIET_SUBDIR0)testing/$(@:_clean=)/ $(QUIET_SUBDIR1) clean | 68 | $(call descend,testing/$(@:_clean=),clean) |
| 69 | 69 | ||
| 70 | turbostat_clean x86_energy_perf_policy_clean: | 70 | turbostat_clean x86_energy_perf_policy_clean: |
| 71 | $(QUIET_SUBDIR0)power/x86/$(@:_clean=)/ $(QUIET_SUBDIR1) clean | 71 | $(call descend,power/x86/$(@:_clean=),clean) |
| 72 | 72 | ||
| 73 | clean: cpupower_clean firewire_clean lguest_clean perf_clean selftests_clean \ | 73 | clean: cpupower_clean firewire_clean lguest_clean perf_clean selftests_clean \ |
| 74 | turbostat_clean usb_clean virtio_clean vm_clean \ | 74 | turbostat_clean usb_clean virtio_clean vm_clean \ |
diff --git a/tools/perf/Makefile b/tools/perf/Makefile index cca5bb8334ad..a7c6aa8d4a8b 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile | |||
| @@ -422,7 +422,9 @@ LIB_OBJS += $(OUTPUT)util/intlist.o | |||
| 422 | LIB_OBJS += $(OUTPUT)util/vdso.o | 422 | LIB_OBJS += $(OUTPUT)util/vdso.o |
| 423 | LIB_OBJS += $(OUTPUT)util/stat.o | 423 | LIB_OBJS += $(OUTPUT)util/stat.o |
| 424 | 424 | ||
| 425 | LIB_OBJS += $(OUTPUT)ui/setup.o | ||
| 425 | LIB_OBJS += $(OUTPUT)ui/helpline.o | 426 | LIB_OBJS += $(OUTPUT)ui/helpline.o |
| 427 | LIB_OBJS += $(OUTPUT)ui/progress.o | ||
| 426 | LIB_OBJS += $(OUTPUT)ui/hist.o | 428 | LIB_OBJS += $(OUTPUT)ui/hist.o |
| 427 | LIB_OBJS += $(OUTPUT)ui/stdio/hist.o | 429 | LIB_OBJS += $(OUTPUT)ui/stdio/hist.o |
| 428 | 430 | ||
| @@ -431,6 +433,17 @@ LIB_OBJS += $(OUTPUT)arch/common.o | |||
| 431 | LIB_OBJS += $(OUTPUT)tests/parse-events.o | 433 | LIB_OBJS += $(OUTPUT)tests/parse-events.o |
| 432 | LIB_OBJS += $(OUTPUT)tests/dso-data.o | 434 | LIB_OBJS += $(OUTPUT)tests/dso-data.o |
| 433 | LIB_OBJS += $(OUTPUT)tests/attr.o | 435 | LIB_OBJS += $(OUTPUT)tests/attr.o |
| 436 | LIB_OBJS += $(OUTPUT)tests/vmlinux-kallsyms.o | ||
| 437 | LIB_OBJS += $(OUTPUT)tests/open-syscall.o | ||
| 438 | LIB_OBJS += $(OUTPUT)tests/open-syscall-all-cpus.o | ||
| 439 | LIB_OBJS += $(OUTPUT)tests/open-syscall-tp-fields.o | ||
| 440 | LIB_OBJS += $(OUTPUT)tests/mmap-basic.o | ||
| 441 | LIB_OBJS += $(OUTPUT)tests/perf-record.o | ||
| 442 | LIB_OBJS += $(OUTPUT)tests/rdpmc.o | ||
| 443 | LIB_OBJS += $(OUTPUT)tests/evsel-roundtrip-name.o | ||
| 444 | LIB_OBJS += $(OUTPUT)tests/evsel-tp-sched.o | ||
| 445 | LIB_OBJS += $(OUTPUT)tests/pmu.o | ||
| 446 | LIB_OBJS += $(OUTPUT)tests/util.o | ||
| 434 | 447 | ||
| 435 | BUILTIN_OBJS += $(OUTPUT)builtin-annotate.o | 448 | BUILTIN_OBJS += $(OUTPUT)builtin-annotate.o |
| 436 | BUILTIN_OBJS += $(OUTPUT)builtin-bench.o | 449 | BUILTIN_OBJS += $(OUTPUT)builtin-bench.o |
| @@ -600,17 +613,16 @@ ifndef NO_NEWT | |||
| 600 | BASIC_CFLAGS += -I/usr/include/slang | 613 | BASIC_CFLAGS += -I/usr/include/slang |
| 601 | BASIC_CFLAGS += -DNEWT_SUPPORT | 614 | BASIC_CFLAGS += -DNEWT_SUPPORT |
| 602 | EXTLIBS += -lnewt -lslang | 615 | EXTLIBS += -lnewt -lslang |
| 603 | LIB_OBJS += $(OUTPUT)ui/setup.o | ||
