Re: [GIT PULL 00/13] perf/core improvements and fixes
* Arnaldo Carvalho de Melowrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > Test results at the end of this message, as usual. > > The following changes since commit 1b2f76d77a277bb70d38ad0991ed7f16bbc115a9: > > Merge tag 'perf-core-for-mingo-4.14-20170829' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2017-08-29 23:13:56 +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-4.14-20170901 > > for you to fetch changes up to eba9fac017617e685d648339e29a1453a30cb065: > > perf annotate browser: Help for cycling thru hottest instructions with > TAB/shift+TAB (2017-09-01 14:55:40 -0300) > > > perf/core improvements and fixes: > > - Support syscall name glob matching in 'perf trace' (Arnaldo Carvalho de > Melo) > > e.g.: > ># perf trace -e pkey_* >32.784 (0.006 ms): pkey/16018 pkey_alloc(init_val: DISABLE_WRITE) = -1 > EINVAL Invalid argument >32.795 (0.004 ms): pkey/16018 pkey_mprotect(start: 0x7f380d0a6000, len: > 4096, prot: READ|WRITE, pkey: -1) = 0 >32.801 (0.002 ms): pkey/16018 pkey_free(pkey: -1) = -1 > EINVAL Invalid argument >^C# > > - Do not auto merge counts for explicitely specified events in > 'perf stat' (Arnaldo Carvalho de Melo) > > - Fix syntax in documentation of .perfconfig intel-pt option (Jack Henschel) > > - Calculate the average cycles of iterations for loops detected by the > branch history support in 'perf report' (Jin Yao) > > - Support PERF_SAMPLE_PHYS_ADDR as a sort key "phys_daddr" in the 'script', > 'mem', > 'top' and 'report'. Also add a test entry for it in 'perf test' (Kan Liang) > > - Fix 'Object code reading' 'perf test' entry in PowerPC (Ravi Bangoria) > > - Remove some duplicate Power9 duplicate vendor events (described in JSON > files) (Sukadev Bhattiprolu) > > - Add help entry in the TUI annotate browser about cycling thru hottest > instructions with TAB/shift+TAB (Arnaldo Carvalho de Melo) > > Signed-off-by: Arnaldo Carvalho de Melo > > > Arnaldo Carvalho de Melo (4): > perf syscalltbl: Support glob matching on syscall names > perf trace: Support syscall name globbing > perf stat: Only auto-merge events that are PMU aliases > perf annotate browser: Help for cycling thru hottest instructions with > TAB/shift+TAB > > Jack Henschel (1): > perf intel-pt: Fix syntax in documentation of config option > > Jin Yao (1): > perf report: Calculate the average cycles of iterations > > Kan Liang (5): > perf tools: Support new sample type for physical address > perf sort: Add sort option for physical address > perf mem: Support physical address > perf script: Support physical address > perf test: Add test case for PERF_SAMPLE_PHYS_ADDR > > Ravi Bangoria (1): > perf test powerpc: Fix 'Object code reading' test > > Sukadev Bhattiprolu (1): > perf vendor events powerpc: Remove duplicate events > > tools/include/uapi/linux/perf_event.h | 4 +- > tools/perf/Documentation/intel-pt.txt | 2 +- > tools/perf/Documentation/perf-mem.txt | 4 + > tools/perf/Documentation/perf-record.txt | 5 +- > tools/perf/Documentation/perf-report.txt | 1 + > tools/perf/Documentation/perf-script.txt | 2 +- > tools/perf/Documentation/perf-trace.txt| 2 +- > tools/perf/builtin-mem.c | 97 - > tools/perf/builtin-record.c| 2 + > tools/perf/builtin-script.c| 15 ++- > tools/perf/builtin-stat.c | 2 +- > tools/perf/builtin-trace.c | 39 ++- > tools/perf/perf.h | 1 + > .../pmu-events/arch/powerpc/power9/frontend.json | 7 +- > .../perf/pmu-events/arch/powerpc/power9/other.json | 120 > - > .../pmu-events/arch/powerpc/power9/pipeline.json | 7 +- > tools/perf/pmu-events/arch/powerpc/power9/pmc.json | 7 +- > tools/perf/tests/code-reading.c| 5 + > tools/perf/tests/sample-parsing.c | 6 +- > tools/perf/ui/browsers/annotate.c | 3 +- > tools/perf/ui/browsers/hists.c | 8 +- > tools/perf/ui/stdio/hist.c | 10 +- > tools/perf/util/callchain.c| 49 - > tools/perf/util/callchain.h| 9 +- > tools/perf/util/event.h| 1 + > tools/perf/util/evsel.c| 19 +++- > tools/perf/util/evsel.h| 1 + >
[GIT PULL 00/13] perf/core improvements and fixes
Hi Ingo, Please consider pulling, - Arnaldo Test results at the end of this message, as usual. The following changes since commit 1b2f76d77a277bb70d38ad0991ed7f16bbc115a9: Merge tag 'perf-core-for-mingo-4.14-20170829' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2017-08-29 23:13:56 +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-4.14-20170901 for you to fetch changes up to eba9fac017617e685d648339e29a1453a30cb065: perf annotate browser: Help for cycling thru hottest instructions with TAB/shift+TAB (2017-09-01 14:55:40 -0300) perf/core improvements and fixes: - Support syscall name glob matching in 'perf trace' (Arnaldo Carvalho de Melo) e.g.: # perf trace -e pkey_* 32.784 (0.006 ms): pkey/16018 pkey_alloc(init_val: DISABLE_WRITE) = -1 EINVAL Invalid argument 32.795 (0.004 ms): pkey/16018 pkey_mprotect(start: 0x7f380d0a6000, len: 4096, prot: READ|WRITE, pkey: -1) = 0 32.801 (0.002 ms): pkey/16018 pkey_free(pkey: -1) = -1 EINVAL Invalid argument ^C# - Do not auto merge counts for explicitely specified events in 'perf stat' (Arnaldo Carvalho de Melo) - Fix syntax in documentation of .perfconfig intel-pt option (Jack Henschel) - Calculate the average cycles of iterations for loops detected by the branch history support in 'perf report' (Jin Yao) - Support PERF_SAMPLE_PHYS_ADDR as a sort key "phys_daddr" in the 'script', 'mem', 'top' and 'report'. Also add a test entry for it in 'perf test' (Kan Liang) - Fix 'Object code reading' 'perf test' entry in PowerPC (Ravi Bangoria) - Remove some duplicate Power9 duplicate vendor events (described in JSON files) (Sukadev Bhattiprolu) - Add help entry in the TUI annotate browser about cycling thru hottest instructions with TAB/shift+TAB (Arnaldo Carvalho de Melo) Signed-off-by: Arnaldo Carvalho de MeloArnaldo Carvalho de Melo (4): perf syscalltbl: Support glob matching on syscall names perf trace: Support syscall name globbing perf stat: Only auto-merge events that are PMU aliases perf annotate browser: Help for cycling thru hottest instructions with TAB/shift+TAB Jack Henschel (1): perf intel-pt: Fix syntax in documentation of config option Jin Yao (1): perf report: Calculate the average cycles of iterations Kan Liang (5): perf tools: Support new sample type for physical address perf sort: Add sort option for physical address perf mem: Support physical address perf script: Support physical address perf test: Add test case for PERF_SAMPLE_PHYS_ADDR Ravi Bangoria (1): perf test powerpc: Fix 'Object code reading' test Sukadev Bhattiprolu (1): perf vendor events powerpc: Remove duplicate events tools/include/uapi/linux/perf_event.h | 4 +- tools/perf/Documentation/intel-pt.txt | 2 +- tools/perf/Documentation/perf-mem.txt | 4 + tools/perf/Documentation/perf-record.txt | 5 +- tools/perf/Documentation/perf-report.txt | 1 + tools/perf/Documentation/perf-script.txt | 2 +- tools/perf/Documentation/perf-trace.txt| 2 +- tools/perf/builtin-mem.c | 97 - tools/perf/builtin-record.c| 2 + tools/perf/builtin-script.c| 15 ++- tools/perf/builtin-stat.c | 2 +- tools/perf/builtin-trace.c | 39 ++- tools/perf/perf.h | 1 + .../pmu-events/arch/powerpc/power9/frontend.json | 7 +- .../perf/pmu-events/arch/powerpc/power9/other.json | 120 - .../pmu-events/arch/powerpc/power9/pipeline.json | 7 +- tools/perf/pmu-events/arch/powerpc/power9/pmc.json | 7 +- tools/perf/tests/code-reading.c| 5 + tools/perf/tests/sample-parsing.c | 6 +- tools/perf/ui/browsers/annotate.c | 3 +- tools/perf/ui/browsers/hists.c | 8 +- tools/perf/ui/stdio/hist.c | 10 +- tools/perf/util/callchain.c| 49 - tools/perf/util/callchain.h| 9 +- tools/perf/util/event.h| 1 + tools/perf/util/evsel.c| 19 +++- tools/perf/util/evsel.h| 1 + tools/perf/util/hist.c | 4 + tools/perf/util/hist.h | 1 + tools/perf/util/machine.c | 96 ++--- tools/perf/util/parse-events.c | 24 +++-- tools/perf/util/session.c
Re: [GIT PULL 00/13] perf/core improvements and fixes
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit a9a3cd900fbbcbf837d65653105e7bfc583ced09: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-06-20 01:11:11 +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 83b2ea257eb1d43e52f76d756722aeb899a2852c: perf tools: Allow auxtrace data alignment (2015-06-23 18:28:37 -0300) perf/core improvements and fixes: User visible: - Move toggling event logic from 'perf top' and into hists browser, allowing freeze/unfreeze with event lists with more than one entry (Namhyung Kim) - Add missing newlines when dumping PERF_RECORD_FINISHED_ROUND and showing the Aggregated stats in 'perf report -D' (Adrian Hunter) Infrastructure: - Allow auxtrace data alignment (Adrian Hunter) - Allow events with dot (Andi Kleen) - Fix failure to 'perf probe' events on arm (He Kuang) - Add testing for Makefile.perf (Jiri Olsa) - Add test for make install with prefix (Jiri Olsa) - Fix single target build dependency check (Jiri Olsa) - Access thread_map entries via accessors, prep patch to hold more info per entry, for ongoing 'perf stat --per-thread' work (Jiri Olsa) - Use __weak definition from compiler.h (Sukadev Bhattiprolu) - Split perf_pmu__new_alias() (Sukadev Bhattiprolu) Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com Adrian Hunter (3): perf session: Print a newline when dumping PERF_RECORD_FINISHED_ROUND perf tools: Print a newline before dumping Aggregated stats perf tools: Allow auxtrace data alignment Andi Kleen (1): perf tools: Allow events with dot He Kuang (1): perf probe: Fix failure to probe events on arm Jiri Olsa (5): perf tests: Add testing for Makefile.perf perf tests: Add test for make install with prefix perf build: Fix single target build dependency check perf thread_map: Don't access the array entries directly perf thread_map: Change map entries into a struct Namhyung Kim (1): perf top: Move toggling event logic into hists browser Sukadev Bhattiprolu (2): perf pmu: Use __weak definition from linux/compiler.h perf pmu: Split perf_pmu__new_alias() tools/perf/Makefile | 4 +-- tools/perf/builtin-top.c| 24 ++- tools/perf/builtin-trace.c | 4 +-- tools/perf/tests/make | 31 ++-- tools/perf/tests/openat-syscall-tp-fields.c | 2 +- tools/perf/ui/browsers/hists.c | 19 ++-- tools/perf/util/auxtrace.c | 11 +-- tools/perf/util/auxtrace.h | 1 + tools/perf/util/event.c | 6 ++-- tools/perf/util/evlist.c| 4 +-- tools/perf/util/evsel.c | 2 +- tools/perf/util/parse-events.l | 5 ++-- tools/perf/util/pmu.c | 45 +++-- tools/perf/util/probe-event.c | 6 +++- tools/perf/util/session.c | 4 ++- tools/perf/util/thread_map.c| 24 --- tools/perf/util/thread_map.h| 16 +- 17 files changed, 136 insertions(+), 72 deletions(-) Pulled, thanks a lot Arnaldo! Btw., one small thing I noticed about the status line in perf top: if I ever use 'f' to freeze/unfreeze events, the following message: Press 'f' to disable the events or 'h' to see other hotkeys sticks around forever, even after I look into annotation and exit it, etc. So I don't mind some default, helpful message there (such as 'Press 'h' to see hotkeys'), but it appears this particular message is context and usage sensitive, which wasn't really the goal, right? Thanks, Ingo ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [GIT PULL 00/13] perf/core improvements and fixes
Em Thu, Jun 25, 2015 at 09:31:41AM +0200, Ingo Molnar escreveu: Pulled, thanks a lot Arnaldo! Btw., one small thing I noticed about the status line in perf top: if I ever use 'f' to freeze/unfreeze events, the following message: Press 'f' to disable the events or 'h' to see other hotkeys sticks around forever, even after I look into annotation and exit it, etc. So I don't mind some default, helpful message there (such as 'Press 'h' to see hotkeys'), but it appears this particular message is context and usage sensitive, which wasn't really the goal, right? Agreed, some more work is needed to change that message in more places, will do it eventually. - Arnaldo ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
[GIT PULL 00/13] perf/core improvements and fixes
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit a9a3cd900fbbcbf837d65653105e7bfc583ced09: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-06-20 01:11:11 +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 83b2ea257eb1d43e52f76d756722aeb899a2852c: perf tools: Allow auxtrace data alignment (2015-06-23 18:28:37 -0300) perf/core improvements and fixes: User visible: - Move toggling event logic from 'perf top' and into hists browser, allowing freeze/unfreeze with event lists with more than one entry (Namhyung Kim) - Add missing newlines when dumping PERF_RECORD_FINISHED_ROUND and showing the Aggregated stats in 'perf report -D' (Adrian Hunter) Infrastructure: - Allow auxtrace data alignment (Adrian Hunter) - Allow events with dot (Andi Kleen) - Fix failure to 'perf probe' events on arm (He Kuang) - Add testing for Makefile.perf (Jiri Olsa) - Add test for make install with prefix (Jiri Olsa) - Fix single target build dependency check (Jiri Olsa) - Access thread_map entries via accessors, prep patch to hold more info per entry, for ongoing 'perf stat --per-thread' work (Jiri Olsa) - Use __weak definition from compiler.h (Sukadev Bhattiprolu) - Split perf_pmu__new_alias() (Sukadev Bhattiprolu) Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com Adrian Hunter (3): perf session: Print a newline when dumping PERF_RECORD_FINISHED_ROUND perf tools: Print a newline before dumping Aggregated stats perf tools: Allow auxtrace data alignment Andi Kleen (1): perf tools: Allow events with dot He Kuang (1): perf probe: Fix failure to probe events on arm Jiri Olsa (5): perf tests: Add testing for Makefile.perf perf tests: Add test for make install with prefix perf build: Fix single target build dependency check perf thread_map: Don't access the array entries directly perf thread_map: Change map entries into a struct Namhyung Kim (1): perf top: Move toggling event logic into hists browser Sukadev Bhattiprolu (2): perf pmu: Use __weak definition from linux/compiler.h perf pmu: Split perf_pmu__new_alias() tools/perf/Makefile | 4 +-- tools/perf/builtin-top.c| 24 ++- tools/perf/builtin-trace.c | 4 +-- tools/perf/tests/make | 31 ++-- tools/perf/tests/openat-syscall-tp-fields.c | 2 +- tools/perf/ui/browsers/hists.c | 19 ++-- tools/perf/util/auxtrace.c | 11 +-- tools/perf/util/auxtrace.h | 1 + tools/perf/util/event.c | 6 ++-- tools/perf/util/evlist.c| 4 +-- tools/perf/util/evsel.c | 2 +- tools/perf/util/parse-events.l | 5 ++-- tools/perf/util/pmu.c | 45 +++-- tools/perf/util/probe-event.c | 6 +++- tools/perf/util/session.c | 4 ++- tools/perf/util/thread_map.c| 24 --- tools/perf/util/thread_map.h| 16 +- 17 files changed, 136 insertions(+), 72 deletions(-) ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev