Re: [GIT PULL 00/16] perf/core improvements and fixes
* Arnaldo Carvalho de Melowrote: > Hi Ingo, > > This is on top of the previously submitted perf-core-for-mingo tag, > please consider applying, > > - Arnaldo > > The following changes since commit 5ac76283b32b116c58e362e99542182ddcfc8262: > > perf cpumap: Auto initialize cpu__max_{node,cpu} (2016-01-26 16:08:36 -0300) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-2 > > for you to fetch changes up to 814568db641f6587c1e98a3a85f214cb6a30fe10: > > perf build: Align the names of the build tests: (2016-01-29 17:51:04 -0300) > > > New features: > > - Port 'perf kvm stat' to PowerPC (Hemant Kumar) > > Infrastructure: > > - Use the 'feature-dump' target to do the feature checks just once and then > add code to reuse that in the tests/make makefile, speeding up the > 'make -C tools/perf build-test' target (Wang Nan) > > - Reduce the number of tests the 'build-test' target do to those that don't > pollute the source tree (Arnaldo Carvalho de Melo) > > - Improve the output of the build tests a bit by aligning the name of the > tests, more can be done to filter out uninteresting info in the output > (Arnaldo Carvalho de Melo) > > - Add perf_evlist pointer to *info_priv_size(), more prep work for > supporting the coresight architecture (Mathieu Poirier) > > - Improve the 'perf test bp_signal' test (Wang Nan) > > - Check environment before starting the BPF 'perf test', so that we can just > 'Skip' older kernels instead of 'FAIL'ing them (Wang Nan) > > - Fix cpumode of synthesized buildid event (Wang Nan) > > Signed-off-by: Arnaldo Carvalho de Melo > > > Arnaldo Carvalho de Melo (2): > perf tools: Speed up build-tests by reducing the number of builds tested > perf build: Align the names of the build tests: > > Hemant Kumar (4): > perf kvm/{x86,s390}: Remove dependency on uapi/kvm_perf.h > perf kvm/{x86,s390}: Remove const from kvm_events_tp > perf kvm/powerpc: Port perf kvm stat to powerpc > perf kvm/powerpc: Add support for HCALL reasons > > Jiri Olsa (1): > perf build: Fix feature-dump checks, we need to test all features > > Mathieu Poirier (1): > perf auxtrace: Add perf_evlist pointer to *info_priv_size() > > Wang Nan (8): > tools build: Check basic headers for test-compile feature checker > perf build: Remove all condition feature check {C,LD}FLAGS > perf build: Use feature dump file for build-test > perf buildid: Fix cpumode of buildid event > perf test: Check environment before start real BPF test > perf test: Improve bp_signal > perf tools: Move timestamp creation to util > perf record: Use OPT_BOOLEAN_SET for buildid cache related options > > tools/build/Makefile.feature | 8 ++ > tools/build/feature/test-compile.c | 2 + > tools/perf/Makefile| 11 +- > tools/perf/arch/powerpc/Makefile | 2 + > tools/perf/arch/powerpc/util/Build | 1 + > tools/perf/arch/powerpc/util/book3s_hcalls.h | 123 ++ > tools/perf/arch/powerpc/util/book3s_hv_exits.h | 33 + > tools/perf/arch/powerpc/util/kvm-stat.c| 170 > + > tools/perf/arch/s390/util/kvm-stat.c | 10 +- > tools/perf/arch/x86/util/intel-bts.c | 4 +- > tools/perf/arch/x86/util/intel-pt.c| 4 +- > tools/perf/arch/x86/util/kvm-stat.c| 16 ++- > tools/perf/builtin-buildid-cache.c | 14 +- > tools/perf/builtin-kvm.c | 38 -- > tools/perf/builtin-record.c| 12 +- > tools/perf/config/Makefile | 101 +++ > tools/perf/tests/bp_signal.c | 140 > tools/perf/tests/bpf.c | 37 ++ > tools/perf/tests/make | 39 +- > tools/perf/util/auxtrace.c | 7 +- > tools/perf/util/auxtrace.h | 6 +- > tools/perf/util/build-id.c | 6 +- > tools/perf/util/kvm-stat.h | 8 +- > tools/perf/util/util.c | 17 +++ > tools/perf/util/util.h | 1 + > 25 files changed, 688 insertions(+), 122 deletions(-) > create mode 100644 tools/perf/arch/powerpc/util/book3s_hcalls.h > create mode 100644 tools/perf/arch/powerpc/util/book3s_hv_exits.h > create mode 100644 tools/perf/arch/powerpc/util/kvm-stat.c Pulled, thanks a lot Arnaldo! Ingo ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org
[GIT PULL 00/16] perf/core improvements and fixes
See http://www.infradead.org/rpr.html Hi Ingo, This is on top of the previously submitted perf-core-for-mingo tag, please consider applying, - Arnaldo The following changes since commit 5ac76283b32b116c58e362e99542182ddcfc8262: perf cpumap: Auto initialize cpu__max_{node,cpu} (2016-01-26 16:08:36 -0300) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-2 for you to fetch changes up to 814568db641f6587c1e98a3a85f214cb6a30fe10: perf build: Align the names of the build tests: (2016-01-29 17:51:04 -0300) New features: - Port 'perf kvm stat' to PowerPC (Hemant Kumar) Infrastructure: - Use the 'feature-dump' target to do the feature checks just once and then add code to reuse that in the tests/make makefile, speeding up the 'make -C tools/perf build-test' target (Wang Nan) - Reduce the number of tests the 'build-test' target do to those that don't pollute the source tree (Arnaldo Carvalho de Melo) - Improve the output of the build tests a bit by aligning the name of the tests, more can be done to filter out uninteresting info in the output (Arnaldo Carvalho de Melo) - Add perf_evlist pointer to *info_priv_size(), more prep work for supporting the coresight architecture (Mathieu Poirier) - Improve the 'perf test bp_signal' test (Wang Nan) - Check environment before starting the BPF 'perf test', so that we can just 'Skip' older kernels instead of 'FAIL'ing them (Wang Nan) - Fix cpumode of synthesized buildid event (Wang Nan) Signed-off-by: Arnaldo Carvalho de MeloArnaldo Carvalho de Melo (2): perf tools: Speed up build-tests by reducing the number of builds tested perf build: Align the names of the build tests: Hemant Kumar (4): perf kvm/{x86,s390}: Remove dependency on uapi/kvm_perf.h perf kvm/{x86,s390}: Remove const from kvm_events_tp perf kvm/powerpc: Port perf kvm stat to powerpc perf kvm/powerpc: Add support for HCALL reasons Jiri Olsa (1): perf build: Fix feature-dump checks, we need to test all features Mathieu Poirier (1): perf auxtrace: Add perf_evlist pointer to *info_priv_size() Wang Nan (8): tools build: Check basic headers for test-compile feature checker perf build: Remove all condition feature check {C,LD}FLAGS perf build: Use feature dump file for build-test perf buildid: Fix cpumode of buildid event perf test: Check environment before start real BPF test perf test: Improve bp_signal perf tools: Move timestamp creation to util perf record: Use OPT_BOOLEAN_SET for buildid cache related options tools/build/Makefile.feature | 8 ++ tools/build/feature/test-compile.c | 2 + tools/perf/Makefile| 11 +- tools/perf/arch/powerpc/Makefile | 2 + tools/perf/arch/powerpc/util/Build | 1 + tools/perf/arch/powerpc/util/book3s_hcalls.h | 123 ++ tools/perf/arch/powerpc/util/book3s_hv_exits.h | 33 + tools/perf/arch/powerpc/util/kvm-stat.c| 170 + tools/perf/arch/s390/util/kvm-stat.c | 10 +- tools/perf/arch/x86/util/intel-bts.c | 4 +- tools/perf/arch/x86/util/intel-pt.c| 4 +- tools/perf/arch/x86/util/kvm-stat.c| 16 ++- tools/perf/builtin-buildid-cache.c | 14 +- tools/perf/builtin-kvm.c | 38 -- tools/perf/builtin-record.c| 12 +- tools/perf/config/Makefile | 101 +++ tools/perf/tests/bp_signal.c | 140 tools/perf/tests/bpf.c | 37 ++ tools/perf/tests/make | 39 +- tools/perf/util/auxtrace.c | 7 +- tools/perf/util/auxtrace.h | 6 +- tools/perf/util/build-id.c | 6 +- tools/perf/util/kvm-stat.h | 8 +- tools/perf/util/util.c | 17 +++ tools/perf/util/util.h | 1 + 25 files changed, 688 insertions(+), 122 deletions(-) create mode 100644 tools/perf/arch/powerpc/util/book3s_hcalls.h create mode 100644 tools/perf/arch/powerpc/util/book3s_hv_exits.h create mode 100644 tools/perf/arch/powerpc/util/kvm-stat.c ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [GIT PULL 00/16] perf/core improvements and fixes
* Arnaldo Carvalho de Melowrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 9c17dbc6eb73bdd8a6aaea1baefd37ff78d86148: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2015-09-29 09:43:46 +0200) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo > > for you to fetch changes up to 7f8d1ade1b19f684ed3a7c4fb1dc5d347127b438: > > perf tools: By default use the most precise "cycles" hw counter available > (2015-09-30 18:34:39 -0300) > > > perf/core improvements and fixes: > > User visible: > > - By default use the most precise "cycles" hw counter available, i.e. > when the user doesn't specify any event, it will try using cycles:ppp, > cycles:pp, etc (Arnaldo Carvalho de Melo) That looks really useful! > - Remove blank lines, headers when piping output in 'perf list', so that it > can > be sanely used with 'wc -l', etc (Arnaldo Carvalho de Melo) > > - Amend documentation about max_stack and synthesized callchains (Adrian > Hunter) > > - Fix 'perf probe -l' for probes added to kernel module functions (Masami > Hiramatsu) > > Build fixes: > > - Fix shadowed declarations that break the build on older distros (Jiri Olsa) > > - Fix build break on powerpc due to sample_reg_masks (Sukadev Bhattiprolu) > > Signed-off-by: Arnaldo Carvalho de Melo > > > Adrian Hunter (1): > perf report: Amend documentation about max_stack and synthesized > callchains > > Arnaldo Carvalho de Melo (7): > perf maps: Introduce maps__find_symbol_by_name() > perf machine: Use machine__kernel_map() thoroughly > perf machine: Add method for common kernel_map(FUNCTION) operation > tools lib symbol: Rename kallsyms2elf_type to kallsyms2elf_binding > tools lib symbol: Introduce kallsyms2elf_type > perf list: Remove blank lines, headers when piping output > perf tools: By default use the most precise "cycles" hw counter > available > > Jiri Olsa (2): > tools: Fix shadowed declaration in err.h > perf tools: Fix shadowed declaration in parse-events.c > > Masami Hiramatsu (5): > perf probe: Fix to remove dot suffix from second or latter events > perf probe: Begin and end libdwfl report session correctly > perf probe: Show correct source lines of probes on kmodules > perf probe: Fix a segfault bug in debuginfo_cache > perf probe: Improve error message when %return is on inlined function > > Sukadev Bhattiprolu (1): > perf tools: Fix build break on powerpc due to sample_reg_masks > > tools/include/linux/err.h| 4 +- > tools/lib/symbol/kallsyms.c | 6 ++ > tools/lib/symbol/kallsyms.h | 4 +- > tools/perf/Documentation/perf-report.txt | 2 + > tools/perf/builtin-kmem.c| 2 +- > tools/perf/builtin-list.c| 2 +- > tools/perf/builtin-report.c | 2 +- > tools/perf/tests/code-reading.c | 2 +- > tools/perf/tests/vmlinux-kallsyms.c | 4 +- > tools/perf/util/Build| 2 +- > tools/perf/util/event.c | 7 +-- > tools/perf/util/evlist.c | 22 +++- > tools/perf/util/intel-pt.c | 2 +- > tools/perf/util/machine.c| 26 - > tools/perf/util/machine.h| 8 ++- > tools/perf/util/map.c| 21 --- > tools/perf/util/map.h| 2 + > tools/perf/util/parse-events.c | 53 +- > tools/perf/util/perf_regs.c | 2 + > tools/perf/util/perf_regs.h | 1 + > tools/perf/util/pmu.c| 2 +- > tools/perf/util/probe-event.c| 96 > > tools/perf/util/probe-finder.c | 58 +-- > tools/perf/util/symbol.c | 2 +- > 24 files changed, 224 insertions(+), 108 deletions(-) Pulled, thanks a lot Arnaldo! Ingo ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[GIT PULL 00/16] perf/core improvements and fixes
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 9c17dbc6eb73bdd8a6aaea1baefd37ff78d86148: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-09-29 09:43:46 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo for you to fetch changes up to 7f8d1ade1b19f684ed3a7c4fb1dc5d347127b438: perf tools: By default use the most precise "cycles" hw counter available (2015-09-30 18:34:39 -0300) perf/core improvements and fixes: User visible: - By default use the most precise "cycles" hw counter available, i.e. when the user doesn't specify any event, it will try using cycles:ppp, cycles:pp, etc (Arnaldo Carvalho de Melo) - Remove blank lines, headers when piping output in 'perf list', so that it can be sanely used with 'wc -l', etc (Arnaldo Carvalho de Melo) - Amend documentation about max_stack and synthesized callchains (Adrian Hunter) - Fix 'perf probe -l' for probes added to kernel module functions (Masami Hiramatsu) Build fixes: - Fix shadowed declarations that break the build on older distros (Jiri Olsa) - Fix build break on powerpc due to sample_reg_masks (Sukadev Bhattiprolu) Signed-off-by: Arnaldo Carvalho de MeloAdrian Hunter (1): perf report: Amend documentation about max_stack and synthesized callchains Arnaldo Carvalho de Melo (7): perf maps: Introduce maps__find_symbol_by_name() perf machine: Use machine__kernel_map() thoroughly perf machine: Add method for common kernel_map(FUNCTION) operation tools lib symbol: Rename kallsyms2elf_type to kallsyms2elf_binding tools lib symbol: Introduce kallsyms2elf_type perf list: Remove blank lines, headers when piping output perf tools: By default use the most precise "cycles" hw counter available Jiri Olsa (2): tools: Fix shadowed declaration in err.h perf tools: Fix shadowed declaration in parse-events.c Masami Hiramatsu (5): perf probe: Fix to remove dot suffix from second or latter events perf probe: Begin and end libdwfl report session correctly perf probe: Show correct source lines of probes on kmodules perf probe: Fix a segfault bug in debuginfo_cache perf probe: Improve error message when %return is on inlined function Sukadev Bhattiprolu (1): perf tools: Fix build break on powerpc due to sample_reg_masks tools/include/linux/err.h| 4 +- tools/lib/symbol/kallsyms.c | 6 ++ tools/lib/symbol/kallsyms.h | 4 +- tools/perf/Documentation/perf-report.txt | 2 + tools/perf/builtin-kmem.c| 2 +- tools/perf/builtin-list.c| 2 +- tools/perf/builtin-report.c | 2 +- tools/perf/tests/code-reading.c | 2 +- tools/perf/tests/vmlinux-kallsyms.c | 4 +- tools/perf/util/Build| 2 +- tools/perf/util/event.c | 7 +-- tools/perf/util/evlist.c | 22 +++- tools/perf/util/intel-pt.c | 2 +- tools/perf/util/machine.c| 26 - tools/perf/util/machine.h| 8 ++- tools/perf/util/map.c| 21 --- tools/perf/util/map.h| 2 + tools/perf/util/parse-events.c | 53 +- tools/perf/util/perf_regs.c | 2 + tools/perf/util/perf_regs.h | 1 + tools/perf/util/pmu.c| 2 +- tools/perf/util/probe-event.c| 96 tools/perf/util/probe-finder.c | 58 +-- tools/perf/util/symbol.c | 2 +- 24 files changed, 224 insertions(+), 108 deletions(-) ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev