2012-04-11 20:36:16 +04:00
|
|
|
include scripts/Makefile.include
|
|
|
|
|
2012-04-11 20:36:17 +04:00
|
|
|
help:
|
|
|
|
@echo 'Possible targets:'
|
|
|
|
@echo ''
|
2013-01-05 01:05:17 +04:00
|
|
|
@echo ' cgroup - cgroup tools'
|
2012-04-11 20:36:17 +04:00
|
|
|
@echo ' cpupower - a tool for all things x86 CPU power'
|
|
|
|
@echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
|
|
|
|
@echo ' lguest - a minimal 32-bit x86 hypervisor'
|
|
|
|
@echo ' perf - Linux performance measurement and analysis tool'
|
|
|
|
@echo ' selftests - various kernel selftests'
|
|
|
|
@echo ' turbostat - Intel CPU idle stats and freq reporting tool'
|
|
|
|
@echo ' usb - USB testing tools'
|
|
|
|
@echo ' virtio - vhost test module'
|
|
|
|
@echo ' vm - misc vm tools'
|
|
|
|
@echo ' x86_energy_perf_policy - Intel energy policy tool'
|
|
|
|
@echo ''
|
2012-04-11 20:36:18 +04:00
|
|
|
@echo 'You can do:'
|
2013-01-29 14:48:11 +04:00
|
|
|
@echo ' $$ make -C tools/ <tool>_install'
|
2012-04-11 20:36:18 +04:00
|
|
|
@echo ''
|
|
|
|
@echo ' from the kernel command line to build and install one of'
|
|
|
|
@echo ' the tools above'
|
|
|
|
@echo ''
|
|
|
|
@echo ' $$ make tools/install'
|
|
|
|
@echo ''
|
|
|
|
@echo ' installs all tools.'
|
|
|
|
@echo ''
|
2012-04-11 20:36:17 +04:00
|
|
|
@echo 'Cleaning targets:'
|
|
|
|
@echo ''
|
|
|
|
@echo ' all of the above with the "_clean" string appended cleans'
|
|
|
|
@echo ' the respective build directory.'
|
|
|
|
@echo ' clean: a summary clean target to clean _all_ folders'
|
|
|
|
|
2012-04-11 20:36:16 +04:00
|
|
|
cpupower: FORCE
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,power/$@)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
perf/core improvements and fixes:
. Honor parallel jobs, fix from Borislav Petkov
. Introduce tools/lib/lk library, initially just removing duplication
among tools/perf and tools/vm. from Borislav Petkov
. Fix build on non-glibc systems due to libio.h absence, from Cody P Schafer.
. Remove some perf_session and tracing dead code, from David Ahern.
. Introduce perf stat --repeat forever, from Frederik Deweerdt.
. Add perf test entries for checking --cpu in record and stat, from Jiri Olsa.
. Add perf test entries for checking breakpoint overflow signal handler issues,
from Jiri Olsa.
. Add perf test entry for for checking number of EXIT events, from Namhyung Kim.
. Simplify some perf_evlist methods and to allow 'stat' to share code with
'record' and 'trace'.
. Remove dead code in related to libtraceevent integration, from Namhyung Kim.
. Event group view for 'annotate' in --stdio, --tui and --gtk, from Namhyung Kim.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iQIcBAABAgAGBQJRRzSdAAoJENZQFvNTUqpA7zoP/jG/sMD4h1TfXjZr5PXKNunh
6XHluOh9ndIWFnvUffU5UbYFyRQml9Djjs7wewqBJCdDm6IDOwtTIz/5Eo5ubADY
Bu27R8+WbgwsklRCYpdnYO8rJ88sqT9NQYhrtgaaq5UCtGosGsIQUnvjqY8BYILv
yiNwARpaVZwUEd01ZVxKjriPo6fXftLo05NgC/gRrC81TzTwgRAhioWETVG8gxYK
8ta/Q5ITU5oJbq9cIMPHgWzj17JI2rDC4dtTdW0uGqK1/5fkDhg/B1lGmMAXKJG/
wh5EpbcK/Ce6Mns84g31jO1MfQjXWqBmv3EjqsBeDWbVnh02qo5Ej0ktswXTA7C4
5aV3tvAgeWQc9xjiCoJjeSjX02ypABu/uzaOGt1uFvSsBZ1vPUzXSQj6BwUBlElI
ojbNSprDRQW56hwcFEzMH2UIOeWzfPCX6sAPK8Wx++tas3PpY3dn/pBZUeU2IlH8
vr7QqieIdGn/l2j0bsuqHt04r8t/q7tkwX09zAn42jNF5//ZRLx3KuQ5kyaKjGSj
+S+h2crQm07GwNmRtvIF4gA+/22cu0NhHvlLgZUsuiw01vezkS2v/XDupChjyaMl
OU9/4XUopwf9FSQ5OCKh7QpL6TFXawUgcKF1ooh5DY33qLX934vXPhygiqSOrMaQ
bHtB+Q2SJUy8KJT5m+Cw
=mrYT
-----END PGP SIGNATURE-----
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Conflicts:
tools/Makefile
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
. Honor parallel jobs, fix from Borislav Petkov
. Introduce tools/lib/lk library, initially just removing duplication
among tools/perf and tools/vm. from Borislav Petkov
. Fix build on non-glibc systems due to libio.h absence, from Cody P Schafer.
. Remove some perf_session and tracing dead code, from David Ahern.
. Introduce perf stat --repeat forever, from Frederik Deweerdt.
. Add perf test entries for checking --cpu in record and stat, from Jiri Olsa.
. Add perf test entries for checking breakpoint overflow signal handler issues,
from Jiri Olsa.
. Add perf test entry for for checking number of EXIT events, from Namhyung Kim.
. Simplify some perf_evlist methods and to allow 'stat' to share code with
'record' and 'trace'.
. Remove dead code in related to libtraceevent integration, from Namhyung Kim.
. Event group view for 'annotate' in --stdio, --tui and --gtk, from Namhyung Kim.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
[ resolved the trivial merge conflict with upstream ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2013-03-21 14:06:12 +04:00
|
|
|
cgroup firewire guest usb virtio vm: FORCE
|
2013-02-20 19:32:30 +04:00
|
|
|
$(call descend,$@)
|
|
|
|
|
|
|
|
liblk: FORCE
|
|
|
|
$(call descend,lib/lk)
|
|
|
|
|
|
|
|
perf: liblk FORCE
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,$@)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
|
|
|
selftests: FORCE
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,testing/$@)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
|
|
|
turbostat x86_energy_perf_policy: FORCE
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,power/x86/$@)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
|
|
|
cpupower_install:
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,power/$(@:_install=),install)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
2013-01-05 01:05:17 +04:00
|
|
|
cgroup_install firewire_install lguest_install perf_install usb_install virtio_install vm_install:
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,$(@:_install=),install)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
|
|
|
selftests_install:
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,testing/$(@:_clean=),install)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
|
|
|
turbostat_install x86_energy_perf_policy_install:
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,power/x86/$(@:_install=),install)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
2013-01-05 01:05:17 +04:00
|
|
|
install: cgroup_install cpupower_install firewire_install lguest_install \
|
|
|
|
perf_install selftests_install turbostat_install usb_install \
|
|
|
|
virtio_install vm_install x86_energy_perf_policy_install
|
2012-04-11 20:36:16 +04:00
|
|
|
|
|
|
|
cpupower_clean:
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,power/cpupower,clean)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
perf/core improvements and fixes:
. Honor parallel jobs, fix from Borislav Petkov
. Introduce tools/lib/lk library, initially just removing duplication
among tools/perf and tools/vm. from Borislav Petkov
. Fix build on non-glibc systems due to libio.h absence, from Cody P Schafer.
. Remove some perf_session and tracing dead code, from David Ahern.
. Introduce perf stat --repeat forever, from Frederik Deweerdt.
. Add perf test entries for checking --cpu in record and stat, from Jiri Olsa.
. Add perf test entries for checking breakpoint overflow signal handler issues,
from Jiri Olsa.
. Add perf test entry for for checking number of EXIT events, from Namhyung Kim.
. Simplify some perf_evlist methods and to allow 'stat' to share code with
'record' and 'trace'.
. Remove dead code in related to libtraceevent integration, from Namhyung Kim.
. Event group view for 'annotate' in --stdio, --tui and --gtk, from Namhyung Kim.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
iQIcBAABAgAGBQJRRzSdAAoJENZQFvNTUqpA7zoP/jG/sMD4h1TfXjZr5PXKNunh
6XHluOh9ndIWFnvUffU5UbYFyRQml9Djjs7wewqBJCdDm6IDOwtTIz/5Eo5ubADY
Bu27R8+WbgwsklRCYpdnYO8rJ88sqT9NQYhrtgaaq5UCtGosGsIQUnvjqY8BYILv
yiNwARpaVZwUEd01ZVxKjriPo6fXftLo05NgC/gRrC81TzTwgRAhioWETVG8gxYK
8ta/Q5ITU5oJbq9cIMPHgWzj17JI2rDC4dtTdW0uGqK1/5fkDhg/B1lGmMAXKJG/
wh5EpbcK/Ce6Mns84g31jO1MfQjXWqBmv3EjqsBeDWbVnh02qo5Ej0ktswXTA7C4
5aV3tvAgeWQc9xjiCoJjeSjX02ypABu/uzaOGt1uFvSsBZ1vPUzXSQj6BwUBlElI
ojbNSprDRQW56hwcFEzMH2UIOeWzfPCX6sAPK8Wx++tas3PpY3dn/pBZUeU2IlH8
vr7QqieIdGn/l2j0bsuqHt04r8t/q7tkwX09zAn42jNF5//ZRLx3KuQ5kyaKjGSj
+S+h2crQm07GwNmRtvIF4gA+/22cu0NhHvlLgZUsuiw01vezkS2v/XDupChjyaMl
OU9/4XUopwf9FSQ5OCKh7QpL6TFXawUgcKF1ooh5DY33qLX934vXPhygiqSOrMaQ
bHtB+Q2SJUy8KJT5m+Cw
=mrYT
-----END PGP SIGNATURE-----
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Conflicts:
tools/Makefile
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
. Honor parallel jobs, fix from Borislav Petkov
. Introduce tools/lib/lk library, initially just removing duplication
among tools/perf and tools/vm. from Borislav Petkov
. Fix build on non-glibc systems due to libio.h absence, from Cody P Schafer.
. Remove some perf_session and tracing dead code, from David Ahern.
. Introduce perf stat --repeat forever, from Frederik Deweerdt.
. Add perf test entries for checking --cpu in record and stat, from Jiri Olsa.
. Add perf test entries for checking breakpoint overflow signal handler issues,
from Jiri Olsa.
. Add perf test entry for for checking number of EXIT events, from Namhyung Kim.
. Simplify some perf_evlist methods and to allow 'stat' to share code with
'record' and 'trace'.
. Remove dead code in related to libtraceevent integration, from Namhyung Kim.
. Event group view for 'annotate' in --stdio, --tui and --gtk, from Namhyung Kim.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
[ resolved the trivial merge conflict with upstream ]
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2013-03-21 14:06:12 +04:00
|
|
|
cgroup_clean firewire_clean lguest_clean usb_clean virtio_clean vm_clean:
|
2013-02-20 19:32:30 +04:00
|
|
|
$(call descend,$(@:_clean=),clean)
|
|
|
|
|
|
|
|
liblk_clean:
|
|
|
|
$(call descend,lib/lk,clean)
|
|
|
|
|
|
|
|
perf_clean: liblk_clean
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,$(@:_clean=),clean)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
|
|
|
selftests_clean:
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,testing/$(@:_clean=),clean)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
|
|
|
turbostat_clean x86_energy_perf_policy_clean:
|
2012-11-05 19:15:24 +04:00
|
|
|
$(call descend,power/x86/$(@:_clean=),clean)
|
2012-04-11 20:36:16 +04:00
|
|
|
|
2013-01-05 01:05:17 +04:00
|
|
|
clean: cgroup_clean cpupower_clean firewire_clean lguest_clean perf_clean \
|
|
|
|
selftests_clean turbostat_clean usb_clean virtio_clean \
|
|
|
|
vm_clean x86_energy_perf_policy_clean
|
2012-04-11 20:36:16 +04:00
|
|
|
|
|
|
|
.PHONY: FORCE
|