[GIT PULL 00/31] 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 33801b94741d6c3be9713c10aa627477216c21e2: perf/core: Fix installing cgroup events on CPU (2018-03-12 15:28:51 +0100) 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.17-20180313 for you to fetch changes up to 1b442ed71f0b32d07db03efba150d4592875f988: perf test: Fix exit code for record+probe_libc_inet_pton.sh (2018-03-12 15:25:20 -0300) perf/core improvements and fixes: - Add support for pmu events vendor subdirectories, move vendor event files (JSON format) to "arm" and "cavium" subdirectories (John Garry) - Enable ThunderX2 B0 events in the "cavium" vendor event files (Ganapatrao Kulkarni) - Show zero counters as well in 'perf report --stat' (Ingo Molnar) - Record physical addresses in samples in 'perf c2c record', so that the NUMA node can be displayed for cacheline addresses (Jiri Olsa) - Fix kernel MMAP name setup when --vmlinux is used (Jiri Olsa) - Display llvm eBPF compiling command in debug output (Jiri Olsa) - Add libdw DWARF post unwind support for ARM64 (Jean Pihet, Kim Phillips) - Unwind with libdw doesn't take symfs into account (Martin Vuille) - Fix exit code for record+probe_libc_inet_pton.sh 'perf test' entry (Sandipan Das) - Fix code dump when using transaction events with 'perf stat -T' (Thomas Richter) - Do not call perf_dafault_config() twice in 'perf record' (Yisheng Xie) - Fix top.call-graph config variable processing in 'perf top' (Yisheng Xie) Signed-off-by: Arnaldo Carvalho de MeloGanapatrao Kulkarni (1): perf vendor events arm64: Enable JSON events for ThunderX2 B0 Ingo Molnar (1): perf report: Show zero counters as well in 'perf report --stat' Jiri Olsa (11): perf env: Free memory nodes data perf tools: Add mem2node object perf tests: Add mem2node object test perf c2c record: Record physical addresses in samples perf c2c report: Make calc_width work with struct c2c_hist_entry perf c2c report: Call calc_width() only for displayed entries perf c2c report: Display node for cacheline address perf c2c report: Add span header over cacheline data perf c2c report: Add cacheline address count column perf llvm: Display eBPF compiling command in debug output perf machine: Fix mmap name setup John Garry (11): perf vendor events: Drop incomplete multiple mapfile support perf vendor events: Fix error code in json_events() perf vendor events: Drop support for unused topic directories perf vendor events: Add support for pmu events vendor subdirectory perf vendor events arm64: Relocate ThunderX2 JSON to cavium subdirectory perf vendor events arm64: Relocate Cortex A53 JSONs to arm subdirectory perf vendor events: Add support for arch standard events perf vendor events arm64: Add armv8-recommended.json perf vendor events arm64: Fixup ThunderX2 to use recommended events perf vendor events arm64: fixup A53 to use recommended events perf vendor events arm64: add HiSilicon hip08 JSON file Kim Phillips (1): perf tools arm64: Add libdw DWARF post unwind support for ARM64 Martin Vuille (1): perf unwind: Unwind with libdw doesn't take symfs into account Sandipan Das (1): perf test: Fix exit code for record+probe_libc_inet_pton.sh Thomas Richter (2): perf stat: Fix core dump when flag T is used perf stat: Make function perf_stat_evsel_id_init static Yisheng Xie (2): perf record: Avoid duplicate call of perf_default_config() perf top: Fix top.call-graph config option reading tools/perf/Documentation/perf-c2c.txt | 2 +- tools/perf/Makefile.config | 2 +- tools/perf/arch/arm64/include/arch-tests.h | 12 + tools/perf/arch/arm64/tests/Build | 2 + tools/perf/arch/arm64/tests/arch-tests.c | 16 + tools/perf/arch/arm64/util/Build | 1 + tools/perf/arch/arm64/util/unwind-libdw.c | 60 +++ tools/perf/builtin-c2c.c | 223 +- tools/perf/builtin-record.c| 8 +- tools/perf/builtin-stat.c | 9 +- tools/perf/builtin-top.c | 6 +- tools/perf/pmu-events/Build| 2 + tools/perf/pmu-events/README | 15 +- .../arch/arm64/{ => arm}/cortex-a53/branch.json| 14 +- .../pmu-events/arch/arm64/arm/cortex-a53/bus.json | 8 + .../arch/arm64/arm/cortex-a53/cache.json | 27 ++ .../arch/arm64/{ => arm}/cortex-a53/memory.json| 14 +-
[GIT PULL 00/31] 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 33801b94741d6c3be9713c10aa627477216c21e2: perf/core: Fix installing cgroup events on CPU (2018-03-12 15:28:51 +0100) 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.17-20180313 for you to fetch changes up to 1b442ed71f0b32d07db03efba150d4592875f988: perf test: Fix exit code for record+probe_libc_inet_pton.sh (2018-03-12 15:25:20 -0300) perf/core improvements and fixes: - Add support for pmu events vendor subdirectories, move vendor event files (JSON format) to "arm" and "cavium" subdirectories (John Garry) - Enable ThunderX2 B0 events in the "cavium" vendor event files (Ganapatrao Kulkarni) - Show zero counters as well in 'perf report --stat' (Ingo Molnar) - Record physical addresses in samples in 'perf c2c record', so that the NUMA node can be displayed for cacheline addresses (Jiri Olsa) - Fix kernel MMAP name setup when --vmlinux is used (Jiri Olsa) - Display llvm eBPF compiling command in debug output (Jiri Olsa) - Add libdw DWARF post unwind support for ARM64 (Jean Pihet, Kim Phillips) - Unwind with libdw doesn't take symfs into account (Martin Vuille) - Fix exit code for record+probe_libc_inet_pton.sh 'perf test' entry (Sandipan Das) - Fix code dump when using transaction events with 'perf stat -T' (Thomas Richter) - Do not call perf_dafault_config() twice in 'perf record' (Yisheng Xie) - Fix top.call-graph config variable processing in 'perf top' (Yisheng Xie) Signed-off-by: Arnaldo Carvalho de Melo Ganapatrao Kulkarni (1): perf vendor events arm64: Enable JSON events for ThunderX2 B0 Ingo Molnar (1): perf report: Show zero counters as well in 'perf report --stat' Jiri Olsa (11): perf env: Free memory nodes data perf tools: Add mem2node object perf tests: Add mem2node object test perf c2c record: Record physical addresses in samples perf c2c report: Make calc_width work with struct c2c_hist_entry perf c2c report: Call calc_width() only for displayed entries perf c2c report: Display node for cacheline address perf c2c report: Add span header over cacheline data perf c2c report: Add cacheline address count column perf llvm: Display eBPF compiling command in debug output perf machine: Fix mmap name setup John Garry (11): perf vendor events: Drop incomplete multiple mapfile support perf vendor events: Fix error code in json_events() perf vendor events: Drop support for unused topic directories perf vendor events: Add support for pmu events vendor subdirectory perf vendor events arm64: Relocate ThunderX2 JSON to cavium subdirectory perf vendor events arm64: Relocate Cortex A53 JSONs to arm subdirectory perf vendor events: Add support for arch standard events perf vendor events arm64: Add armv8-recommended.json perf vendor events arm64: Fixup ThunderX2 to use recommended events perf vendor events arm64: fixup A53 to use recommended events perf vendor events arm64: add HiSilicon hip08 JSON file Kim Phillips (1): perf tools arm64: Add libdw DWARF post unwind support for ARM64 Martin Vuille (1): perf unwind: Unwind with libdw doesn't take symfs into account Sandipan Das (1): perf test: Fix exit code for record+probe_libc_inet_pton.sh Thomas Richter (2): perf stat: Fix core dump when flag T is used perf stat: Make function perf_stat_evsel_id_init static Yisheng Xie (2): perf record: Avoid duplicate call of perf_default_config() perf top: Fix top.call-graph config option reading tools/perf/Documentation/perf-c2c.txt | 2 +- tools/perf/Makefile.config | 2 +- tools/perf/arch/arm64/include/arch-tests.h | 12 + tools/perf/arch/arm64/tests/Build | 2 + tools/perf/arch/arm64/tests/arch-tests.c | 16 + tools/perf/arch/arm64/util/Build | 1 + tools/perf/arch/arm64/util/unwind-libdw.c | 60 +++ tools/perf/builtin-c2c.c | 223 +- tools/perf/builtin-record.c| 8 +- tools/perf/builtin-stat.c | 9 +- tools/perf/builtin-top.c | 6 +- tools/perf/pmu-events/Build| 2 + tools/perf/pmu-events/README | 15 +- .../arch/arm64/{ => arm}/cortex-a53/branch.json| 14 +- .../pmu-events/arch/arm64/arm/cortex-a53/bus.json | 8 + .../arch/arm64/arm/cortex-a53/cache.json | 27 ++ .../arch/arm64/{ => arm}/cortex-a53/memory.json| 14 +- .../arch/arm64/arm/cortex-a53/other.json
Re: [GIT PULL 00/31] perf/core improvements and fixes
* Arnaldo Carvalho de Melowrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit c2b8d8c55c0235e21c563283f634bcfd2ba7bc1e: > > Merge tag 'perf-core-for-mingo-2' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2016-02-24 08:20:30 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-20160224 > > for you to fetch changes up to c92fcfde3486fb4b9e476ee5ad5995a62e401cce: > > perf top: Add --hierarchy option (2016-02-24 20:21:15 -0300) > > > perf/core improvements: > > User visible: > > - Hierarchy histogram mode for 'perf top' and 'perf report', showing multiple > levels, one per --sort entry: (Namhyung Kim) > > On a mostly idle system: > > # perf top --hierarchy -s comm,dso > > Then expand some levels and use 'P' to take a snapshot: > > # cat perf.hist.0 > - 92.32% perf > 58.20% perf > 22.29% libc-2.22.so > 5.97% [kernel] > 4.18% libelf-0.165.so > 1.69% [unknown] > - 4.71% qemu-system-x86 > 3.10% [kernel] > 1.60% qemu-system-x86_64 (deleted) > + 2.97% swapper > # > > - Check availability of memory events in 'perf mem': (Jiri Olsa) > > On a Intel Broadwell machine: > > # perf mem record -e list > ldlat-loads : available > ldlat-stores: available > # > > - Decode data_src values (e.g. perf.data files generated by 'perf mem record') > in 'perf script': (Jiri Olsa) > > # perf script > perf 693 [1] 4.088652: 1 cpu/mem-loads,ldlat=30/P: 88007d0b0f40 > 68100142 L1 hit|SNP None|TLB L1 or L2 hit|LCK No > > > - Print bpf-output events in 'perf script': (Wang Nan). > > # perf record -e bpf-output/no-inherit,name=evt/ -e > ./test_bpf_output_3.c/map:channel.event=evt/ usleep 1000 > # perf script > usleep 4882 21384.532523: evt: 810e97d1 sys_nanosleep > ([kernel.kallsyms]) > BPF output: : 52 61 69 73 65 20 61 20 Raise a > 0008: 42 50 46 20 65 76 65 6e BPF even > 0010: 74 21 00 00 t!.. > BPF string: "Raise a BPF event!" > # > > Signed-off-by: Arnaldo Carvalho de Melo > > > Jiri Olsa (11): > perf mem record: Check for memory events support > perf mem: Introduce perf_mem_events__name function > perf tools: Introduce perf_mem__tlb_scnprintf function > perf tools: Introduce perf_mem__lvl_scnprintf function > perf tools: Introduce perf_mem__snp_scnprintf function > perf tools: Introduce perf_mem__lck_scnprintf function > perf tools: Change perf_mem__tlb_scnprintf to return nb of displayed > bytes > perf tools: Change perf_mem__lvl_scnprintf to return nb of displayed > bytes > perf tools: Change perf_mem__snp_scnprintf to return nb of displayed > bytes > perf tools: Change perf_mem__lck_scnprintf to return nb of displayed > bytes > perf script: Display data_src values > > Namhyung Kim (18): > perf tools: Add helper functions for some sort keys > perf hists: Basic support of hierarchical report view > perf hists: Resort hist entries with hierarchy > perf hists: Add helper functions for hierarchy mode > perf hists: Introduce hist_entry__filter() > perf hists: Support filtering in hierarchy mode > perf hists: Resort after filtering hierarchy > perf hists: Count number of sort keys > perf ui/stdio: Implement hierarchy output mode > perf ui/stdio: Align column header for hierarchy output > perf hists browser: Count number of hierarchy entries > perf hists browser: Support collapsing/expanding whole entries in > hierarchy > perf hists browser: Implement hierarchy output > perf hists browser: Align column header in hierarchy mode > perf ui/gtk: Implement hierarchy output mode > perf report: Add --hierarchy option > perf hists: Support decaying in hierarchy mode > perf top: Add --hierarchy option > > Wang Nan (2): > perf tools: Make binary data printer code in trace_event public > available > perf script: Print bpf-output events in 'perf script' > > tools/perf/Documentation/perf-report.txt | 3 + > tools/perf/Documentation/perf-top.txt| 3 + > tools/perf/Documentation/tips.txt| 1 + > tools/perf/builtin-mem.c | 22 +- > tools/perf/builtin-report.c | 17 ++ > tools/perf/builtin-script.c | 113 ++- >
Re: [GIT PULL 00/31] perf/core improvements and fixes
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit c2b8d8c55c0235e21c563283f634bcfd2ba7bc1e: > > Merge tag 'perf-core-for-mingo-2' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2016-02-24 08:20:30 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-20160224 > > for you to fetch changes up to c92fcfde3486fb4b9e476ee5ad5995a62e401cce: > > perf top: Add --hierarchy option (2016-02-24 20:21:15 -0300) > > > perf/core improvements: > > User visible: > > - Hierarchy histogram mode for 'perf top' and 'perf report', showing multiple > levels, one per --sort entry: (Namhyung Kim) > > On a mostly idle system: > > # perf top --hierarchy -s comm,dso > > Then expand some levels and use 'P' to take a snapshot: > > # cat perf.hist.0 > - 92.32% perf > 58.20% perf > 22.29% libc-2.22.so > 5.97% [kernel] > 4.18% libelf-0.165.so > 1.69% [unknown] > - 4.71% qemu-system-x86 > 3.10% [kernel] > 1.60% qemu-system-x86_64 (deleted) > + 2.97% swapper > # > > - Check availability of memory events in 'perf mem': (Jiri Olsa) > > On a Intel Broadwell machine: > > # perf mem record -e list > ldlat-loads : available > ldlat-stores: available > # > > - Decode data_src values (e.g. perf.data files generated by 'perf mem record') > in 'perf script': (Jiri Olsa) > > # perf script > perf 693 [1] 4.088652: 1 cpu/mem-loads,ldlat=30/P: 88007d0b0f40 > 68100142 L1 hit|SNP None|TLB L1 or L2 hit|LCK No > > > - Print bpf-output events in 'perf script': (Wang Nan). > > # perf record -e bpf-output/no-inherit,name=evt/ -e > ./test_bpf_output_3.c/map:channel.event=evt/ usleep 1000 > # perf script > usleep 4882 21384.532523: evt: 810e97d1 sys_nanosleep > ([kernel.kallsyms]) > BPF output: : 52 61 69 73 65 20 61 20 Raise a > 0008: 42 50 46 20 65 76 65 6e BPF even > 0010: 74 21 00 00 t!.. > BPF string: "Raise a BPF event!" > # > > Signed-off-by: Arnaldo Carvalho de Melo > > > Jiri Olsa (11): > perf mem record: Check for memory events support > perf mem: Introduce perf_mem_events__name function > perf tools: Introduce perf_mem__tlb_scnprintf function > perf tools: Introduce perf_mem__lvl_scnprintf function > perf tools: Introduce perf_mem__snp_scnprintf function > perf tools: Introduce perf_mem__lck_scnprintf function > perf tools: Change perf_mem__tlb_scnprintf to return nb of displayed > bytes > perf tools: Change perf_mem__lvl_scnprintf to return nb of displayed > bytes > perf tools: Change perf_mem__snp_scnprintf to return nb of displayed > bytes > perf tools: Change perf_mem__lck_scnprintf to return nb of displayed > bytes > perf script: Display data_src values > > Namhyung Kim (18): > perf tools: Add helper functions for some sort keys > perf hists: Basic support of hierarchical report view > perf hists: Resort hist entries with hierarchy > perf hists: Add helper functions for hierarchy mode > perf hists: Introduce hist_entry__filter() > perf hists: Support filtering in hierarchy mode > perf hists: Resort after filtering hierarchy > perf hists: Count number of sort keys > perf ui/stdio: Implement hierarchy output mode > perf ui/stdio: Align column header for hierarchy output > perf hists browser: Count number of hierarchy entries > perf hists browser: Support collapsing/expanding whole entries in > hierarchy > perf hists browser: Implement hierarchy output > perf hists browser: Align column header in hierarchy mode > perf ui/gtk: Implement hierarchy output mode > perf report: Add --hierarchy option > perf hists: Support decaying in hierarchy mode > perf top: Add --hierarchy option > > Wang Nan (2): > perf tools: Make binary data printer code in trace_event public > available > perf script: Print bpf-output events in 'perf script' > > tools/perf/Documentation/perf-report.txt | 3 + > tools/perf/Documentation/perf-top.txt| 3 + > tools/perf/Documentation/tips.txt| 1 + > tools/perf/builtin-mem.c | 22 +- > tools/perf/builtin-report.c | 17 ++ > tools/perf/builtin-script.c | 113 ++- > tools/perf/builtin-top.c | 15 + >
[GIT PULL 00/31] perf/core improvements and fixes
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit c2b8d8c55c0235e21c563283f634bcfd2ba7bc1e: Merge tag 'perf-core-for-mingo-2' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2016-02-24 08:20:30 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160224 for you to fetch changes up to c92fcfde3486fb4b9e476ee5ad5995a62e401cce: perf top: Add --hierarchy option (2016-02-24 20:21:15 -0300) perf/core improvements: User visible: - Hierarchy histogram mode for 'perf top' and 'perf report', showing multiple levels, one per --sort entry: (Namhyung Kim) On a mostly idle system: # perf top --hierarchy -s comm,dso Then expand some levels and use 'P' to take a snapshot: # cat perf.hist.0 - 92.32% perf 58.20% perf 22.29% libc-2.22.so 5.97% [kernel] 4.18% libelf-0.165.so 1.69% [unknown] - 4.71% qemu-system-x86 3.10% [kernel] 1.60% qemu-system-x86_64 (deleted) + 2.97% swapper # - Check availability of memory events in 'perf mem': (Jiri Olsa) On a Intel Broadwell machine: # perf mem record -e list ldlat-loads : available ldlat-stores: available # - Decode data_src values (e.g. perf.data files generated by 'perf mem record') in 'perf script': (Jiri Olsa) # perf script perf 693 [1] 4.088652: 1 cpu/mem-loads,ldlat=30/P: 88007d0b0f40 68100142 L1 hit|SNP None|TLB L1 or L2 hit|LCK No - Print bpf-output events in 'perf script': (Wang Nan). # perf record -e bpf-output/no-inherit,name=evt/ -e ./test_bpf_output_3.c/map:channel.event=evt/ usleep 1000 # perf script usleep 4882 21384.532523: evt: 810e97d1 sys_nanosleep ([kernel.kallsyms]) BPF output: : 52 61 69 73 65 20 61 20 Raise a 0008: 42 50 46 20 65 76 65 6e BPF even 0010: 74 21 00 00 t!.. BPF string: "Raise a BPF event!" # Signed-off-by: Arnaldo Carvalho de MeloJiri Olsa (11): perf mem record: Check for memory events support perf mem: Introduce perf_mem_events__name function perf tools: Introduce perf_mem__tlb_scnprintf function perf tools: Introduce perf_mem__lvl_scnprintf function perf tools: Introduce perf_mem__snp_scnprintf function perf tools: Introduce perf_mem__lck_scnprintf function perf tools: Change perf_mem__tlb_scnprintf to return nb of displayed bytes perf tools: Change perf_mem__lvl_scnprintf to return nb of displayed bytes perf tools: Change perf_mem__snp_scnprintf to return nb of displayed bytes perf tools: Change perf_mem__lck_scnprintf to return nb of displayed bytes perf script: Display data_src values Namhyung Kim (18): perf tools: Add helper functions for some sort keys perf hists: Basic support of hierarchical report view perf hists: Resort hist entries with hierarchy perf hists: Add helper functions for hierarchy mode perf hists: Introduce hist_entry__filter() perf hists: Support filtering in hierarchy mode perf hists: Resort after filtering hierarchy perf hists: Count number of sort keys perf ui/stdio: Implement hierarchy output mode perf ui/stdio: Align column header for hierarchy output perf hists browser: Count number of hierarchy entries perf hists browser: Support collapsing/expanding whole entries in hierarchy perf hists browser: Implement hierarchy output perf hists browser: Align column header in hierarchy mode perf ui/gtk: Implement hierarchy output mode perf report: Add --hierarchy option perf hists: Support decaying in hierarchy mode perf top: Add --hierarchy option Wang Nan (2): perf tools: Make binary data printer code in trace_event public available perf script: Print bpf-output events in 'perf script' tools/perf/Documentation/perf-report.txt | 3 + tools/perf/Documentation/perf-top.txt| 3 + tools/perf/Documentation/tips.txt| 1 + tools/perf/builtin-mem.c | 22 +- tools/perf/builtin-report.c | 17 ++ tools/perf/builtin-script.c | 113 ++- tools/perf/builtin-top.c | 15 + tools/perf/ui/browsers/hists.c | 504 --- tools/perf/ui/gtk/hists.c| 163 +- tools/perf/ui/hist.c | 3 + tools/perf/ui/stdio/hist.c | 184 ++- tools/perf/util/ctype.c |
[GIT PULL 00/31] perf/core improvements and fixes
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit c2b8d8c55c0235e21c563283f634bcfd2ba7bc1e: Merge tag 'perf-core-for-mingo-2' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2016-02-24 08:20:30 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-20160224 for you to fetch changes up to c92fcfde3486fb4b9e476ee5ad5995a62e401cce: perf top: Add --hierarchy option (2016-02-24 20:21:15 -0300) perf/core improvements: User visible: - Hierarchy histogram mode for 'perf top' and 'perf report', showing multiple levels, one per --sort entry: (Namhyung Kim) On a mostly idle system: # perf top --hierarchy -s comm,dso Then expand some levels and use 'P' to take a snapshot: # cat perf.hist.0 - 92.32% perf 58.20% perf 22.29% libc-2.22.so 5.97% [kernel] 4.18% libelf-0.165.so 1.69% [unknown] - 4.71% qemu-system-x86 3.10% [kernel] 1.60% qemu-system-x86_64 (deleted) + 2.97% swapper # - Check availability of memory events in 'perf mem': (Jiri Olsa) On a Intel Broadwell machine: # perf mem record -e list ldlat-loads : available ldlat-stores: available # - Decode data_src values (e.g. perf.data files generated by 'perf mem record') in 'perf script': (Jiri Olsa) # perf script perf 693 [1] 4.088652: 1 cpu/mem-loads,ldlat=30/P: 88007d0b0f40 68100142 L1 hit|SNP None|TLB L1 or L2 hit|LCK No - Print bpf-output events in 'perf script': (Wang Nan). # perf record -e bpf-output/no-inherit,name=evt/ -e ./test_bpf_output_3.c/map:channel.event=evt/ usleep 1000 # perf script usleep 4882 21384.532523: evt: 810e97d1 sys_nanosleep ([kernel.kallsyms]) BPF output: : 52 61 69 73 65 20 61 20 Raise a 0008: 42 50 46 20 65 76 65 6e BPF even 0010: 74 21 00 00 t!.. BPF string: "Raise a BPF event!" # Signed-off-by: Arnaldo Carvalho de Melo Jiri Olsa (11): perf mem record: Check for memory events support perf mem: Introduce perf_mem_events__name function perf tools: Introduce perf_mem__tlb_scnprintf function perf tools: Introduce perf_mem__lvl_scnprintf function perf tools: Introduce perf_mem__snp_scnprintf function perf tools: Introduce perf_mem__lck_scnprintf function perf tools: Change perf_mem__tlb_scnprintf to return nb of displayed bytes perf tools: Change perf_mem__lvl_scnprintf to return nb of displayed bytes perf tools: Change perf_mem__snp_scnprintf to return nb of displayed bytes perf tools: Change perf_mem__lck_scnprintf to return nb of displayed bytes perf script: Display data_src values Namhyung Kim (18): perf tools: Add helper functions for some sort keys perf hists: Basic support of hierarchical report view perf hists: Resort hist entries with hierarchy perf hists: Add helper functions for hierarchy mode perf hists: Introduce hist_entry__filter() perf hists: Support filtering in hierarchy mode perf hists: Resort after filtering hierarchy perf hists: Count number of sort keys perf ui/stdio: Implement hierarchy output mode perf ui/stdio: Align column header for hierarchy output perf hists browser: Count number of hierarchy entries perf hists browser: Support collapsing/expanding whole entries in hierarchy perf hists browser: Implement hierarchy output perf hists browser: Align column header in hierarchy mode perf ui/gtk: Implement hierarchy output mode perf report: Add --hierarchy option perf hists: Support decaying in hierarchy mode perf top: Add --hierarchy option Wang Nan (2): perf tools: Make binary data printer code in trace_event public available perf script: Print bpf-output events in 'perf script' tools/perf/Documentation/perf-report.txt | 3 + tools/perf/Documentation/perf-top.txt| 3 + tools/perf/Documentation/tips.txt| 1 + tools/perf/builtin-mem.c | 22 +- tools/perf/builtin-report.c | 17 ++ tools/perf/builtin-script.c | 113 ++- tools/perf/builtin-top.c | 15 + tools/perf/ui/browsers/hists.c | 504 --- tools/perf/ui/gtk/hists.c| 163 +- tools/perf/ui/hist.c | 3 + tools/perf/ui/stdio/hist.c | 184 ++- tools/perf/util/ctype.c | 9 +
Re: [GIT PULL 00/31] perf/core improvements and fixes
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 5b923564ccf43f92969c9e0fd199c8c5db657039: > > Merge tag 'perf-urgent-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent > (2015-09-02 09:22:53 +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 cf2f33a4e54096f90652cca3511fd6a456ea5abe: > > perf trace: Add read/write to the file group (2015-09-04 13:22:06 -0300) > > > perf/core improvements and fixes: > > User visible: > > - Use PERF_RECORD_SWITCH when available in intel-pt, instead of > "sched:sched_switch" events, enabling an unprivileged user to trace > multi-threaded or multi-process workloads (Adrian Hunter) > > - Always use non inlined file name for 'srcfile' sort key (Andi Kleen) > > - Quieten failed to read counter message, helps in systems without > backend-stalled-cycles (Andi Kleen) > > Infrastructure: > > - Add a 'perf test' entry for decoding of new x86 instructions (Adrian Hunter) > > - Add new instructions (sha, clflushopt, clwb, pcommit, rdpkru, wrpkru, > xsavec, > xsaves, xrstors) to the x86 instruction decoder (Adrian Hunter) > > - Add a build test to warn when source code drifts happen for the > instruction decoder files in the kernel and in tools/perf (Adrian Hunter) > > - Copy linux/filter.h to tools/include (He Kuang) > > - Support function __get_dynamic_array_len in libtraceevent (He Kuanguuu) > > - Tracing path finding/mounting/error reporting refactorings (Jiri Olsa) > > - Store CPU socket and core IDs in perf.data (Kan Liang) > > - Reorganize add/del probe insertion routines in 'perf probe' (Namhyung Kim, > Wang Nan) > > Signed-off-by: Arnaldo Carvalho de Melo > > > Adrian Hunter (8): > perf tools: Display build warning if x86 instruction decoder differs > from kernel > perf tools: Add a test for decoding of new x86 instructions > x86/insn: perf tools: Pedantically tweak opcode map for MPX instructions > x86/insn: perf tools: Add new SHA instructions > x86/insn: perf tools: Add new memory instructions > x86/insn: perf tools: Add new memory protection keys instructions > x86/insn: perf tools: Add new xsave instructions > perf intel-pt: Add support for PERF_RECORD_SWITCH > > Andi Kleen (2): > perf tools: Always use non inlined file name for 'srcfile' sort key > perf stat: Quieten failed to read counter message > > Arnaldo Carvalho de Melo (1): > perf trace: Add read/write to the file group > > He Kuang (2): > perf tools: Copy linux/filter.h to tools/include > tools lib traceevent: Support function __get_dynamic_array_len > > Jiri Olsa (10): > perf tools: Remove mountpoint arg from perf_debugfs_mount > perf tools: Move tracing_path stuff under same namespace > tools lib api fs: Move tracing_path interface into api/fs/tracing_path.c > tools lib api fs: Move debugfs__strerror_open into tracing_path.c object > tools lib api fs: Add STR and PATH_MAX macros to fs object > tools lib api fs: Move SYSFS_MAGIC PROC_SUPER_MAGIC into fs.c > tools lib api fs: Add debugfs into fs.c object > tools lib api fs: Add tracefs into fs.c object > tools lib api fs: Add FSTYPE__mount() method > tools lib api fs: Add FSTYPE__configured() method > > Kan Liang (3): > perf cpumap: Factor out functions to get core_id and socket_id > perf tools: Store the cpu socket and core ids in the perf.data header > perf session: Don't call dump_sample() when evsel is NULL > > Namhyung Kim (4): > perf probe: Split add_perf_probe_events() > perf probe: Move print logic into cmd_probe() > perf probe: Split del_perf_probe_events() > perf probe: Print deleted events in cmd_probe() > > Wang Nan (1): > perf probe: Link trace_probe_event into perf_probe_event > > arch/x86/lib/x86-opcode-map.txt| 24 +- > tools/include/linux/filter.h | 231 ++ > tools/lib/api/fs/Build | 1 + > tools/lib/api/fs/debugfs.c | 52 -- > tools/lib/api/fs/fs.c | 117 ++- > tools/lib/api/fs/fs.h | 26 +- > tools/lib/api/fs/tracing_path.c| 137 > tools/lib/api/fs/tracing_path.h| 16 + > tools/lib/traceevent/event-parse.c | 56 +- > tools/lib/traceevent/event-parse.h | 1 + > tools/perf/MANIFEST| 1 + > tools/perf/arch/x86/util/intel-pt.c| 55 +- >
Re: [GIT PULL 00/31] perf/core improvements and fixes
* Arnaldo Carvalho de Melowrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 5b923564ccf43f92969c9e0fd199c8c5db657039: > > Merge tag 'perf-urgent-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent > (2015-09-02 09:22:53 +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 cf2f33a4e54096f90652cca3511fd6a456ea5abe: > > perf trace: Add read/write to the file group (2015-09-04 13:22:06 -0300) > > > perf/core improvements and fixes: > > User visible: > > - Use PERF_RECORD_SWITCH when available in intel-pt, instead of > "sched:sched_switch" events, enabling an unprivileged user to trace > multi-threaded or multi-process workloads (Adrian Hunter) > > - Always use non inlined file name for 'srcfile' sort key (Andi Kleen) > > - Quieten failed to read counter message, helps in systems without > backend-stalled-cycles (Andi Kleen) > > Infrastructure: > > - Add a 'perf test' entry for decoding of new x86 instructions (Adrian Hunter) > > - Add new instructions (sha, clflushopt, clwb, pcommit, rdpkru, wrpkru, > xsavec, > xsaves, xrstors) to the x86 instruction decoder (Adrian Hunter) > > - Add a build test to warn when source code drifts happen for the > instruction decoder files in the kernel and in tools/perf (Adrian Hunter) > > - Copy linux/filter.h to tools/include (He Kuang) > > - Support function __get_dynamic_array_len in libtraceevent (He Kuanguuu) > > - Tracing path finding/mounting/error reporting refactorings (Jiri Olsa) > > - Store CPU socket and core IDs in perf.data (Kan Liang) > > - Reorganize add/del probe insertion routines in 'perf probe' (Namhyung Kim, > Wang Nan) > > Signed-off-by: Arnaldo Carvalho de Melo > > > Adrian Hunter (8): > perf tools: Display build warning if x86 instruction decoder differs > from kernel > perf tools: Add a test for decoding of new x86 instructions > x86/insn: perf tools: Pedantically tweak opcode map for MPX instructions > x86/insn: perf tools: Add new SHA instructions > x86/insn: perf tools: Add new memory instructions > x86/insn: perf tools: Add new memory protection keys instructions > x86/insn: perf tools: Add new xsave instructions > perf intel-pt: Add support for PERF_RECORD_SWITCH > > Andi Kleen (2): > perf tools: Always use non inlined file name for 'srcfile' sort key > perf stat: Quieten failed to read counter message > > Arnaldo Carvalho de Melo (1): > perf trace: Add read/write to the file group > > He Kuang (2): > perf tools: Copy linux/filter.h to tools/include > tools lib traceevent: Support function __get_dynamic_array_len > > Jiri Olsa (10): > perf tools: Remove mountpoint arg from perf_debugfs_mount > perf tools: Move tracing_path stuff under same namespace > tools lib api fs: Move tracing_path interface into api/fs/tracing_path.c > tools lib api fs: Move debugfs__strerror_open into tracing_path.c object > tools lib api fs: Add STR and PATH_MAX macros to fs object > tools lib api fs: Move SYSFS_MAGIC PROC_SUPER_MAGIC into fs.c > tools lib api fs: Add debugfs into fs.c object > tools lib api fs: Add tracefs into fs.c object > tools lib api fs: Add FSTYPE__mount() method > tools lib api fs: Add FSTYPE__configured() method > > Kan Liang (3): > perf cpumap: Factor out functions to get core_id and socket_id > perf tools: Store the cpu socket and core ids in the perf.data header > perf session: Don't call dump_sample() when evsel is NULL > > Namhyung Kim (4): > perf probe: Split add_perf_probe_events() > perf probe: Move print logic into cmd_probe() > perf probe: Split del_perf_probe_events() > perf probe: Print deleted events in cmd_probe() > > Wang Nan (1): > perf probe: Link trace_probe_event into perf_probe_event > > arch/x86/lib/x86-opcode-map.txt| 24 +- > tools/include/linux/filter.h | 231 ++ > tools/lib/api/fs/Build | 1 + > tools/lib/api/fs/debugfs.c | 52 -- > tools/lib/api/fs/fs.c | 117 ++- > tools/lib/api/fs/fs.h | 26 +- > tools/lib/api/fs/tracing_path.c| 137 > tools/lib/api/fs/tracing_path.h| 16 + > tools/lib/traceevent/event-parse.c | 56 +- > tools/lib/traceevent/event-parse.h | 1 + > tools/perf/MANIFEST| 1 + > tools/perf/arch/x86/util/intel-pt.c
[GIT PULL 00/31] perf/core improvements and fixes
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 5b923564ccf43f92969c9e0fd199c8c5db657039: Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2015-09-02 09:22:53 +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 cf2f33a4e54096f90652cca3511fd6a456ea5abe: perf trace: Add read/write to the file group (2015-09-04 13:22:06 -0300) perf/core improvements and fixes: User visible: - Use PERF_RECORD_SWITCH when available in intel-pt, instead of "sched:sched_switch" events, enabling an unprivileged user to trace multi-threaded or multi-process workloads (Adrian Hunter) - Always use non inlined file name for 'srcfile' sort key (Andi Kleen) - Quieten failed to read counter message, helps in systems without backend-stalled-cycles (Andi Kleen) Infrastructure: - Add a 'perf test' entry for decoding of new x86 instructions (Adrian Hunter) - Add new instructions (sha, clflushopt, clwb, pcommit, rdpkru, wrpkru, xsavec, xsaves, xrstors) to the x86 instruction decoder (Adrian Hunter) - Add a build test to warn when source code drifts happen for the instruction decoder files in the kernel and in tools/perf (Adrian Hunter) - Copy linux/filter.h to tools/include (He Kuang) - Support function __get_dynamic_array_len in libtraceevent (He Kuanguuu) - Tracing path finding/mounting/error reporting refactorings (Jiri Olsa) - Store CPU socket and core IDs in perf.data (Kan Liang) - Reorganize add/del probe insertion routines in 'perf probe' (Namhyung Kim, Wang Nan) Signed-off-by: Arnaldo Carvalho de Melo Adrian Hunter (8): perf tools: Display build warning if x86 instruction decoder differs from kernel perf tools: Add a test for decoding of new x86 instructions x86/insn: perf tools: Pedantically tweak opcode map for MPX instructions x86/insn: perf tools: Add new SHA instructions x86/insn: perf tools: Add new memory instructions x86/insn: perf tools: Add new memory protection keys instructions x86/insn: perf tools: Add new xsave instructions perf intel-pt: Add support for PERF_RECORD_SWITCH Andi Kleen (2): perf tools: Always use non inlined file name for 'srcfile' sort key perf stat: Quieten failed to read counter message Arnaldo Carvalho de Melo (1): perf trace: Add read/write to the file group He Kuang (2): perf tools: Copy linux/filter.h to tools/include tools lib traceevent: Support function __get_dynamic_array_len Jiri Olsa (10): perf tools: Remove mountpoint arg from perf_debugfs_mount perf tools: Move tracing_path stuff under same namespace tools lib api fs: Move tracing_path interface into api/fs/tracing_path.c tools lib api fs: Move debugfs__strerror_open into tracing_path.c object tools lib api fs: Add STR and PATH_MAX macros to fs object tools lib api fs: Move SYSFS_MAGIC PROC_SUPER_MAGIC into fs.c tools lib api fs: Add debugfs into fs.c object tools lib api fs: Add tracefs into fs.c object tools lib api fs: Add FSTYPE__mount() method tools lib api fs: Add FSTYPE__configured() method Kan Liang (3): perf cpumap: Factor out functions to get core_id and socket_id perf tools: Store the cpu socket and core ids in the perf.data header perf session: Don't call dump_sample() when evsel is NULL Namhyung Kim (4): perf probe: Split add_perf_probe_events() perf probe: Move print logic into cmd_probe() perf probe: Split del_perf_probe_events() perf probe: Print deleted events in cmd_probe() Wang Nan (1): perf probe: Link trace_probe_event into perf_probe_event arch/x86/lib/x86-opcode-map.txt| 24 +- tools/include/linux/filter.h | 231 ++ tools/lib/api/fs/Build | 1 + tools/lib/api/fs/debugfs.c | 52 -- tools/lib/api/fs/fs.c | 117 ++- tools/lib/api/fs/fs.h | 26 +- tools/lib/api/fs/tracing_path.c| 137 tools/lib/api/fs/tracing_path.h| 16 + tools/lib/traceevent/event-parse.c | 56 +- tools/lib/traceevent/event-parse.h | 1 + tools/perf/MANIFEST| 1 + tools/perf/arch/x86/util/intel-pt.c| 55 +- tools/perf/builtin-probe.c | 110 ++- tools/perf/builtin-stat.c | 2 +- tools/perf/builtin-trace.c | 5 +- tools/perf/perf.c | 12 +- tools/perf/tests/Build
[GIT PULL 00/31] perf/core improvements and fixes
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 5b923564ccf43f92969c9e0fd199c8c5db657039: Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2015-09-02 09:22:53 +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 cf2f33a4e54096f90652cca3511fd6a456ea5abe: perf trace: Add read/write to the file group (2015-09-04 13:22:06 -0300) perf/core improvements and fixes: User visible: - Use PERF_RECORD_SWITCH when available in intel-pt, instead of "sched:sched_switch" events, enabling an unprivileged user to trace multi-threaded or multi-process workloads (Adrian Hunter) - Always use non inlined file name for 'srcfile' sort key (Andi Kleen) - Quieten failed to read counter message, helps in systems without backend-stalled-cycles (Andi Kleen) Infrastructure: - Add a 'perf test' entry for decoding of new x86 instructions (Adrian Hunter) - Add new instructions (sha, clflushopt, clwb, pcommit, rdpkru, wrpkru, xsavec, xsaves, xrstors) to the x86 instruction decoder (Adrian Hunter) - Add a build test to warn when source code drifts happen for the instruction decoder files in the kernel and in tools/perf (Adrian Hunter) - Copy linux/filter.h to tools/include (He Kuang) - Support function __get_dynamic_array_len in libtraceevent (He Kuanguuu) - Tracing path finding/mounting/error reporting refactorings (Jiri Olsa) - Store CPU socket and core IDs in perf.data (Kan Liang) - Reorganize add/del probe insertion routines in 'perf probe' (Namhyung Kim, Wang Nan) Signed-off-by: Arnaldo Carvalho de MeloAdrian Hunter (8): perf tools: Display build warning if x86 instruction decoder differs from kernel perf tools: Add a test for decoding of new x86 instructions x86/insn: perf tools: Pedantically tweak opcode map for MPX instructions x86/insn: perf tools: Add new SHA instructions x86/insn: perf tools: Add new memory instructions x86/insn: perf tools: Add new memory protection keys instructions x86/insn: perf tools: Add new xsave instructions perf intel-pt: Add support for PERF_RECORD_SWITCH Andi Kleen (2): perf tools: Always use non inlined file name for 'srcfile' sort key perf stat: Quieten failed to read counter message Arnaldo Carvalho de Melo (1): perf trace: Add read/write to the file group He Kuang (2): perf tools: Copy linux/filter.h to tools/include tools lib traceevent: Support function __get_dynamic_array_len Jiri Olsa (10): perf tools: Remove mountpoint arg from perf_debugfs_mount perf tools: Move tracing_path stuff under same namespace tools lib api fs: Move tracing_path interface into api/fs/tracing_path.c tools lib api fs: Move debugfs__strerror_open into tracing_path.c object tools lib api fs: Add STR and PATH_MAX macros to fs object tools lib api fs: Move SYSFS_MAGIC PROC_SUPER_MAGIC into fs.c tools lib api fs: Add debugfs into fs.c object tools lib api fs: Add tracefs into fs.c object tools lib api fs: Add FSTYPE__mount() method tools lib api fs: Add FSTYPE__configured() method Kan Liang (3): perf cpumap: Factor out functions to get core_id and socket_id perf tools: Store the cpu socket and core ids in the perf.data header perf session: Don't call dump_sample() when evsel is NULL Namhyung Kim (4): perf probe: Split add_perf_probe_events() perf probe: Move print logic into cmd_probe() perf probe: Split del_perf_probe_events() perf probe: Print deleted events in cmd_probe() Wang Nan (1): perf probe: Link trace_probe_event into perf_probe_event arch/x86/lib/x86-opcode-map.txt| 24 +- tools/include/linux/filter.h | 231 ++ tools/lib/api/fs/Build | 1 + tools/lib/api/fs/debugfs.c | 52 -- tools/lib/api/fs/fs.c | 117 ++- tools/lib/api/fs/fs.h | 26 +- tools/lib/api/fs/tracing_path.c| 137 tools/lib/api/fs/tracing_path.h| 16 + tools/lib/traceevent/event-parse.c | 56 +- tools/lib/traceevent/event-parse.h | 1 + tools/perf/MANIFEST| 1 + tools/perf/arch/x86/util/intel-pt.c| 55 +- tools/perf/builtin-probe.c | 110 ++- tools/perf/builtin-stat.c | 2 +- tools/perf/builtin-trace.c | 5 +- tools/perf/perf.c | 12 +- tools/perf/tests/Build
Re: [GIT PULL 00/31] perf/core improvements and fixes
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, more to come, > > - Arnaldo > > The following changes since commit 107eb964d8c04417e8bce9e9ec2ed61d9261aec6: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2015-03-13 13:30:10 +0100) > > 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 0c8c20779c5d56b93b8cb4cd30ba129a927ab437: > > perf report: Don't allow empty argument for '-t'. (2015-03-19 13:53:28 > -0300) > > > perf/core improvements and fixes: > > User visible: > > - Bash completion for subcommands (Yunlong Song) > > - Allow annotating entries in callchains in the hists browser (top/report). > TODO: give some visual cue to what entries in callchains have samples and > thus > can be annotated and/or allow showing the source code for functions without > samples (Arnaldo Carvalho de Melo) > > - Don't allow empty argument for '-t' in perf report, fixing segfault (Wang > Nan) > > Infrastructure: > > - Prep work for moving the perf feature tests build system to tools/build > (Jiri Olsa) > > - Fix perf-read-vdsox32 not building and lib64 install dir (H.J. Lu) > > - ARM64: fix building error and eh/debug frame offset cache fixes (Wang Nan) > > Signed-off-by: Arnaldo Carvalho de Melo > > > Arnaldo Carvalho de Melo (4): > perf hists browser: Simplify symbol annotation menu setup > perf hists browser: Fix up some branch alignment > perf hists: Remove hist_entry->used, not used anymore > perf hists browser: Allow annotating entries in callchains > > H.J. Lu (1): > perf tools: Fix perf-read-vdsox32 not building and lib64 install dir > > Jiri Olsa (10): > perf build: Disable default check for libbabeltrace > perf build: Move features build output under features directory > perf build: Fix pthread-attr-setaffinity-np include in test-all > perf build: Get rid of LIB_INCLUDE variable > perf build: Rename CORE_FEATURE_TESTS to FEATURE_TESTS > perf build: Get rid of VF_FEATURE_TESTS > perf build: Rename display_lib into feature_display > perf build: Rename display_vf to feature_verbose > perf build: Rename PERF-FEATURES into FEATURE-DUMP > perf build: Rename feature_print_var_code to print_var_code > > Wang Nan (3): > perf tools: Fix building error for arm64. > perf callchain: Separate eh/debug frame offset cache. > perf report: Don't allow empty argument for '-t'. > > Yunlong Song (13): > perf tools: Fix the bash completion for listing options of perf > subcommand > perf tools: Fix the bash completion for listing subsubcommands of perf > subcommand > perf tools: Provide the right bash completion for listing options of > perf subcommand subsubcommand > perf tools: Fix the bash completion for listing events of perf > subcommand record|stat|top -e > perf tools: Fix the bash completion to support listing events for > --event > perf tools: Fix the bash completion for listing subcommands of perf > perf tools: Add the bash completion for listing subsubcommands of perf > data > perf tools: Add the bash completion for listing subsubcommands of perf > help > perf tools: Add the bash completion for listing subsubcommands of perf > script > perf tools: Add the bash completion for listing subsubcommands of perf > test > perf tools: Add the bash completion for listing subsubcommands of perf > timechart > perf tools: Add the bash completion for listing subsubcommands of perf > trace > perf tools: Avoid confusion with preloaded bash function for perf bash > completion > > tools/perf/Makefile.perf| 3 +- > tools/perf/builtin-data.c | 6 +- > tools/perf/builtin-help.c | 17 - > tools/perf/builtin-report.c | 2 +- > tools/perf/builtin-script.c | 5 +- > tools/perf/builtin-timechart.c | 7 +- > tools/perf/builtin-trace.c | 7 +- > tools/perf/config/Makefile | 111 > > tools/perf/config/Makefile.arch | 2 +- > tools/perf/config/feature-checks/Makefile | 7 +- > tools/perf/config/feature-checks/test-all.c | 11 ++- > tools/perf/perf-completion.sh | 88 +- > tools/perf/tests/builtin-test.c | 5 +- > tools/perf/tests/make | 2 +- > tools/perf/ui/browsers/annotate.c | 8 +- > tools/perf/ui/browsers/hists.c | 59 +++ > tools/perf/util/dso.h
Re: [GIT PULL 00/31] perf/core improvements and fixes
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, more to come, - Arnaldo The following changes since commit 107eb964d8c04417e8bce9e9ec2ed61d9261aec6: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-03-13 13:30:10 +0100) 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 0c8c20779c5d56b93b8cb4cd30ba129a927ab437: perf report: Don't allow empty argument for '-t'. (2015-03-19 13:53:28 -0300) perf/core improvements and fixes: User visible: - Bash completion for subcommands (Yunlong Song) - Allow annotating entries in callchains in the hists browser (top/report). TODO: give some visual cue to what entries in callchains have samples and thus can be annotated and/or allow showing the source code for functions without samples (Arnaldo Carvalho de Melo) - Don't allow empty argument for '-t' in perf report, fixing segfault (Wang Nan) Infrastructure: - Prep work for moving the perf feature tests build system to tools/build (Jiri Olsa) - Fix perf-read-vdsox32 not building and lib64 install dir (H.J. Lu) - ARM64: fix building error and eh/debug frame offset cache fixes (Wang Nan) Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com Arnaldo Carvalho de Melo (4): perf hists browser: Simplify symbol annotation menu setup perf hists browser: Fix up some branch alignment perf hists: Remove hist_entry-used, not used anymore perf hists browser: Allow annotating entries in callchains H.J. Lu (1): perf tools: Fix perf-read-vdsox32 not building and lib64 install dir Jiri Olsa (10): perf build: Disable default check for libbabeltrace perf build: Move features build output under features directory perf build: Fix pthread-attr-setaffinity-np include in test-all perf build: Get rid of LIB_INCLUDE variable perf build: Rename CORE_FEATURE_TESTS to FEATURE_TESTS perf build: Get rid of VF_FEATURE_TESTS perf build: Rename display_lib into feature_display perf build: Rename display_vf to feature_verbose perf build: Rename PERF-FEATURES into FEATURE-DUMP perf build: Rename feature_print_var_code to print_var_code Wang Nan (3): perf tools: Fix building error for arm64. perf callchain: Separate eh/debug frame offset cache. perf report: Don't allow empty argument for '-t'. Yunlong Song (13): perf tools: Fix the bash completion for listing options of perf subcommand perf tools: Fix the bash completion for listing subsubcommands of perf subcommand perf tools: Provide the right bash completion for listing options of perf subcommand subsubcommand perf tools: Fix the bash completion for listing events of perf subcommand record|stat|top -e perf tools: Fix the bash completion to support listing events for --event perf tools: Fix the bash completion for listing subcommands of perf perf tools: Add the bash completion for listing subsubcommands of perf data perf tools: Add the bash completion for listing subsubcommands of perf help perf tools: Add the bash completion for listing subsubcommands of perf script perf tools: Add the bash completion for listing subsubcommands of perf test perf tools: Add the bash completion for listing subsubcommands of perf timechart perf tools: Add the bash completion for listing subsubcommands of perf trace perf tools: Avoid confusion with preloaded bash function for perf bash completion tools/perf/Makefile.perf| 3 +- tools/perf/builtin-data.c | 6 +- tools/perf/builtin-help.c | 17 - tools/perf/builtin-report.c | 2 +- tools/perf/builtin-script.c | 5 +- tools/perf/builtin-timechart.c | 7 +- tools/perf/builtin-trace.c | 7 +- tools/perf/config/Makefile | 111 tools/perf/config/Makefile.arch | 2 +- tools/perf/config/feature-checks/Makefile | 7 +- tools/perf/config/feature-checks/test-all.c | 11 ++- tools/perf/perf-completion.sh | 88 +- tools/perf/tests/builtin-test.c | 5 +- tools/perf/tests/make | 2 +- tools/perf/ui/browsers/annotate.c | 8 +- tools/perf/ui/browsers/hists.c | 59 +++ tools/perf/util/dso.h | 3 +- tools/perf/util/hist.c | 8 +-
[GIT PULL 00/31] perf/core improvements and fixes
Hi Ingo, Please consider pulling, more to come, - Arnaldo The following changes since commit 107eb964d8c04417e8bce9e9ec2ed61d9261aec6: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-03-13 13:30:10 +0100) 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 0c8c20779c5d56b93b8cb4cd30ba129a927ab437: perf report: Don't allow empty argument for '-t'. (2015-03-19 13:53:28 -0300) perf/core improvements and fixes: User visible: - Bash completion for subcommands (Yunlong Song) - Allow annotating entries in callchains in the hists browser (top/report). TODO: give some visual cue to what entries in callchains have samples and thus can be annotated and/or allow showing the source code for functions without samples (Arnaldo Carvalho de Melo) - Don't allow empty argument for '-t' in perf report, fixing segfault (Wang Nan) Infrastructure: - Prep work for moving the perf feature tests build system to tools/build (Jiri Olsa) - Fix perf-read-vdsox32 not building and lib64 install dir (H.J. Lu) - ARM64: fix building error and eh/debug frame offset cache fixes (Wang Nan) Signed-off-by: Arnaldo Carvalho de Melo Arnaldo Carvalho de Melo (4): perf hists browser: Simplify symbol annotation menu setup perf hists browser: Fix up some branch alignment perf hists: Remove hist_entry->used, not used anymore perf hists browser: Allow annotating entries in callchains H.J. Lu (1): perf tools: Fix perf-read-vdsox32 not building and lib64 install dir Jiri Olsa (10): perf build: Disable default check for libbabeltrace perf build: Move features build output under features directory perf build: Fix pthread-attr-setaffinity-np include in test-all perf build: Get rid of LIB_INCLUDE variable perf build: Rename CORE_FEATURE_TESTS to FEATURE_TESTS perf build: Get rid of VF_FEATURE_TESTS perf build: Rename display_lib into feature_display perf build: Rename display_vf to feature_verbose perf build: Rename PERF-FEATURES into FEATURE-DUMP perf build: Rename feature_print_var_code to print_var_code Wang Nan (3): perf tools: Fix building error for arm64. perf callchain: Separate eh/debug frame offset cache. perf report: Don't allow empty argument for '-t'. Yunlong Song (13): perf tools: Fix the bash completion for listing options of perf subcommand perf tools: Fix the bash completion for listing subsubcommands of perf subcommand perf tools: Provide the right bash completion for listing options of perf subcommand subsubcommand perf tools: Fix the bash completion for listing events of perf subcommand record|stat|top -e perf tools: Fix the bash completion to support listing events for --event perf tools: Fix the bash completion for listing subcommands of perf perf tools: Add the bash completion for listing subsubcommands of perf data perf tools: Add the bash completion for listing subsubcommands of perf help perf tools: Add the bash completion for listing subsubcommands of perf script perf tools: Add the bash completion for listing subsubcommands of perf test perf tools: Add the bash completion for listing subsubcommands of perf timechart perf tools: Add the bash completion for listing subsubcommands of perf trace perf tools: Avoid confusion with preloaded bash function for perf bash completion tools/perf/Makefile.perf| 3 +- tools/perf/builtin-data.c | 6 +- tools/perf/builtin-help.c | 17 - tools/perf/builtin-report.c | 2 +- tools/perf/builtin-script.c | 5 +- tools/perf/builtin-timechart.c | 7 +- tools/perf/builtin-trace.c | 7 +- tools/perf/config/Makefile | 111 tools/perf/config/Makefile.arch | 2 +- tools/perf/config/feature-checks/Makefile | 7 +- tools/perf/config/feature-checks/test-all.c | 11 ++- tools/perf/perf-completion.sh | 88 +- tools/perf/tests/builtin-test.c | 5 +- tools/perf/tests/make | 2 +- tools/perf/ui/browsers/annotate.c | 8 +- tools/perf/ui/browsers/hists.c | 59 +++ tools/perf/util/dso.h | 3 +- tools/perf/util/hist.c | 8 +- tools/perf/util/hist.h | 9 +++ tools/perf/util/parse-options.c | 21 +- tools/perf/util/parse-options.h | 2 + tools/perf/util/sort.h |
[GIT PULL 00/31] perf/core improvements and fixes
Hi Ingo, Please consider pulling, more to come, - Arnaldo The following changes since commit 107eb964d8c04417e8bce9e9ec2ed61d9261aec6: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2015-03-13 13:30:10 +0100) 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 0c8c20779c5d56b93b8cb4cd30ba129a927ab437: perf report: Don't allow empty argument for '-t'. (2015-03-19 13:53:28 -0300) perf/core improvements and fixes: User visible: - Bash completion for subcommands (Yunlong Song) - Allow annotating entries in callchains in the hists browser (top/report). TODO: give some visual cue to what entries in callchains have samples and thus can be annotated and/or allow showing the source code for functions without samples (Arnaldo Carvalho de Melo) - Don't allow empty argument for '-t' in perf report, fixing segfault (Wang Nan) Infrastructure: - Prep work for moving the perf feature tests build system to tools/build (Jiri Olsa) - Fix perf-read-vdsox32 not building and lib64 install dir (H.J. Lu) - ARM64: fix building error and eh/debug frame offset cache fixes (Wang Nan) Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com Arnaldo Carvalho de Melo (4): perf hists browser: Simplify symbol annotation menu setup perf hists browser: Fix up some branch alignment perf hists: Remove hist_entry-used, not used anymore perf hists browser: Allow annotating entries in callchains H.J. Lu (1): perf tools: Fix perf-read-vdsox32 not building and lib64 install dir Jiri Olsa (10): perf build: Disable default check for libbabeltrace perf build: Move features build output under features directory perf build: Fix pthread-attr-setaffinity-np include in test-all perf build: Get rid of LIB_INCLUDE variable perf build: Rename CORE_FEATURE_TESTS to FEATURE_TESTS perf build: Get rid of VF_FEATURE_TESTS perf build: Rename display_lib into feature_display perf build: Rename display_vf to feature_verbose perf build: Rename PERF-FEATURES into FEATURE-DUMP perf build: Rename feature_print_var_code to print_var_code Wang Nan (3): perf tools: Fix building error for arm64. perf callchain: Separate eh/debug frame offset cache. perf report: Don't allow empty argument for '-t'. Yunlong Song (13): perf tools: Fix the bash completion for listing options of perf subcommand perf tools: Fix the bash completion for listing subsubcommands of perf subcommand perf tools: Provide the right bash completion for listing options of perf subcommand subsubcommand perf tools: Fix the bash completion for listing events of perf subcommand record|stat|top -e perf tools: Fix the bash completion to support listing events for --event perf tools: Fix the bash completion for listing subcommands of perf perf tools: Add the bash completion for listing subsubcommands of perf data perf tools: Add the bash completion for listing subsubcommands of perf help perf tools: Add the bash completion for listing subsubcommands of perf script perf tools: Add the bash completion for listing subsubcommands of perf test perf tools: Add the bash completion for listing subsubcommands of perf timechart perf tools: Add the bash completion for listing subsubcommands of perf trace perf tools: Avoid confusion with preloaded bash function for perf bash completion tools/perf/Makefile.perf| 3 +- tools/perf/builtin-data.c | 6 +- tools/perf/builtin-help.c | 17 - tools/perf/builtin-report.c | 2 +- tools/perf/builtin-script.c | 5 +- tools/perf/builtin-timechart.c | 7 +- tools/perf/builtin-trace.c | 7 +- tools/perf/config/Makefile | 111 tools/perf/config/Makefile.arch | 2 +- tools/perf/config/feature-checks/Makefile | 7 +- tools/perf/config/feature-checks/test-all.c | 11 ++- tools/perf/perf-completion.sh | 88 +- tools/perf/tests/builtin-test.c | 5 +- tools/perf/tests/make | 2 +- tools/perf/ui/browsers/annotate.c | 8 +- tools/perf/ui/browsers/hists.c | 59 +++ tools/perf/util/dso.h | 3 +- tools/perf/util/hist.c | 8 +- tools/perf/util/hist.h | 9 +++ tools/perf/util/parse-options.c | 21 +- tools/perf/util/parse-options.h | 2 + tools/perf/util/sort.h