Re: [GIT PULL 00/13] perf/core improvements and fixes

2018-09-25 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 7f16023bfcc4b1f2bbccf86219dc97473db6e0d6:
> 
>   Merge remote-tracking branch 'acme/perf/urgent' into perf/core (2018-09-18 
> 17:20:41 -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-4.20-20180919
> 
> for you to fetch changes up to 24ef0fd0a1f389b156e6ef0edd71072728831bd9:
> 
>   perf python: Use -Wno-redundant-decls to build with PYTHON=python3 
> (2018-09-19 10:25:13 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> perf test:
> 
> - Add watchpoint entry (Ravi Bangoria)
> 
> Build fixes:
> 
> - Initialize perf_data_file fd field to fix building the CTF (trace format)
>   converter with with gcc 4.8.4 on Ubuntu 14.04 (Jérémie Galarneau)
> 
> - Use -Wno-redundant-decls to build with PYTHON=python3 to
>   build the python binding, fixing the build in systems such
>   as Clear Linux (Arnaldo Carvalho de Melo)
> 
> Hardware tracing:
> 
> - Suppress AUX/OVERWRITE records (Alexander Shishkin)
> 
> Infrastructure:
> 
> - Adopt PTR_ERR_OR_ZERO from the kernel and use it in
>   the bpf-loader instead of open coded equivalent (Ding Xiang)
> 
> - Improve the event ordering code to make it clear and fix
>   a bug related to freeing of events when using pipe mode
>   from 'record' to 'inject' (Jiri Olsa)
> 
> - Some prep work to facilitate per-cpu threads to write
>   record data to per-cpu files (Jiri Olsa)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Alexander Shishkin (1):
>   perf: Suppress AUX/OVERWRITE records
> 
> Arnaldo Carvalho de Melo (1):
>   perf python: Use -Wno-redundant-decls to build with PYTHON=python3
> 
> Ding Xiang (2):
>   tools include: Adopt PTR_ERR_OR_ZERO from the kernel err.h header
>   perf bpf-loader: use PTR_ERR_OR_ZERO inetead of return code
> 
> Jiri Olsa (7):
>   perf ordered_events: Add 'struct ordered_events_buffer' layer
>   perf ordered_events: Prevent crossing max_alloc_size
>   perf tools: Remove perf_tool from event_op2
>   perf tools: Remove perf_tool from event_op3
>   perf auxtrace: Pass struct perf_mmap into mmap__read* functions
>   perf tools: Add 'struct perf_mmap' arg to record__write()
>   perf util: Make copyfile_offset() global
> 
> Jérémie Galarneau (1):
>   perf tools: Initialize perf_data_file fd field
> 
> Ravi Bangoria (1):
>   perf test: Add watchpoint test
> 
>  kernel/events/ring_buffer.c   |  14 ++-
>  tools/include/linux/err.h |   7 ++
>  tools/perf/builtin-annotate.c |   7 +-
>  tools/perf/builtin-inject.c   |  37 +++---
>  tools/perf/builtin-record.c   |  51 +
>  tools/perf/builtin-report.c   |   9 +-
>  tools/perf/builtin-script.c   |  38 +++
>  tools/perf/builtin-stat.c |  23 ++--
>  tools/perf/tests/Build|   1 +
>  tools/perf/tests/builtin-test.c   |   9 ++
>  tools/perf/tests/tests.h  |   3 +
>  tools/perf/tests/wp.c | 229 
> ++
>  tools/perf/util/auxtrace.c|  30 +++--
>  tools/perf/util/auxtrace.h|  21 ++--
>  tools/perf/util/bpf-loader.c  |   2 +-
>  tools/perf/util/data-convert-bt.c |   2 +-
>  tools/perf/util/header.c  |  16 ++-
>  tools/perf/util/header.h  |  15 +--
>  tools/perf/util/mmap.c|   6 +-
>  tools/perf/util/mmap.h|   2 +-
>  tools/perf/util/ordered-events.c  |  87 ---
>  tools/perf/util/ordered-events.h  |  37 +++---
>  tools/perf/util/session.c |  75 ++---
>  tools/perf/util/session.h |   5 +-
>  tools/perf/util/setup.py  |   2 +-
>  tools/perf/util/stat.c|   5 +-
>  tools/perf/util/stat.h|   5 +-
>  tools/perf/util/tool.h|   7 +-
>  tools/perf/util/util.c|   2 +-
>  tools/perf/util/util.h|   2 +
>  30 files changed, 519 insertions(+), 230 deletions(-)
>  create mode 100644 tools/perf/tests/wp.c

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2018-09-25 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 7f16023bfcc4b1f2bbccf86219dc97473db6e0d6:
> 
>   Merge remote-tracking branch 'acme/perf/urgent' into perf/core (2018-09-18 
> 17:20:41 -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-4.20-20180919
> 
> for you to fetch changes up to 24ef0fd0a1f389b156e6ef0edd71072728831bd9:
> 
>   perf python: Use -Wno-redundant-decls to build with PYTHON=python3 
> (2018-09-19 10:25:13 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> perf test:
> 
> - Add watchpoint entry (Ravi Bangoria)
> 
> Build fixes:
> 
> - Initialize perf_data_file fd field to fix building the CTF (trace format)
>   converter with with gcc 4.8.4 on Ubuntu 14.04 (Jérémie Galarneau)
> 
> - Use -Wno-redundant-decls to build with PYTHON=python3 to
>   build the python binding, fixing the build in systems such
>   as Clear Linux (Arnaldo Carvalho de Melo)
> 
> Hardware tracing:
> 
> - Suppress AUX/OVERWRITE records (Alexander Shishkin)
> 
> Infrastructure:
> 
> - Adopt PTR_ERR_OR_ZERO from the kernel and use it in
>   the bpf-loader instead of open coded equivalent (Ding Xiang)
> 
> - Improve the event ordering code to make it clear and fix
>   a bug related to freeing of events when using pipe mode
>   from 'record' to 'inject' (Jiri Olsa)
> 
> - Some prep work to facilitate per-cpu threads to write
>   record data to per-cpu files (Jiri Olsa)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Alexander Shishkin (1):
>   perf: Suppress AUX/OVERWRITE records
> 
> Arnaldo Carvalho de Melo (1):
>   perf python: Use -Wno-redundant-decls to build with PYTHON=python3
> 
> Ding Xiang (2):
>   tools include: Adopt PTR_ERR_OR_ZERO from the kernel err.h header
>   perf bpf-loader: use PTR_ERR_OR_ZERO inetead of return code
> 
> Jiri Olsa (7):
>   perf ordered_events: Add 'struct ordered_events_buffer' layer
>   perf ordered_events: Prevent crossing max_alloc_size
>   perf tools: Remove perf_tool from event_op2
>   perf tools: Remove perf_tool from event_op3
>   perf auxtrace: Pass struct perf_mmap into mmap__read* functions
>   perf tools: Add 'struct perf_mmap' arg to record__write()
>   perf util: Make copyfile_offset() global
> 
> Jérémie Galarneau (1):
>   perf tools: Initialize perf_data_file fd field
> 
> Ravi Bangoria (1):
>   perf test: Add watchpoint test
> 
>  kernel/events/ring_buffer.c   |  14 ++-
>  tools/include/linux/err.h |   7 ++
>  tools/perf/builtin-annotate.c |   7 +-
>  tools/perf/builtin-inject.c   |  37 +++---
>  tools/perf/builtin-record.c   |  51 +
>  tools/perf/builtin-report.c   |   9 +-
>  tools/perf/builtin-script.c   |  38 +++
>  tools/perf/builtin-stat.c |  23 ++--
>  tools/perf/tests/Build|   1 +
>  tools/perf/tests/builtin-test.c   |   9 ++
>  tools/perf/tests/tests.h  |   3 +
>  tools/perf/tests/wp.c | 229 
> ++
>  tools/perf/util/auxtrace.c|  30 +++--
>  tools/perf/util/auxtrace.h|  21 ++--
>  tools/perf/util/bpf-loader.c  |   2 +-
>  tools/perf/util/data-convert-bt.c |   2 +-
>  tools/perf/util/header.c  |  16 ++-
>  tools/perf/util/header.h  |  15 +--
>  tools/perf/util/mmap.c|   6 +-
>  tools/perf/util/mmap.h|   2 +-
>  tools/perf/util/ordered-events.c  |  87 ---
>  tools/perf/util/ordered-events.h  |  37 +++---
>  tools/perf/util/session.c |  75 ++---
>  tools/perf/util/session.h |   5 +-
>  tools/perf/util/setup.py  |   2 +-
>  tools/perf/util/stat.c|   5 +-
>  tools/perf/util/stat.h|   5 +-
>  tools/perf/util/tool.h|   7 +-
>  tools/perf/util/util.c|   2 +-
>  tools/perf/util/util.h|   2 +
>  30 files changed, 519 insertions(+), 230 deletions(-)
>  create mode 100644 tools/perf/tests/wp.c

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2017-09-04 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> 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 +
>  

Re: [GIT PULL 00/13] perf/core improvements and fixes

2017-09-04 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> 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 +
>  tools/perf/util/hist.c   

Re: [GIT PULL 00/13] perf/core improvements and fixes

2017-08-22 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 9881223c6cc0644cc3aeea41e1f19ea7e3041f33:
> 
>   Merge tag 'perf-core-for-mingo-4.14-20170816' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2017-08-17 09:41: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-20170821
> 
> for you to fetch changes up to 3a555c7799de69d73826eccc9a21948a5775d4d3:
> 
>   perf annotate browser: Circulate percent, total-period and nr-samples view 
> (2017-08-18 11:23:20 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> - Support --show-nr-samples in annotate's --stdio and --tui, using
>   the existing 't' toggle to circulate 'percent', 'total-period' and
>   'nr-samples' as the first column (Taeung Song)
> 
> - Support FCMask and PortMask in JSON vendor events (Andi Kleen)
> 
> - Fix off by one string allocation problem in 'perf trace' (Arnaldo Carvalho 
> de Melo)
> 
> - Use just one parse events state struct in yyparse(), fixing one
>   reported segfault when a routine received a different data struct,
>   smaller than the one it expected to use (Arnaldo Carvalho de Melo)
> 
> - Remove unused cpu_relax() macros, they stopped being used when
>   tools/perf lived in Documentation/ (Arnaldo Carvalho de Melo)
> 
> - Fix double file test in libbpf's Makefile (Daniel Díaz):
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Andi Kleen (1):
>   perf jevents: Support FCMask and PortMask
> 
> Arnaldo Carvalho de Melo (7):
>   perf trace: Fix off by one string allocation problem
>   perf events parse: Remove some needless local variables
>   perf events parse: Rename parsing state struct to clearer name
>   perf events parse: Use just one parse events state struct
>   perf events parse: Rename parse_events_parse arguments
>   perf tools: Remove unused cpu_relax() macros
>   perf tools: Use default CPUINFO_PROC where it fits
> 
> Daniel Díaz (1):
>   tools lib bpf: Fix double file test in Makefile
> 
> Taeung Song (4):
>   perf annotate stdio: Support --show-nr-samples option
>   perf annotate: Document --show-total-period option
>   perf annotate browser: Support --show-nr-samples option
>   perf annotate browser: Circulate percent, total-period and nr-samples 
> view
> 
>  tools/lib/bpf/Makefile |  4 +-
>  tools/perf/Documentation/perf-annotate.txt |  6 ++
>  tools/perf/builtin-annotate.c  | 16 -
>  tools/perf/builtin-trace.c |  2 +-
>  tools/perf/perf-sys.h  | 28 +
>  tools/perf/pmu-events/jevents.c|  2 +
>  tools/perf/tests/bpf.c | 16 ++---
>  tools/perf/ui/browsers/annotate.c  | 25 ++--
>  tools/perf/util/annotate.c |  6 +-
>  tools/perf/util/header.c   |  3 -
>  tools/perf/util/parse-events.c | 96 
> +++---
>  tools/perf/util/parse-events.h | 19 +++---
>  tools/perf/util/parse-events.y | 94 ++---
>  13 files changed, 159 insertions(+), 158 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2017-08-22 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 9881223c6cc0644cc3aeea41e1f19ea7e3041f33:
> 
>   Merge tag 'perf-core-for-mingo-4.14-20170816' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2017-08-17 09:41: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-20170821
> 
> for you to fetch changes up to 3a555c7799de69d73826eccc9a21948a5775d4d3:
> 
>   perf annotate browser: Circulate percent, total-period and nr-samples view 
> (2017-08-18 11:23:20 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> - Support --show-nr-samples in annotate's --stdio and --tui, using
>   the existing 't' toggle to circulate 'percent', 'total-period' and
>   'nr-samples' as the first column (Taeung Song)
> 
> - Support FCMask and PortMask in JSON vendor events (Andi Kleen)
> 
> - Fix off by one string allocation problem in 'perf trace' (Arnaldo Carvalho 
> de Melo)
> 
> - Use just one parse events state struct in yyparse(), fixing one
>   reported segfault when a routine received a different data struct,
>   smaller than the one it expected to use (Arnaldo Carvalho de Melo)
> 
> - Remove unused cpu_relax() macros, they stopped being used when
>   tools/perf lived in Documentation/ (Arnaldo Carvalho de Melo)
> 
> - Fix double file test in libbpf's Makefile (Daniel Díaz):
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Andi Kleen (1):
>   perf jevents: Support FCMask and PortMask
> 
> Arnaldo Carvalho de Melo (7):
>   perf trace: Fix off by one string allocation problem
>   perf events parse: Remove some needless local variables
>   perf events parse: Rename parsing state struct to clearer name
>   perf events parse: Use just one parse events state struct
>   perf events parse: Rename parse_events_parse arguments
>   perf tools: Remove unused cpu_relax() macros
>   perf tools: Use default CPUINFO_PROC where it fits
> 
> Daniel Díaz (1):
>   tools lib bpf: Fix double file test in Makefile
> 
> Taeung Song (4):
>   perf annotate stdio: Support --show-nr-samples option
>   perf annotate: Document --show-total-period option
>   perf annotate browser: Support --show-nr-samples option
>   perf annotate browser: Circulate percent, total-period and nr-samples 
> view
> 
>  tools/lib/bpf/Makefile |  4 +-
>  tools/perf/Documentation/perf-annotate.txt |  6 ++
>  tools/perf/builtin-annotate.c  | 16 -
>  tools/perf/builtin-trace.c |  2 +-
>  tools/perf/perf-sys.h  | 28 +
>  tools/perf/pmu-events/jevents.c|  2 +
>  tools/perf/tests/bpf.c | 16 ++---
>  tools/perf/ui/browsers/annotate.c  | 25 ++--
>  tools/perf/util/annotate.c |  6 +-
>  tools/perf/util/header.c   |  3 -
>  tools/perf/util/parse-events.c | 96 
> +++---
>  tools/perf/util/parse-events.h | 19 +++---
>  tools/perf/util/parse-events.y | 94 ++---
>  13 files changed, 159 insertions(+), 158 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2017-04-04 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit fcc309e618c9e9ac4ede010d87522b0689549658:
> 
>   Merge tag 'perf-core-for-mingo-4.12-20170331' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2017-04-01 12:43:40 +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.12-20170404
> 
> for you to fetch changes up to 99094a5e941fe88d95cbd594e6a41bee24003ecb:
> 
>   perf annotate: Fix missing number of samples for source_line_samples 
> (2017-04-04 21:08:00 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Add missing number of samples in 'perf annotate --stdio -l 
> --show-total-period'
>   (Taeung Song)
> 
> Vendor events updates:
> 
> - Add uncore_arb Intel vendor events in JSON format (Andi Kleen)
> 
> - Add uncore vendor events for Intel's Sandy Bridge, Ivy Bridge,
>   Haswell, Broadwell and Skylake architectures (Andi Kleen)
> 
> - Add missing UNC_M_DCLOCKTICKS Intel Broadwell DE uncore vendor event (Andi 
> Kleen)
> 
> Infrastructure:
> 
> - Remove some more die() calls, avoiding sudden death in library code
>   (Arnaldo Carvalho de Melo)
> 
> - Add argument support for SDT events in powerpc (Ravi Bangoria)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Andi Kleen (8):
>   perf vendor events intel: Add missing UNC_M_DCLOCKTICKS for Broadwell 
> DE uncore
>   perf vendor events intel: Add uncore events for Sandy Bridge client
>   perf vendor events intel: Add uncore events for Ivy Bridge client
>   perf vendor events intel: Add uncore events for Haswell client
>   perf vendor events intel: Add uncore events for Broadwell client
>   perf vendor events intel: Add uncore events for Skylake client
>   perf vendor events intel: Add uncore_arb JSON support
>   perf vendor events intel: Add missing space in json descriptions
> 
> Arnaldo Carvalho de Melo (4):
>   Merge branch 'perf/uncore-json-updates-1' of 
> git://git.kernel.org/.../ak/linux-misc into perf/core
>   perf tools: Remove die() call
>   perf tools: Handle allocation failures gracefully
>   perf tools: Don't die on a print function
> 
> Ravi Bangoria (1):
>   perf sdt powerpc: Add argument support
> 
> Taeung Song (1):
>   perf annotate: Fix missing number of samples for source_line_samples
> 
>  tools/perf/arch/powerpc/util/perf_regs.c   | 111 ++
>  tools/perf/perf.c  |   3 +-
>  .../perf/pmu-events/arch/x86/broadwell/uncore.json | 278 +++
>  .../arch/x86/broadwellde/uncore-memory.json|  13 +-
>  tools/perf/pmu-events/arch/x86/haswell/uncore.json | 374 
> +
>  .../perf/pmu-events/arch/x86/ivybridge/uncore.json | 314 +
>  .../pmu-events/arch/x86/sandybridge/uncore.json| 314 +
>  tools/perf/pmu-events/arch/x86/skylake/uncore.json | 254 ++
>  tools/perf/pmu-events/jevents.c|   2 +
>  tools/perf/util/annotate.c |   6 +-
>  tools/perf/util/annotate.h |   2 +-
>  tools/perf/util/values.c   |  63 +++-
>  12 files changed, 1710 insertions(+), 24 deletions(-)
>  create mode 100644 tools/perf/pmu-events/arch/x86/broadwell/uncore.json
>  create mode 100644 tools/perf/pmu-events/arch/x86/haswell/uncore.json
>  create mode 100644 tools/perf/pmu-events/arch/x86/ivybridge/uncore.json
>  create mode 100644 tools/perf/pmu-events/arch/x86/sandybridge/uncore.json
>  create mode 100644 tools/perf/pmu-events/arch/x86/skylake/uncore.json

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2017-04-04 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit fcc309e618c9e9ac4ede010d87522b0689549658:
> 
>   Merge tag 'perf-core-for-mingo-4.12-20170331' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2017-04-01 12:43:40 +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.12-20170404
> 
> for you to fetch changes up to 99094a5e941fe88d95cbd594e6a41bee24003ecb:
> 
>   perf annotate: Fix missing number of samples for source_line_samples 
> (2017-04-04 21:08:00 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Add missing number of samples in 'perf annotate --stdio -l 
> --show-total-period'
>   (Taeung Song)
> 
> Vendor events updates:
> 
> - Add uncore_arb Intel vendor events in JSON format (Andi Kleen)
> 
> - Add uncore vendor events for Intel's Sandy Bridge, Ivy Bridge,
>   Haswell, Broadwell and Skylake architectures (Andi Kleen)
> 
> - Add missing UNC_M_DCLOCKTICKS Intel Broadwell DE uncore vendor event (Andi 
> Kleen)
> 
> Infrastructure:
> 
> - Remove some more die() calls, avoiding sudden death in library code
>   (Arnaldo Carvalho de Melo)
> 
> - Add argument support for SDT events in powerpc (Ravi Bangoria)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Andi Kleen (8):
>   perf vendor events intel: Add missing UNC_M_DCLOCKTICKS for Broadwell 
> DE uncore
>   perf vendor events intel: Add uncore events for Sandy Bridge client
>   perf vendor events intel: Add uncore events for Ivy Bridge client
>   perf vendor events intel: Add uncore events for Haswell client
>   perf vendor events intel: Add uncore events for Broadwell client
>   perf vendor events intel: Add uncore events for Skylake client
>   perf vendor events intel: Add uncore_arb JSON support
>   perf vendor events intel: Add missing space in json descriptions
> 
> Arnaldo Carvalho de Melo (4):
>   Merge branch 'perf/uncore-json-updates-1' of 
> git://git.kernel.org/.../ak/linux-misc into perf/core
>   perf tools: Remove die() call
>   perf tools: Handle allocation failures gracefully
>   perf tools: Don't die on a print function
> 
> Ravi Bangoria (1):
>   perf sdt powerpc: Add argument support
> 
> Taeung Song (1):
>   perf annotate: Fix missing number of samples for source_line_samples
> 
>  tools/perf/arch/powerpc/util/perf_regs.c   | 111 ++
>  tools/perf/perf.c  |   3 +-
>  .../perf/pmu-events/arch/x86/broadwell/uncore.json | 278 +++
>  .../arch/x86/broadwellde/uncore-memory.json|  13 +-
>  tools/perf/pmu-events/arch/x86/haswell/uncore.json | 374 
> +
>  .../perf/pmu-events/arch/x86/ivybridge/uncore.json | 314 +
>  .../pmu-events/arch/x86/sandybridge/uncore.json| 314 +
>  tools/perf/pmu-events/arch/x86/skylake/uncore.json | 254 ++
>  tools/perf/pmu-events/jevents.c|   2 +
>  tools/perf/util/annotate.c |   6 +-
>  tools/perf/util/annotate.h |   2 +-
>  tools/perf/util/values.c   |  63 +++-
>  12 files changed, 1710 insertions(+), 24 deletions(-)
>  create mode 100644 tools/perf/pmu-events/arch/x86/broadwell/uncore.json
>  create mode 100644 tools/perf/pmu-events/arch/x86/haswell/uncore.json
>  create mode 100644 tools/perf/pmu-events/arch/x86/ivybridge/uncore.json
>  create mode 100644 tools/perf/pmu-events/arch/x86/sandybridge/uncore.json
>  create mode 100644 tools/perf/pmu-events/arch/x86/skylake/uncore.json

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2017-01-12 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> * The following description will move to the end in the next pull requests *
> 
> The first ones are container (docker) based builds of tools/perf with and
> without libelf support, objtool where it is supported and samples/bpf/, ditto.
> 
> Several are cross builds, the ones with -x-ARCH, and the android one, and 
> those
> may not have all the features built, due to lack of multi-arch devel packages,
> available and being used so far on just a few, like
> debian:experimental-x-{arm64,mipsel}.
> 
> The 'perf test' one will perform a variety of tests exercising
> tools/perf/util/, tools/lib/{bpf,traceevent,etc}, as well as run perf commands
> with a variety of command line event specifications to then intercept the
> sys_perf_event syscall to check that the perf_event_attr fields are set up as
> expected, among a variety of other unit tests.
> 
> Then there is the 'make -C tools/perf build-test' ones, that build tools/perf/
> with a variety of feature sets, exercising the build with an incomplete set of
> features as well as with a complete one. It is planned to have it run on each
> of the containers mentioned above, using some container orchestration
> infrastructure. Get in contact if interested in helping having this in place.
> 
> The following changes since commit ad5013d5699d30ded0cdbbc68b93b2aa28222c6e:
> 
>   perf/x86/intel: Use ULL constant to prevent undefined shift behaviour 
> (2017-01-11 16:43: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-4.11-20170111
> 
> for you to fetch changes up to 675f52b23743f396c585fc9d135435be37f320d8:
> 
>   tools: Sync x86's vmx.h with the kernel (2017-01-11 16:48:02 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> New features:
> 
> - Add more triggers to switch the output file (perf.data.TIMESTAMP).
> 
>   Now, in addition to switching to a different output file when
>   receiving a SIGUSR2, one can also specify file size and time based
>   triggers:
> 
>perf record -a --switch-output=signal
> 
>   is equivalent to what we had before:
> 
>perf record -a --switch-output
> 
>   While we can also ask for the file to be "sliced" by size, taking
>   into account that that will happen only when we get woken up by
>   the kernel, i.e. one has to take into account the --mmap-pages (the
>   size of the perf mmap ring buffer):
> 
>perf record -a --switch-output=2G
> 
>   will break the perf.data output into multiple files limited to 2GB
>   of samples, right when generating the output.
> 
>   For time based samples, alert() will be used, so to have 1 minute
>   limited perf.data output files:
> 
>   perf record -a --switch-output=1m
> 
>   (Jiri Olsa)
> 
> - Remove the need to use -e only for syscalls and --event only for
>   tracepoints/HW/SW/etc events, i.e. now one can use:
> 
>   perf trace -e nanosleep,futex,sched:sched_switch ./workload
> 
>   or:
> 
>   perf trace --event nanosleep,futex,sched:sched_switch ./workload
> 
>   And have it tracing raw_syscalls:sys_{enter,exit} for the nanosleep
>   and futex syscalls, formatting those as strace does while also
>   tracing sched:sched_switch, ordering it all into one strace like
>   output.
> 
>   Using '!' as the first character in the -e/--event argument remains
>   a way to negate the list of syscalls, i.e. all syscalls except for
>   the ones specified, doesn't affect the other kinds of events.
> 
>   E.g:
> 
>   [root@jouet ~] # perf trace -e sched:sched_switch,nanosleep usleep 1
>  0.000 ( 0.028 ms): usleep/28150 nanosleep(rqtp: 0x7ffe4201b9f0) ...
>  0.028 ( ): sched:sched_switch:usleep:28150 [120] S ==> 
> swapper/0:0 [120])
>  0.000 ( 0.065 ms): usleep/28150  ... [continued]: nanosleep()) = 0
>   [root@jouet ~]#
> 
>   (Arnaldo Carvalho de Melo)
> 
> - 'perf kallsyms' toy tool to look for extended symbol information on
>   the running kernel and demonstrate the machine/thread/symbol APIs for
>   use in other tools, such as 'perf probe' (Arnaldo Carvalho de Melo)
> 
> Infrastructure:
> 
> - Add missing linux/kernel.h include to subcmd.h (Arnaldo Carvalho de Melo)
>   tools: Sync x86's vmx.h with the kernel
> 
> - Create libdir directory before installing libperf-jvmti.so (Laura Abbott)
> 
> - Fix typo in perf_evlist__start_workload() (Soramichi Akiyama)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (5):
>   tools lib subcmd: Add missing linux/kernel.h include to subcmd.h
>   perf machine: Add a kallsyms loading constructor
>   perf kallsyms: Introduce tool to look for extended symbol 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2017-01-12 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> * The following description will move to the end in the next pull requests *
> 
> The first ones are container (docker) based builds of tools/perf with and
> without libelf support, objtool where it is supported and samples/bpf/, ditto.
> 
> Several are cross builds, the ones with -x-ARCH, and the android one, and 
> those
> may not have all the features built, due to lack of multi-arch devel packages,
> available and being used so far on just a few, like
> debian:experimental-x-{arm64,mipsel}.
> 
> The 'perf test' one will perform a variety of tests exercising
> tools/perf/util/, tools/lib/{bpf,traceevent,etc}, as well as run perf commands
> with a variety of command line event specifications to then intercept the
> sys_perf_event syscall to check that the perf_event_attr fields are set up as
> expected, among a variety of other unit tests.
> 
> Then there is the 'make -C tools/perf build-test' ones, that build tools/perf/
> with a variety of feature sets, exercising the build with an incomplete set of
> features as well as with a complete one. It is planned to have it run on each
> of the containers mentioned above, using some container orchestration
> infrastructure. Get in contact if interested in helping having this in place.
> 
> The following changes since commit ad5013d5699d30ded0cdbbc68b93b2aa28222c6e:
> 
>   perf/x86/intel: Use ULL constant to prevent undefined shift behaviour 
> (2017-01-11 16:43: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-4.11-20170111
> 
> for you to fetch changes up to 675f52b23743f396c585fc9d135435be37f320d8:
> 
>   tools: Sync x86's vmx.h with the kernel (2017-01-11 16:48:02 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> New features:
> 
> - Add more triggers to switch the output file (perf.data.TIMESTAMP).
> 
>   Now, in addition to switching to a different output file when
>   receiving a SIGUSR2, one can also specify file size and time based
>   triggers:
> 
>perf record -a --switch-output=signal
> 
>   is equivalent to what we had before:
> 
>perf record -a --switch-output
> 
>   While we can also ask for the file to be "sliced" by size, taking
>   into account that that will happen only when we get woken up by
>   the kernel, i.e. one has to take into account the --mmap-pages (the
>   size of the perf mmap ring buffer):
> 
>perf record -a --switch-output=2G
> 
>   will break the perf.data output into multiple files limited to 2GB
>   of samples, right when generating the output.
> 
>   For time based samples, alert() will be used, so to have 1 minute
>   limited perf.data output files:
> 
>   perf record -a --switch-output=1m
> 
>   (Jiri Olsa)
> 
> - Remove the need to use -e only for syscalls and --event only for
>   tracepoints/HW/SW/etc events, i.e. now one can use:
> 
>   perf trace -e nanosleep,futex,sched:sched_switch ./workload
> 
>   or:
> 
>   perf trace --event nanosleep,futex,sched:sched_switch ./workload
> 
>   And have it tracing raw_syscalls:sys_{enter,exit} for the nanosleep
>   and futex syscalls, formatting those as strace does while also
>   tracing sched:sched_switch, ordering it all into one strace like
>   output.
> 
>   Using '!' as the first character in the -e/--event argument remains
>   a way to negate the list of syscalls, i.e. all syscalls except for
>   the ones specified, doesn't affect the other kinds of events.
> 
>   E.g:
> 
>   [root@jouet ~] # perf trace -e sched:sched_switch,nanosleep usleep 1
>  0.000 ( 0.028 ms): usleep/28150 nanosleep(rqtp: 0x7ffe4201b9f0) ...
>  0.028 ( ): sched:sched_switch:usleep:28150 [120] S ==> 
> swapper/0:0 [120])
>  0.000 ( 0.065 ms): usleep/28150  ... [continued]: nanosleep()) = 0
>   [root@jouet ~]#
> 
>   (Arnaldo Carvalho de Melo)
> 
> - 'perf kallsyms' toy tool to look for extended symbol information on
>   the running kernel and demonstrate the machine/thread/symbol APIs for
>   use in other tools, such as 'perf probe' (Arnaldo Carvalho de Melo)
> 
> Infrastructure:
> 
> - Add missing linux/kernel.h include to subcmd.h (Arnaldo Carvalho de Melo)
>   tools: Sync x86's vmx.h with the kernel
> 
> - Create libdir directory before installing libperf-jvmti.so (Laura Abbott)
> 
> - Fix typo in perf_evlist__start_workload() (Soramichi Akiyama)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (5):
>   tools lib subcmd: Add missing linux/kernel.h include to subcmd.h
>   perf machine: Add a kallsyms loading constructor
>   perf kallsyms: Introduce tool to look for extended symbol information 
> on the running kernel
> 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2016-10-06 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Build and test stats at the end of the message.
> 
> The following changes since commit 8657355f5b5f657407efc12a2223e8a3a6d658de:
> 
>   Merge tag 'perf-core-for-mingo-20161003' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
> (2016-10-04 10:04:47 +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-20161005
> 
> for you to fetch changes up to 87095f7ddeff3038a0cf8e6574922f9c11688619:
> 
>   tools build: Add feature detection for g++ (2016-10-05 19:59:35 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> - Intel PT timestamp fixes (Adrian Hunter)
> 
> - Fix Intel JSON fixed counter conversions (Andi Kleen)
> 
> - Sync memcpy, cpufeatures and bpf headers with the kernel (Arnaldo Carvalho 
> de Melo)
> 
> - Add some more tool tips (Donghyun Kim, Kim SeonYoung, Nambong Ha)
> 
> - Fix libtraceevent's kbuffer_read_at_offset() handling of offsets before or
>   equal the first event (Namhyung Kim)
> 
> - Fix uretprobe probe placement on ppc64le (Ravi Bangoria)
> 
> - Support building C++ source files and add feature detection for g++,
>   prep work for supporting a builtin clang/llvm, to remove the need for having
>   that toolchain installed to automagically build BPF scriptlets that then
>   gets uploaded to the kernel via sys_bpf() (Wang Nan)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (2):
>   perf intel-pt: Fix estimated timestamps for cycle-accurate mode
>   perf intel-pt: Fix MTC timestamp calculation for large MTC periods
> 
> Andi Kleen (1):
>   perf jevents: Fix Intel JSON fixed counter conversions
> 
> Arnaldo Carvalho de Melo (3):
>   perf bench mem: Sync memcpy assembly sources with the kernel
>   tools: Synchronize tools/arch/x86/include/asm/cpufeatures.h
>   tools: Synchronize tools/include/uapi/linux/bpf.h
> 
> Donghyun Kim (1):
>   perf report/top: Add a tip about system-wide collection from all CPUs
> 
> Kim SeonYoung (1):
>   perf report/top: Add a tip about source line numbers with overhead
> 
> Nambong Ha (1):
>   perf top/report: Add tips about a list option
> 
> Namhyung Kim (1):
>   tools lib traceevent: Fix kbuffer_read_at_offset()
> 
> Ravi Bangoria (1):
>   perf uretprobe ppc64le: Fix probe location
> 
> Wang Nan (2):
>   tools build: Support compiling C++ source file
>   tools build: Add feature detection for g++
> 
>  tools/arch/x86/include/asm/cpufeatures.h   |  1 -
>  tools/arch/x86/lib/memcpy_64.S |  6 ++--
>  tools/build/Build.include  |  1 +
>  tools/build/Makefile.build |  7 
>  tools/build/Makefile.feature   |  2 +-
>  tools/build/feature/Makefile   | 10 +-
>  tools/build/feature/test-cxx.cpp   | 15 +
>  tools/include/uapi/linux/bpf.h |  4 +--
>  tools/lib/traceevent/kbuffer-parse.c   |  1 +
>  tools/perf/Documentation/tips.txt  |  4 +++
>  tools/perf/arch/powerpc/util/sym-handling.c|  3 +-
>  tools/perf/pmu-events/jevents.c|  2 ++
>  .../perf/util/intel-pt-decoder/intel-pt-decoder.c  | 38 
> ++
>  13 files changed, 85 insertions(+), 9 deletions(-)
>  create mode 100644 tools/build/feature/test-cxx.cpp
> 
>   [root@jouet ~]# time dm
>1 alpine:3.4: Ok
>2 android-ndk:r12b-arm: Ok
>3 archlinux:latest: Ok
>4 centos:5: Ok
>5 centos:6: Ok
>6 centos:7: Ok
>7 debian:7: Ok
>8 debian:8: Ok
>9 debian:experimental: Ok
>   10 fedora:20: Ok
>   11 fedora:21: Ok
>   12 fedora:22: Ok
>   13 fedora:23: Ok
>   14 fedora:24: Ok
>   15 fedora:24-x-ARC-uClibc: Ok
>   16 fedora:rawhide: Ok
>   17 mageia:5: Ok
>   18 opensuse:13.2: Ok
>   19 opensuse:42.1: Ok
>   20 opensuse:tumbleweed: Ok
>   21 ubuntu:12.04.5: Ok
>   22 ubuntu:14.04: Ok
>   23 ubuntu:14.04.4: Ok
>   24 ubuntu:15.10: Ok
>   25 ubuntu:16.04: Ok
>   26 ubuntu:16.04-x-arm: Ok
>   27 ubuntu:16.04-x-arm64: Ok
>   28 ubuntu:16.04-x-powerpc: Ok
>   29 ubuntu:16.04-x-powerpc64: Ok
>   30 ubuntu:16.04-x-powerpc64el: Ok
>   31 ubuntu:16.04-x-s390: Ok
>   32 ubuntu:16.10: Ok
> 
>   real44m58.202s
>   user0m2.864s
>   sys 0m1.975s
>   [root@jouet ~]#
> 
>   [acme@jouet linux]$ make -C tools/perf build-test
>   make: Entering directory '/home/acme/git/linux/tools/perf'
> tarpkg: ./tests/perf-targz-src-pkg .
>  make_static_O: make LDFLAGS=-static
>   make_no_libdw_dwarf_unwind_O: make NO_LIBDW_DWARF_UNWIND=1
>make_install_prefix_slash_O: make install 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2016-10-06 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> Build and test stats at the end of the message.
> 
> The following changes since commit 8657355f5b5f657407efc12a2223e8a3a6d658de:
> 
>   Merge tag 'perf-core-for-mingo-20161003' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
> (2016-10-04 10:04:47 +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-20161005
> 
> for you to fetch changes up to 87095f7ddeff3038a0cf8e6574922f9c11688619:
> 
>   tools build: Add feature detection for g++ (2016-10-05 19:59:35 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> - Intel PT timestamp fixes (Adrian Hunter)
> 
> - Fix Intel JSON fixed counter conversions (Andi Kleen)
> 
> - Sync memcpy, cpufeatures and bpf headers with the kernel (Arnaldo Carvalho 
> de Melo)
> 
> - Add some more tool tips (Donghyun Kim, Kim SeonYoung, Nambong Ha)
> 
> - Fix libtraceevent's kbuffer_read_at_offset() handling of offsets before or
>   equal the first event (Namhyung Kim)
> 
> - Fix uretprobe probe placement on ppc64le (Ravi Bangoria)
> 
> - Support building C++ source files and add feature detection for g++,
>   prep work for supporting a builtin clang/llvm, to remove the need for having
>   that toolchain installed to automagically build BPF scriptlets that then
>   gets uploaded to the kernel via sys_bpf() (Wang Nan)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (2):
>   perf intel-pt: Fix estimated timestamps for cycle-accurate mode
>   perf intel-pt: Fix MTC timestamp calculation for large MTC periods
> 
> Andi Kleen (1):
>   perf jevents: Fix Intel JSON fixed counter conversions
> 
> Arnaldo Carvalho de Melo (3):
>   perf bench mem: Sync memcpy assembly sources with the kernel
>   tools: Synchronize tools/arch/x86/include/asm/cpufeatures.h
>   tools: Synchronize tools/include/uapi/linux/bpf.h
> 
> Donghyun Kim (1):
>   perf report/top: Add a tip about system-wide collection from all CPUs
> 
> Kim SeonYoung (1):
>   perf report/top: Add a tip about source line numbers with overhead
> 
> Nambong Ha (1):
>   perf top/report: Add tips about a list option
> 
> Namhyung Kim (1):
>   tools lib traceevent: Fix kbuffer_read_at_offset()
> 
> Ravi Bangoria (1):
>   perf uretprobe ppc64le: Fix probe location
> 
> Wang Nan (2):
>   tools build: Support compiling C++ source file
>   tools build: Add feature detection for g++
> 
>  tools/arch/x86/include/asm/cpufeatures.h   |  1 -
>  tools/arch/x86/lib/memcpy_64.S |  6 ++--
>  tools/build/Build.include  |  1 +
>  tools/build/Makefile.build |  7 
>  tools/build/Makefile.feature   |  2 +-
>  tools/build/feature/Makefile   | 10 +-
>  tools/build/feature/test-cxx.cpp   | 15 +
>  tools/include/uapi/linux/bpf.h |  4 +--
>  tools/lib/traceevent/kbuffer-parse.c   |  1 +
>  tools/perf/Documentation/tips.txt  |  4 +++
>  tools/perf/arch/powerpc/util/sym-handling.c|  3 +-
>  tools/perf/pmu-events/jevents.c|  2 ++
>  .../perf/util/intel-pt-decoder/intel-pt-decoder.c  | 38 
> ++
>  13 files changed, 85 insertions(+), 9 deletions(-)
>  create mode 100644 tools/build/feature/test-cxx.cpp
> 
>   [root@jouet ~]# time dm
>1 alpine:3.4: Ok
>2 android-ndk:r12b-arm: Ok
>3 archlinux:latest: Ok
>4 centos:5: Ok
>5 centos:6: Ok
>6 centos:7: Ok
>7 debian:7: Ok
>8 debian:8: Ok
>9 debian:experimental: Ok
>   10 fedora:20: Ok
>   11 fedora:21: Ok
>   12 fedora:22: Ok
>   13 fedora:23: Ok
>   14 fedora:24: Ok
>   15 fedora:24-x-ARC-uClibc: Ok
>   16 fedora:rawhide: Ok
>   17 mageia:5: Ok
>   18 opensuse:13.2: Ok
>   19 opensuse:42.1: Ok
>   20 opensuse:tumbleweed: Ok
>   21 ubuntu:12.04.5: Ok
>   22 ubuntu:14.04: Ok
>   23 ubuntu:14.04.4: Ok
>   24 ubuntu:15.10: Ok
>   25 ubuntu:16.04: Ok
>   26 ubuntu:16.04-x-arm: Ok
>   27 ubuntu:16.04-x-arm64: Ok
>   28 ubuntu:16.04-x-powerpc: Ok
>   29 ubuntu:16.04-x-powerpc64: Ok
>   30 ubuntu:16.04-x-powerpc64el: Ok
>   31 ubuntu:16.04-x-s390: Ok
>   32 ubuntu:16.10: Ok
> 
>   real44m58.202s
>   user0m2.864s
>   sys 0m1.975s
>   [root@jouet ~]#
> 
>   [acme@jouet linux]$ make -C tools/perf build-test
>   make: Entering directory '/home/acme/git/linux/tools/perf'
> tarpkg: ./tests/perf-targz-src-pkg .
>  make_static_O: make LDFLAGS=-static
>   make_no_libdw_dwarf_unwind_O: make NO_LIBDW_DWARF_UNWIND=1
>make_install_prefix_slash_O: make install prefix=/tmp/krava/
>   

Re: [GIT PULL 00/13] perf/core improvements and fixes

2016-05-12 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> From: Arnaldo Carvalho de Melo 
> 
> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 38f5d8b32f36bcac1f54d4511a81e02ed8771a29:
> 
>   Merge tag 'perf-core-for-mingo-20160510' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2016-05-11 16:56:58 +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-20160511
> 
> for you to fetch changes up to d65444d2fba98dcd4fa028ffada39c36a46f0038:
> 
>   perf buildid-cache: Use lsdir() for looking up buildid caches (2016-05-11 
> 13:06:08 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Fix symbol insertion and callchain behavior in db-export (Chris Phlipot)
> 
> Infrastructure:
> 
> - Add libunwind build test (feature query), working towards supporting
>   cross-platform DWARF callchains, starting with arm/arm64 (He Kuang)
> 
> - Use lsdir() more extensively (Masami Hiramatsu)
> 
> - Use SBUILD_ID_SIZE in places where the equivalent expression was
>   being used (Masami Hiramatsu)
> 
> - Split some more 'perf trace' syscall arg beautifiers (Arnaldo Carvalho de 
> Melo)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (3):
>   perf scripting python: Use Py_FatalError instead of die()
>   perf trace: Move flock op beautifier to tools/perf/trace/beauty/
>   perf trace: Move seccomp args beautifiers to tools/perf/trace/beauty/
> 
> Chris Phlipot (4):
>   perf symbols: Add dso__insert_symbol function
>   perf script: Fix symbol insertion behavior in db-export
>   perf script: Fix callchain addresses in db-export
>   perf script: Fix export of callchains with recursion in db-export
> 
> He Kuang (2):
>   perf build: Add build-test for libunwind cross-platforms support
>   perf build: Add build-test for debug-frame on arm/arm64
> 
> Masami Hiramatsu (4):
>   perf tools: Fix lsdir to set errno correctly
>   perf tools: Use SBUILD_ID_SIZE where applicable
>   perf symbols: Use lsdir() for the search in kcore cache directory
>   perf buildid-cache: Use lsdir() for looking up buildid caches
> 
>  tools/build/Makefile.feature   |  8 +-
>  tools/build/feature/Makefile   | 23 ++
>  tools/build/feature/test-libunwind-aarch64.c   | 26 +++
>  tools/build/feature/test-libunwind-arm.c   | 27 +++
>  .../feature/test-libunwind-debug-frame-aarch64.c   | 16 
>  .../build/feature/test-libunwind-debug-frame-arm.c | 16 
>  tools/build/feature/test-libunwind-x86.c   | 27 +++
>  tools/build/feature/test-libunwind-x86_64.c| 27 +++
>  tools/perf/builtin-trace.c | 85 
> +-
>  tools/perf/trace/beauty/flock.c| 31 
>  tools/perf/trace/beauty/seccomp.c  | 52 +
>  tools/perf/util/annotate.c |  2 +-
>  tools/perf/util/build-id.c | 30 +---
>  tools/perf/util/db-export.c| 12 +--
>  tools/perf/util/dso.c  |  4 +-
>  tools/perf/util/header.c   |  2 +-
>  tools/perf/util/map.c  |  2 +-
>  .../util/scripting-engines/trace-event-python.c|  9 ++-
>  tools/perf/util/symbol.c   | 40 ++
>  tools/perf/util/symbol.h   |  3 +
>  tools/perf/util/util.c |  2 +-
>  21 files changed, 306 insertions(+), 138 deletions(-)
>  create mode 100644 tools/build/feature/test-libunwind-aarch64.c
>  create mode 100644 tools/build/feature/test-libunwind-arm.c
>  create mode 100644 tools/build/feature/test-libunwind-debug-frame-aarch64.c
>  create mode 100644 tools/build/feature/test-libunwind-debug-frame-arm.c
>  create mode 100644 tools/build/feature/test-libunwind-x86.c
>  create mode 100644 tools/build/feature/test-libunwind-x86_64.c
>  create mode 100644 tools/perf/trace/beauty/flock.c
>  create mode 100644 tools/perf/trace/beauty/seccomp.c

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2016-05-12 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> From: Arnaldo Carvalho de Melo 
> 
> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 38f5d8b32f36bcac1f54d4511a81e02ed8771a29:
> 
>   Merge tag 'perf-core-for-mingo-20160510' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2016-05-11 16:56:58 +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-20160511
> 
> for you to fetch changes up to d65444d2fba98dcd4fa028ffada39c36a46f0038:
> 
>   perf buildid-cache: Use lsdir() for looking up buildid caches (2016-05-11 
> 13:06:08 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Fix symbol insertion and callchain behavior in db-export (Chris Phlipot)
> 
> Infrastructure:
> 
> - Add libunwind build test (feature query), working towards supporting
>   cross-platform DWARF callchains, starting with arm/arm64 (He Kuang)
> 
> - Use lsdir() more extensively (Masami Hiramatsu)
> 
> - Use SBUILD_ID_SIZE in places where the equivalent expression was
>   being used (Masami Hiramatsu)
> 
> - Split some more 'perf trace' syscall arg beautifiers (Arnaldo Carvalho de 
> Melo)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (3):
>   perf scripting python: Use Py_FatalError instead of die()
>   perf trace: Move flock op beautifier to tools/perf/trace/beauty/
>   perf trace: Move seccomp args beautifiers to tools/perf/trace/beauty/
> 
> Chris Phlipot (4):
>   perf symbols: Add dso__insert_symbol function
>   perf script: Fix symbol insertion behavior in db-export
>   perf script: Fix callchain addresses in db-export
>   perf script: Fix export of callchains with recursion in db-export
> 
> He Kuang (2):
>   perf build: Add build-test for libunwind cross-platforms support
>   perf build: Add build-test for debug-frame on arm/arm64
> 
> Masami Hiramatsu (4):
>   perf tools: Fix lsdir to set errno correctly
>   perf tools: Use SBUILD_ID_SIZE where applicable
>   perf symbols: Use lsdir() for the search in kcore cache directory
>   perf buildid-cache: Use lsdir() for looking up buildid caches
> 
>  tools/build/Makefile.feature   |  8 +-
>  tools/build/feature/Makefile   | 23 ++
>  tools/build/feature/test-libunwind-aarch64.c   | 26 +++
>  tools/build/feature/test-libunwind-arm.c   | 27 +++
>  .../feature/test-libunwind-debug-frame-aarch64.c   | 16 
>  .../build/feature/test-libunwind-debug-frame-arm.c | 16 
>  tools/build/feature/test-libunwind-x86.c   | 27 +++
>  tools/build/feature/test-libunwind-x86_64.c| 27 +++
>  tools/perf/builtin-trace.c | 85 
> +-
>  tools/perf/trace/beauty/flock.c| 31 
>  tools/perf/trace/beauty/seccomp.c  | 52 +
>  tools/perf/util/annotate.c |  2 +-
>  tools/perf/util/build-id.c | 30 +---
>  tools/perf/util/db-export.c| 12 +--
>  tools/perf/util/dso.c  |  4 +-
>  tools/perf/util/header.c   |  2 +-
>  tools/perf/util/map.c  |  2 +-
>  .../util/scripting-engines/trace-event-python.c|  9 ++-
>  tools/perf/util/symbol.c   | 40 ++
>  tools/perf/util/symbol.h   |  3 +
>  tools/perf/util/util.c |  2 +-
>  21 files changed, 306 insertions(+), 138 deletions(-)
>  create mode 100644 tools/build/feature/test-libunwind-aarch64.c
>  create mode 100644 tools/build/feature/test-libunwind-arm.c
>  create mode 100644 tools/build/feature/test-libunwind-debug-frame-aarch64.c
>  create mode 100644 tools/build/feature/test-libunwind-debug-frame-arm.c
>  create mode 100644 tools/build/feature/test-libunwind-x86.c
>  create mode 100644 tools/build/feature/test-libunwind-x86_64.c
>  create mode 100644 tools/perf/trace/beauty/flock.c
>  create mode 100644 tools/perf/trace/beauty/seccomp.c

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2016-04-29 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling, tested on:
> 
>   [root@jouet ~]# docker-perf-build-test
>   alldeps-fedora-rawhide: Ok
>   alldeps-ubuntu-14.04: Ok
>   alldeps-ubuntu-16.04: Ok<- New image
>   alldeps-fedora-20: Ok
>   alldeps-ubuntu-12.04: Ok
>   minimal-debian-experimental-x-mips64: Ok
>   minimal-debian-experimental-x-mips64el: Ok
>   minimal-debian-experimental-x-mipsel: Ok
>   minimal-ubuntu-x-arm: Ok
>   minimal-ubuntu-x-arm64: Ok
>   minimal-ubuntu-x-ppc64: Ok
>   minimal-ubuntu-x-ppc64el: Ok
>   alldeps-debian: Ok
>   alldeps-mageia: Ok
>   alldeps-rhel7: Ok
>   alldeps-centos: Ok
>   alldeps-opensuse: Ok
>   [root@jouet ~]#
> 
> - Arnaldo
> 
> The following changes since commit 3521ba1cc351e80488c3f85748c92c3853b75818:
> 
>   powercap, perf/x86/intel/rapl: Add PSys support (2016-04-28 10:39:19 +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-20160429
> 
> for you to fetch changes up to ca7ce82a280a65c377c24c95c29b1dec6e80b428:
> 
>   perf tests: Do not use sizeof on pointer type (2016-04-28 15:37:52 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Allow generate timestamped suffixed multiple perf.data files upon receiving
>   SIGUSR2 in 'perf record', to slice a long running monitoring session, 
> allowing
>   to dump uninteresting sessions (Wang Nan)
> 
> - Handle ENOMEM for perf_event_max_stack + PERF_SAMPLE_CALLCHAIN
>   in perf_evsel__open_strerror(), showing a more informative
>   message when the request call stack depth can't be allocated by
>   the kernel (Arnaldo Carvalho de Melo)
> 
> Infrastructure:
> 
> - Use strbuf for making strings in 'perf probe' (Masami Hiramatsu)
> 
> - Do not use sizeof on pointer type, not a problem since its a pointer to
>   pointer, fix none the less. Found by Coccinelle (Vaishali Thakkar)
> 
> Cleanups:
> 
> - Fix for Coverity found issues in the bpf feature build test (Florian 
> Fainelli)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (3):
>   perf evsel: Handle ENOMEM for perf_event_max_stack + 
> PERF_SAMPLE_CALLCHAIN
>   perf evsel: Remove two extraneous ending newlines in open_strerror()
>   perf trace: Move msg_flags beautifier to tools/perf/trace/beauty/
> 
> Florian Fainelli (2):
>   bpf tools: Remove expression with no effect
>   bpf tools: Fix syscall argument
> 
> Masami Hiramatsu (1):
>   perf probe: Use strbuf for making strings
> 
> Vaishali Thakkar (1):
>   perf tests: Do not use sizeof on pointer type
> 
> Wang Nan (6):
>   perf tools: Introduce trigger class
>   perf tools: Derive trigger class from auxtrace_snapshot
>   perf record: Split output into multiple files via '--switch-output'
>   perf record: Force enable --timestamp-filename when --switch-output is 
> provided
>   perf record: Disable buildid cache options by default in switch output 
> mode
>   perf record: Generate tracking events for process forked by perf
> 
>  tools/build/feature/test-bpf.c   |   3 +-
>  tools/perf/Documentation/perf-record.txt |  13 ++
>  tools/perf/builtin-record.c  | 173 +++---
>  tools/perf/builtin-trace.c   |  62 +---
>  tools/perf/tests/dso-data.c  |   2 +-
>  tools/perf/trace/beauty/msg_flags.c  |  62 
>  tools/perf/util/evsel.c  |  12 +-
>  tools/perf/util/probe-event.c| 246 
> +++
>  tools/perf/util/probe-event.h|   2 +-
>  tools/perf/util/probe-finder.c   |  14 +-
>  tools/perf/util/trigger.h|  94 
>  11 files changed, 393 insertions(+), 290 deletions(-)
>  create mode 100644 tools/perf/trace/beauty/msg_flags.c
>  create mode 100644 tools/perf/util/trigger.h

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2016-04-29 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling, tested on:
> 
>   [root@jouet ~]# docker-perf-build-test
>   alldeps-fedora-rawhide: Ok
>   alldeps-ubuntu-14.04: Ok
>   alldeps-ubuntu-16.04: Ok<- New image
>   alldeps-fedora-20: Ok
>   alldeps-ubuntu-12.04: Ok
>   minimal-debian-experimental-x-mips64: Ok
>   minimal-debian-experimental-x-mips64el: Ok
>   minimal-debian-experimental-x-mipsel: Ok
>   minimal-ubuntu-x-arm: Ok
>   minimal-ubuntu-x-arm64: Ok
>   minimal-ubuntu-x-ppc64: Ok
>   minimal-ubuntu-x-ppc64el: Ok
>   alldeps-debian: Ok
>   alldeps-mageia: Ok
>   alldeps-rhel7: Ok
>   alldeps-centos: Ok
>   alldeps-opensuse: Ok
>   [root@jouet ~]#
> 
> - Arnaldo
> 
> The following changes since commit 3521ba1cc351e80488c3f85748c92c3853b75818:
> 
>   powercap, perf/x86/intel/rapl: Add PSys support (2016-04-28 10:39:19 +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-20160429
> 
> for you to fetch changes up to ca7ce82a280a65c377c24c95c29b1dec6e80b428:
> 
>   perf tests: Do not use sizeof on pointer type (2016-04-28 15:37:52 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Allow generate timestamped suffixed multiple perf.data files upon receiving
>   SIGUSR2 in 'perf record', to slice a long running monitoring session, 
> allowing
>   to dump uninteresting sessions (Wang Nan)
> 
> - Handle ENOMEM for perf_event_max_stack + PERF_SAMPLE_CALLCHAIN
>   in perf_evsel__open_strerror(), showing a more informative
>   message when the request call stack depth can't be allocated by
>   the kernel (Arnaldo Carvalho de Melo)
> 
> Infrastructure:
> 
> - Use strbuf for making strings in 'perf probe' (Masami Hiramatsu)
> 
> - Do not use sizeof on pointer type, not a problem since its a pointer to
>   pointer, fix none the less. Found by Coccinelle (Vaishali Thakkar)
> 
> Cleanups:
> 
> - Fix for Coverity found issues in the bpf feature build test (Florian 
> Fainelli)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (3):
>   perf evsel: Handle ENOMEM for perf_event_max_stack + 
> PERF_SAMPLE_CALLCHAIN
>   perf evsel: Remove two extraneous ending newlines in open_strerror()
>   perf trace: Move msg_flags beautifier to tools/perf/trace/beauty/
> 
> Florian Fainelli (2):
>   bpf tools: Remove expression with no effect
>   bpf tools: Fix syscall argument
> 
> Masami Hiramatsu (1):
>   perf probe: Use strbuf for making strings
> 
> Vaishali Thakkar (1):
>   perf tests: Do not use sizeof on pointer type
> 
> Wang Nan (6):
>   perf tools: Introduce trigger class
>   perf tools: Derive trigger class from auxtrace_snapshot
>   perf record: Split output into multiple files via '--switch-output'
>   perf record: Force enable --timestamp-filename when --switch-output is 
> provided
>   perf record: Disable buildid cache options by default in switch output 
> mode
>   perf record: Generate tracking events for process forked by perf
> 
>  tools/build/feature/test-bpf.c   |   3 +-
>  tools/perf/Documentation/perf-record.txt |  13 ++
>  tools/perf/builtin-record.c  | 173 +++---
>  tools/perf/builtin-trace.c   |  62 +---
>  tools/perf/tests/dso-data.c  |   2 +-
>  tools/perf/trace/beauty/msg_flags.c  |  62 
>  tools/perf/util/evsel.c  |  12 +-
>  tools/perf/util/probe-event.c| 246 
> +++
>  tools/perf/util/probe-event.h|   2 +-
>  tools/perf/util/probe-finder.c   |  14 +-
>  tools/perf/util/trigger.h|  94 
>  11 files changed, 393 insertions(+), 290 deletions(-)
>  create mode 100644 tools/perf/trace/beauty/msg_flags.c
>  create mode 100644 tools/perf/util/trigger.h

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2016-02-15 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> From: Arnaldo Carvalho de Melo 
> 
> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit a7636d9ecfa3ab7800a7c04c1f89378229eff609:
> 
>   kprobes: Optimize hot path by using percpu counter to collect 'nhit' 
> statistics (2016-02-09 11:08:58 +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 1ad826bad5bd0b6ccfb203f78c70302b764df0be:
> 
>   perf tests: Fix build on older systems where 'signal' is reserved 
> (2016-02-15 17:33:26 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Do not print trailing spaces in the hists browser (top, report) to
>   avoid line wrapping issues when long C++ demangled functions are
>   sampled (Arnaldo Carvalho de Melo)
> 
> - Allow 'perf config' to show --system or --user settings (Taeung Song)
> 
> - Add better warning about the need to install the audit-lib-python
>   package when using perf python scripts (Taeung Song)
> 
> - Fix symbol resolution when kernel modules files are only in the
>   build id cache (~/.debug) (Wang Nan)
> 
> Build fixes:
> 
> - Fix 'perf test' build on older systems where 'signal' is reserved (Arnaldo 
> Carvalho de Melo)
> 
> Infrastructure:
> 
> - Free the terms list_head in parse_events__free_terms(), also unlink the 
> entries
>   when deleting them (Wang Nan)
> 
> - Fix releasing event_class in 'perf data' fixing integration with
>   libbabeltrace (Wang Nan)
> 
> - Add EXTRA_LDFLAGS option to Makefile (Zubair Lutfullah Kakakhel)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (6):
>   perf tools: Add comment explaining the repsep_snprintf function
>   perf hists: Do column alignment on the format iterator
>   perf tools: Introduce parse_events_terms__purge()
>   perf tools: Use perf_event_terms__purge() for non-malloced terms
>   perf tools: Rename parse_events__free_terms() to 
> parse_events_terms__delete()
>   perf tests: Fix build on older systems where 'signal' is reserved
> 
> Taeung Song (2):
>   perf config: Add '--system' and '--user' options to select which config 
> file is used
>   perf python scripting: Append examples to err msg about 
> audit-libs-python
> 
> Wang Nan (4):
>   perf symbols: Fix symbols searching for module in buildid-cache
>   perf tools: Unlink entries from terms list
>   perf tools: Free the terms list_head in parse_events__free_terms()
>   perf data: Fix releasing event_class
> 
> Zubair Lutfullah Kakakhel (1):
>   perf build: Add EXTRA_LDFLAGS option to makefile
> 
>  tools/perf/Documentation/perf-config.txt   | 14 ++-
>  tools/perf/Makefile.perf   |  2 +
>  tools/perf/arch/x86/util/intel-pt.c|  2 +-
>  tools/perf/builtin-config.c| 27 +++--
>  .../python/Perf-Trace-Util/lib/Perf/Trace/Util.py  |  5 ++-
>  tools/perf/tests/bp_signal.c   | 12 +++---
>  tools/perf/tests/parse-events.c|  2 +-
>  tools/perf/ui/browsers/hists.c | 27 -
>  tools/perf/ui/stdio/hist.c |  1 +
>  tools/perf/util/build-id.c | 44 
> ++
>  tools/perf/util/build-id.h |  1 +
>  tools/perf/util/cache.h|  3 ++
>  tools/perf/util/config.c   |  4 +-
>  tools/perf/util/data-convert-bt.c  | 18 +
>  tools/perf/util/hist.c | 21 +++
>  tools/perf/util/hist.h |  5 +++
>  tools/perf/util/parse-events.c | 17 +++--
>  tools/perf/util/parse-events.h |  3 +-
>  tools/perf/util/parse-events.y |  8 ++--
>  tools/perf/util/pmu.c  |  2 +-
>  tools/perf/util/sort.c | 23 +--
>  tools/perf/util/symbol.c   |  4 ++
>  22 files changed, 200 insertions(+), 45 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2016-02-15 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> From: Arnaldo Carvalho de Melo 
> 
> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit a7636d9ecfa3ab7800a7c04c1f89378229eff609:
> 
>   kprobes: Optimize hot path by using percpu counter to collect 'nhit' 
> statistics (2016-02-09 11:08:58 +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 1ad826bad5bd0b6ccfb203f78c70302b764df0be:
> 
>   perf tests: Fix build on older systems where 'signal' is reserved 
> (2016-02-15 17:33:26 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Do not print trailing spaces in the hists browser (top, report) to
>   avoid line wrapping issues when long C++ demangled functions are
>   sampled (Arnaldo Carvalho de Melo)
> 
> - Allow 'perf config' to show --system or --user settings (Taeung Song)
> 
> - Add better warning about the need to install the audit-lib-python
>   package when using perf python scripts (Taeung Song)
> 
> - Fix symbol resolution when kernel modules files are only in the
>   build id cache (~/.debug) (Wang Nan)
> 
> Build fixes:
> 
> - Fix 'perf test' build on older systems where 'signal' is reserved (Arnaldo 
> Carvalho de Melo)
> 
> Infrastructure:
> 
> - Free the terms list_head in parse_events__free_terms(), also unlink the 
> entries
>   when deleting them (Wang Nan)
> 
> - Fix releasing event_class in 'perf data' fixing integration with
>   libbabeltrace (Wang Nan)
> 
> - Add EXTRA_LDFLAGS option to Makefile (Zubair Lutfullah Kakakhel)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (6):
>   perf tools: Add comment explaining the repsep_snprintf function
>   perf hists: Do column alignment on the format iterator
>   perf tools: Introduce parse_events_terms__purge()
>   perf tools: Use perf_event_terms__purge() for non-malloced terms
>   perf tools: Rename parse_events__free_terms() to 
> parse_events_terms__delete()
>   perf tests: Fix build on older systems where 'signal' is reserved
> 
> Taeung Song (2):
>   perf config: Add '--system' and '--user' options to select which config 
> file is used
>   perf python scripting: Append examples to err msg about 
> audit-libs-python
> 
> Wang Nan (4):
>   perf symbols: Fix symbols searching for module in buildid-cache
>   perf tools: Unlink entries from terms list
>   perf tools: Free the terms list_head in parse_events__free_terms()
>   perf data: Fix releasing event_class
> 
> Zubair Lutfullah Kakakhel (1):
>   perf build: Add EXTRA_LDFLAGS option to makefile
> 
>  tools/perf/Documentation/perf-config.txt   | 14 ++-
>  tools/perf/Makefile.perf   |  2 +
>  tools/perf/arch/x86/util/intel-pt.c|  2 +-
>  tools/perf/builtin-config.c| 27 +++--
>  .../python/Perf-Trace-Util/lib/Perf/Trace/Util.py  |  5 ++-
>  tools/perf/tests/bp_signal.c   | 12 +++---
>  tools/perf/tests/parse-events.c|  2 +-
>  tools/perf/ui/browsers/hists.c | 27 -
>  tools/perf/ui/stdio/hist.c |  1 +
>  tools/perf/util/build-id.c | 44 
> ++
>  tools/perf/util/build-id.h |  1 +
>  tools/perf/util/cache.h|  3 ++
>  tools/perf/util/config.c   |  4 +-
>  tools/perf/util/data-convert-bt.c  | 18 +
>  tools/perf/util/hist.c | 21 +++
>  tools/perf/util/hist.h |  5 +++
>  tools/perf/util/parse-events.c | 17 +++--
>  tools/perf/util/parse-events.h |  3 +-
>  tools/perf/util/parse-events.y |  8 ++--
>  tools/perf/util/pmu.c  |  2 +-
>  tools/perf/util/sort.c | 23 +--
>  tools/perf/util/symbol.c   |  4 ++
>  22 files changed, 200 insertions(+), 45 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-11-26 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> 
> The following changes since commit a95a49fa0cc5eec730d8703b1544fa7ea6a11dec:
> 
>   Merge tag 'perf-core-for-mingo-2' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2015-11-26 09:13:50 +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 43798bf37215fe242e592fd4605d804e2da0781b:
> 
>   bpf tools: Add helper function for updating bpf maps elements (2015-11-26 
> 17:21:24 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Add 'vmlinux.debug' to the vmlinux seach path (Ekaterina Tumanova)
> 
> - Do not show sample_(type|period) in the perf_event_attr dump when using
>   -v with 'perf stat' (Jiri Olsa)
> 
> - Display the WEIGHT sample bit, when set, in 'perf evlist -v' (Jiri Olsa)
> 
> - Honour --hide-unresolved in 'report', will honour it as well in 'top'
>   when --hide-unresolved gets supported in that tool (Namhyung Kim)
> 
> - Fix freeze wit h--call-graph 'flat/folded' due to not properly
>   reinitializing the callchain rb_tree (Namhyumg Kim)
> 
> - Set dso->long_name when a module name is passed as a parameter
>   to tools like 'perf probe' but the 'struct dso' associated to that module
>   still doesn't have the full path for the module, just the '[name]' one
>   obtained from /proc/modules (Wang Nan)
> 
> - Fix anon_hugepage mmaps detection using scanf on /proc/PID/smaps (Yannick 
> Brosseau)
> 
> Infrastructure:
> 
> - Add helper function for updating bpf maps elements (He Kuang)
> 
> - Fix traceevents plugins build race (Jiri Olsa)
> 
> - Add the $OUTPUT path prefix with 'fixdep' (Jiri Olsa)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Ekaterina Tumanova (2):
>   perf symbols: Refactor vmlinux_path__init() to ease path additions
>   perf symbols: Add the path to vmlinux.debug
> 
> He Kuang (1):
>   bpf tools: Add helper function for updating bpf maps elements
> 
> Jiri Olsa (6):
>   perf script: Remove default_scripting_ops
>   perf build: Fix traceevent plugins build race
>   perf script: Pass perf_script into process_event
>   tools build: Use fixdep with OUTPUT path prefix
>   perf stat: Clear sample_(type|period) for counting
>   perf evlist: Display WEIGHT sample type bit
> 
> Namhyung Kim (2):
>   perf callchain: Honor hide_unresolved
>   perf top: Fix freeze on --call-graph flat/folded
> 
> Wang Nan (1):
>   perf machine: Adjust dso->long_name for offline module
> 
> Yannick Brosseau (1):
>   perf tools: Correctly identify anon_hugepage when generating map (v2)
> 
>  tools/build/Makefile |  2 +-
>  tools/build/Makefile.include |  2 +-
>  tools/lib/bpf/bpf.c  | 14 +
>  tools/lib/bpf/bpf.h  |  2 ++
>  tools/perf/Makefile.perf |  2 +-
>  tools/perf/builtin-report.c  |  7 ++---
>  tools/perf/builtin-script.c  | 67 
> +---
>  tools/perf/builtin-stat.c|  7 +
>  tools/perf/util/callchain.c  |  1 +
>  tools/perf/util/evsel.c  |  1 +
>  tools/perf/util/machine.c| 32 -
>  tools/perf/util/map.c|  4 +--
>  tools/perf/util/symbol.c | 65 ++
>  tools/perf/util/symbol.h |  3 +-
>  14 files changed, 120 insertions(+), 89 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-11-26 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> 
> The following changes since commit a95a49fa0cc5eec730d8703b1544fa7ea6a11dec:
> 
>   Merge tag 'perf-core-for-mingo-2' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2015-11-26 09:13:50 +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 43798bf37215fe242e592fd4605d804e2da0781b:
> 
>   bpf tools: Add helper function for updating bpf maps elements (2015-11-26 
> 17:21:24 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Add 'vmlinux.debug' to the vmlinux seach path (Ekaterina Tumanova)
> 
> - Do not show sample_(type|period) in the perf_event_attr dump when using
>   -v with 'perf stat' (Jiri Olsa)
> 
> - Display the WEIGHT sample bit, when set, in 'perf evlist -v' (Jiri Olsa)
> 
> - Honour --hide-unresolved in 'report', will honour it as well in 'top'
>   when --hide-unresolved gets supported in that tool (Namhyung Kim)
> 
> - Fix freeze wit h--call-graph 'flat/folded' due to not properly
>   reinitializing the callchain rb_tree (Namhyumg Kim)
> 
> - Set dso->long_name when a module name is passed as a parameter
>   to tools like 'perf probe' but the 'struct dso' associated to that module
>   still doesn't have the full path for the module, just the '[name]' one
>   obtained from /proc/modules (Wang Nan)
> 
> - Fix anon_hugepage mmaps detection using scanf on /proc/PID/smaps (Yannick 
> Brosseau)
> 
> Infrastructure:
> 
> - Add helper function for updating bpf maps elements (He Kuang)
> 
> - Fix traceevents plugins build race (Jiri Olsa)
> 
> - Add the $OUTPUT path prefix with 'fixdep' (Jiri Olsa)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Ekaterina Tumanova (2):
>   perf symbols: Refactor vmlinux_path__init() to ease path additions
>   perf symbols: Add the path to vmlinux.debug
> 
> He Kuang (1):
>   bpf tools: Add helper function for updating bpf maps elements
> 
> Jiri Olsa (6):
>   perf script: Remove default_scripting_ops
>   perf build: Fix traceevent plugins build race
>   perf script: Pass perf_script into process_event
>   tools build: Use fixdep with OUTPUT path prefix
>   perf stat: Clear sample_(type|period) for counting
>   perf evlist: Display WEIGHT sample type bit
> 
> Namhyung Kim (2):
>   perf callchain: Honor hide_unresolved
>   perf top: Fix freeze on --call-graph flat/folded
> 
> Wang Nan (1):
>   perf machine: Adjust dso->long_name for offline module
> 
> Yannick Brosseau (1):
>   perf tools: Correctly identify anon_hugepage when generating map (v2)
> 
>  tools/build/Makefile |  2 +-
>  tools/build/Makefile.include |  2 +-
>  tools/lib/bpf/bpf.c  | 14 +
>  tools/lib/bpf/bpf.h  |  2 ++
>  tools/perf/Makefile.perf |  2 +-
>  tools/perf/builtin-report.c  |  7 ++---
>  tools/perf/builtin-script.c  | 67 
> +---
>  tools/perf/builtin-stat.c|  7 +
>  tools/perf/util/callchain.c  |  1 +
>  tools/perf/util/evsel.c  |  1 +
>  tools/perf/util/machine.c| 32 -
>  tools/perf/util/map.c|  4 +--
>  tools/perf/util/symbol.c | 65 ++
>  tools/perf/util/symbol.h |  3 +-
>  14 files changed, 120 insertions(+), 89 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-08-13 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider applying,
> 
> - Arnaldo
> 
> The following changes since commit 5f1230c9b80b89f404938ff88dfa64a963f74f2c:
> 
>   Merge tag 'perf-core-for-mingo' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2015-08-12 12:16: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 71ef150ee06df29c5b427307dc0bacfe06a8baea:
> 
>   perf tests: Add tests to callgraph and time parse (2015-08-12 13:20:29 
> -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> - Allow selecting the type of callchains per event, including disabling
>   callchains in all but one entry in an event list, to save space, and also
>   to ask for the callchains collected in one event to be used in other
>   events (Kan Liang)
> 
> - Beautify more syscall arguments in 'perf trace': (Arnaldo Carvalho de Melo)
>   - A bunch more translate file/pathnames from pointers to strings
>   - Convert numbers to strings for the 'keyctl' syscall 'option' arg.
>   - Add missing 'clockid' entries
> 
> - Fix 'perf probe -L sys_*' as it was not showing all the source code for
>   syscall functions in the kernel (Masami Hiramatsu)
> 
> - Make ESC unzoom as well in the hists browser, i.e. in 'report' and 'top',
>   as we're considering repurposing the right and left arrow keys to use in
>   horizontal scrolling, i.e. leave just ESC to be used for what <- works
>   now, and ENTER for what -> does (they are already aliases for ages)
>   (Arnaldo Carvalho de Melo)
> 
> Infrastructure fixes:
> 
> - Check for SRCLINE_UNKNOWN case in "srcfile" processing (Andi Kleen)
> 
> - Wrap the slsmg_{printf,write_nstring} slang functions behing ui_browser, so
>   that we can make the ui_browser based browsers (annotate, menus, hists, 
> etc) UI
>   library agnostic and usable with multiple backends (slang now, GTK+ and 
> others
>   in the future, maybe) (Arnaldo Carvalho de Melo)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Andi Kleen (1):
>   perf sort: Check for SRCLINE_UNKNOWN case in "srcfile" processing
> 
> Arnaldo Carvalho de Melo (7):
>   perf trace: Associate some more syscall args with the getname beautifier
>   perf trace: Add missing clockid entries
>   perf trace: Use the FD beautifier for socket syscall fds
>   perf trace: Beautify keyctl's option arg
>   perf ui browser: Introduce ui_browser__write_nstring()
>   perf ui browser: Introduce ui_browser__printf()
>   perf hists browser: Make ESC unzoom as well
> 
> Kan Liang (4):
>   perf callchain: Per-event type selection support
>   perf callchain: Allow disabling call graphs per event
>   perf report: Show call graph from reference events
>   perf tests: Add tests to callgraph and time parse
> 
> Masami Hiramatsu (1):
>   perf probe: Fix to show lines of sys_ functions correctly
> 
>  tools/perf/Documentation/perf-record.txt |  4 ++
>  tools/perf/Documentation/perf-report.txt | 11 ++
>  tools/perf/builtin-annotate.c|  2 +
>  tools/perf/builtin-diff.c|  3 ++
>  tools/perf/builtin-report.c  |  7 
>  tools/perf/builtin-trace.c   | 54 +++--
>  tools/perf/tests/hists_cumulate.c|  4 ++
>  tools/perf/tests/parse-events.c  | 38 ++
>  tools/perf/ui/browser.c  | 17 +++-
>  tools/perf/ui/browser.h  |  3 ++
>  tools/perf/ui/browsers/annotate.c| 43 ++--
>  tools/perf/ui/browsers/header.c  |  2 +-
>  tools/perf/ui/browsers/hists.c   | 54 -
>  tools/perf/ui/browsers/map.c | 11 +++---
>  tools/perf/ui/browsers/scripts.c |  2 +-
>  tools/perf/ui/libslang.h |  3 ++
>  tools/perf/ui/tui/util.c |  2 +-
>  tools/perf/util/dwarf-aux.c  | 18 ++---
>  tools/perf/util/evsel.c  | 67 
> +++-
>  tools/perf/util/evsel.h  |  4 ++
>  tools/perf/util/hist.c   | 14 +--
>  tools/perf/util/parse-events.c   | 12 ++
>  tools/perf/util/parse-events.h   |  2 +
>  tools/perf/util/parse-events.l   |  2 +
>  tools/perf/util/pmu.c|  4 +-
>  tools/perf/util/sort.c   |  2 +
>  tools/perf/util/symbol.h |  3 +-
>  27 files changed, 307 insertions(+), 81 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  

Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-08-13 Thread Ingo Molnar

* Arnaldo Carvalho de Melo a...@kernel.org wrote:

 Hi Ingo,
 
   Please consider applying,
 
 - Arnaldo
 
 The following changes since commit 5f1230c9b80b89f404938ff88dfa64a963f74f2c:
 
   Merge tag 'perf-core-for-mingo' of 
 git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
 (2015-08-12 12:16: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 71ef150ee06df29c5b427307dc0bacfe06a8baea:
 
   perf tests: Add tests to callgraph and time parse (2015-08-12 13:20:29 
 -0300)
 
 
 perf/core improvements and fixes:
 
 User visible:
 
 - Allow selecting the type of callchains per event, including disabling
   callchains in all but one entry in an event list, to save space, and also
   to ask for the callchains collected in one event to be used in other
   events (Kan Liang)
 
 - Beautify more syscall arguments in 'perf trace': (Arnaldo Carvalho de Melo)
   - A bunch more translate file/pathnames from pointers to strings
   - Convert numbers to strings for the 'keyctl' syscall 'option' arg.
   - Add missing 'clockid' entries
 
 - Fix 'perf probe -L sys_*' as it was not showing all the source code for
   syscall functions in the kernel (Masami Hiramatsu)
 
 - Make ESC unzoom as well in the hists browser, i.e. in 'report' and 'top',
   as we're considering repurposing the right and left arrow keys to use in
   horizontal scrolling, i.e. leave just ESC to be used for what - works
   now, and ENTER for what - does (they are already aliases for ages)
   (Arnaldo Carvalho de Melo)
 
 Infrastructure fixes:
 
 - Check for SRCLINE_UNKNOWN case in srcfile processing (Andi Kleen)
 
 - Wrap the slsmg_{printf,write_nstring} slang functions behing ui_browser, so
   that we can make the ui_browser based browsers (annotate, menus, hists, 
 etc) UI
   library agnostic and usable with multiple backends (slang now, GTK+ and 
 others
   in the future, maybe) (Arnaldo Carvalho de Melo)
 
 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
 
 Andi Kleen (1):
   perf sort: Check for SRCLINE_UNKNOWN case in srcfile processing
 
 Arnaldo Carvalho de Melo (7):
   perf trace: Associate some more syscall args with the getname beautifier
   perf trace: Add missing clockid entries
   perf trace: Use the FD beautifier for socket syscall fds
   perf trace: Beautify keyctl's option arg
   perf ui browser: Introduce ui_browser__write_nstring()
   perf ui browser: Introduce ui_browser__printf()
   perf hists browser: Make ESC unzoom as well
 
 Kan Liang (4):
   perf callchain: Per-event type selection support
   perf callchain: Allow disabling call graphs per event
   perf report: Show call graph from reference events
   perf tests: Add tests to callgraph and time parse
 
 Masami Hiramatsu (1):
   perf probe: Fix to show lines of sys_ functions correctly
 
  tools/perf/Documentation/perf-record.txt |  4 ++
  tools/perf/Documentation/perf-report.txt | 11 ++
  tools/perf/builtin-annotate.c|  2 +
  tools/perf/builtin-diff.c|  3 ++
  tools/perf/builtin-report.c  |  7 
  tools/perf/builtin-trace.c   | 54 +++--
  tools/perf/tests/hists_cumulate.c|  4 ++
  tools/perf/tests/parse-events.c  | 38 ++
  tools/perf/ui/browser.c  | 17 +++-
  tools/perf/ui/browser.h  |  3 ++
  tools/perf/ui/browsers/annotate.c| 43 ++--
  tools/perf/ui/browsers/header.c  |  2 +-
  tools/perf/ui/browsers/hists.c   | 54 -
  tools/perf/ui/browsers/map.c | 11 +++---
  tools/perf/ui/browsers/scripts.c |  2 +-
  tools/perf/ui/libslang.h |  3 ++
  tools/perf/ui/tui/util.c |  2 +-
  tools/perf/util/dwarf-aux.c  | 18 ++---
  tools/perf/util/evsel.c  | 67 
 +++-
  tools/perf/util/evsel.h  |  4 ++
  tools/perf/util/hist.c   | 14 +--
  tools/perf/util/parse-events.c   | 12 ++
  tools/perf/util/parse-events.h   |  2 +
  tools/perf/util/parse-events.l   |  2 +
  tools/perf/util/pmu.c|  4 +-
  tools/perf/util/sort.c   |  2 +
  tools/perf/util/symbol.h |  3 +-
  27 files changed, 307 insertions(+), 81 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-07-21 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 60cd37eb100c4880b28078a47f3062fac7572095:
> 
>   Merge tag 'perf-core-for-mingo' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2015-07-06 17:46:15 +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 d2f3f5d2e9cae6e73f9642a5ddc8c8a07c35e79b:
> 
>   perf bench futex: Add lock_pi stresser (2015-07-20 17:49:51 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> New features:
> 
> - Allow filtering perf's pid via 'perf record --exclude-perf' (Wang Nan)
> 
> - 'perf trace' now supports syscall groups, like strace, i.e:
> 
> $ trace -e file touch file
> 
>   Will expand 'file' into multiple, file related, syscalls. More work needed 
> to
>   add extra groups for other syscall groups, and also to complement what was
>   added for the 'file' group, included as a proof of concept. (Arnaldo 
> Carvalho de Melo)
> 
> - Add lock_pi stresser to 'perf bench futex', to test the kernel code
>   related to FUTEX_(UN)LOCK_PI (Davidlohr Bueso)
> 
> User visible fixes:
> 
> - Apply --filter to all events in a glob matching, not just the last one 
> (Wang Nan)
> 
> Documentation:
> 
> - Document setting '-e pmu/period=N/' in the 'perf record' man page (Kan 
> Liang)
> 
> Infrastructure:
> 
> - 'perf probe' code simplifications and movements to separate files (Masami 
> Hiramatsu)
> 
> - Fix makefile generation under 'dash' (Sergei Trofimovich)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (5):
>   perf strlist: load() should return a negative errno
>   perf strlist: Make dupstr be the default and part of an extensible 
> config parm
>   perf strlist: Allow substitutions from file contents in a given 
> directory
>   perf strlist: Make parse_list() private
>   perf trace: Support 'strace' syscall event groups
> 
> Davidlohr Bueso (1):
>   perf bench futex: Add lock_pi stresser
> 
> Kan Liang (1):
>   perf record: Document setting '-e pmu/period=N/' in man page
> 
> Masami Hiramatsu (3):
>   perf probe: Simplify __add_probe_trace_events code
>   perf probe: Move ftrace probe-event operations to probe-file.c
>   perf buildid: Use SBUILD_ID_SIZE macro
> 
> Sergei Trofimovich (1):
>   perf tools: Fix makefile generation under dash
> 
> Wang Nan (2):
>   perf record: Apply filter to all events in a glob matching
>   perf record: Allow filtering perf's pid via --exclude-perf
> 
>  tools/perf/Build |   1 +
>  tools/perf/Documentation/perf-bench.txt  |   4 +
>  tools/perf/Documentation/perf-record.txt |  19 +-
>  tools/perf/Makefile.perf |   5 +
>  tools/perf/bench/Build   |   1 +
>  tools/perf/bench/bench.h |   2 +
>  tools/perf/bench/futex-lock-pi.c | 219 +
>  tools/perf/bench/futex.h |  20 ++
>  tools/perf/builtin-bench.c   |   2 +
>  tools/perf/builtin-buildid-cache.c   |  16 +-
>  tools/perf/builtin-buildid-list.c|   4 +-
>  tools/perf/builtin-record.c  |   3 +
>  tools/perf/builtin-trace.c   |   6 +-
>  tools/perf/config/Makefile   |   8 +-
>  tools/perf/trace/strace/groups/file  |  18 ++
>  tools/perf/util/Build|   1 +
>  tools/perf/util/build-id.c   |   6 +-
>  tools/perf/util/build-id.h   |   3 +-
>  tools/perf/util/evsel.c  |   1 +
>  tools/perf/util/evsel.h  |   1 +
>  tools/perf/util/machine.c|   2 +-
>  tools/perf/util/parse-events.c   |  81 ++-
>  tools/perf/util/parse-events.h   |   1 +
>  tools/perf/util/probe-event.c| 388 
> ++-
>  tools/perf/util/probe-event.h|   7 +
>  tools/perf/util/probe-file.c | 301 
>  tools/perf/util/probe-file.h |  18 ++
>  tools/perf/util/probe-finder.c   |   2 +-
>  tools/perf/util/strlist.c|  43 +++-
>  tools/perf/util/strlist.h|   9 +-
>  tools/perf/util/symbol.c |   2 +-
>  tools/perf/util/thread_map.c |   6 +-
>  32 files changed, 842 insertions(+), 358 deletions(-)
>  create mode 100644 tools/perf/bench/futex-lock-pi.c
>  create mode 100644 tools/perf/trace/strace/groups/file
>  create mode 100644 tools/perf/util/probe-file.c
>  create mode 100644 tools/perf/util/probe-file.h

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-07-21 Thread Ingo Molnar

* Arnaldo Carvalho de Melo a...@kernel.org wrote:

 Hi Ingo,
 
   Please consider pulling,
 
 - Arnaldo
 
 The following changes since commit 60cd37eb100c4880b28078a47f3062fac7572095:
 
   Merge tag 'perf-core-for-mingo' of 
 git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
 (2015-07-06 17:46:15 +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 d2f3f5d2e9cae6e73f9642a5ddc8c8a07c35e79b:
 
   perf bench futex: Add lock_pi stresser (2015-07-20 17:49:51 -0300)
 
 
 perf/core improvements and fixes:
 
 New features:
 
 - Allow filtering perf's pid via 'perf record --exclude-perf' (Wang Nan)
 
 - 'perf trace' now supports syscall groups, like strace, i.e:
 
 $ trace -e file touch file
 
   Will expand 'file' into multiple, file related, syscalls. More work needed 
 to
   add extra groups for other syscall groups, and also to complement what was
   added for the 'file' group, included as a proof of concept. (Arnaldo 
 Carvalho de Melo)
 
 - Add lock_pi stresser to 'perf bench futex', to test the kernel code
   related to FUTEX_(UN)LOCK_PI (Davidlohr Bueso)
 
 User visible fixes:
 
 - Apply --filter to all events in a glob matching, not just the last one 
 (Wang Nan)
 
 Documentation:
 
 - Document setting '-e pmu/period=N/' in the 'perf record' man page (Kan 
 Liang)
 
 Infrastructure:
 
 - 'perf probe' code simplifications and movements to separate files (Masami 
 Hiramatsu)
 
 - Fix makefile generation under 'dash' (Sergei Trofimovich)
 
 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
 
 Arnaldo Carvalho de Melo (5):
   perf strlist: load() should return a negative errno
   perf strlist: Make dupstr be the default and part of an extensible 
 config parm
   perf strlist: Allow substitutions from file contents in a given 
 directory
   perf strlist: Make parse_list() private
   perf trace: Support 'strace' syscall event groups
 
 Davidlohr Bueso (1):
   perf bench futex: Add lock_pi stresser
 
 Kan Liang (1):
   perf record: Document setting '-e pmu/period=N/' in man page
 
 Masami Hiramatsu (3):
   perf probe: Simplify __add_probe_trace_events code
   perf probe: Move ftrace probe-event operations to probe-file.c
   perf buildid: Use SBUILD_ID_SIZE macro
 
 Sergei Trofimovich (1):
   perf tools: Fix makefile generation under dash
 
 Wang Nan (2):
   perf record: Apply filter to all events in a glob matching
   perf record: Allow filtering perf's pid via --exclude-perf
 
  tools/perf/Build |   1 +
  tools/perf/Documentation/perf-bench.txt  |   4 +
  tools/perf/Documentation/perf-record.txt |  19 +-
  tools/perf/Makefile.perf |   5 +
  tools/perf/bench/Build   |   1 +
  tools/perf/bench/bench.h |   2 +
  tools/perf/bench/futex-lock-pi.c | 219 +
  tools/perf/bench/futex.h |  20 ++
  tools/perf/builtin-bench.c   |   2 +
  tools/perf/builtin-buildid-cache.c   |  16 +-
  tools/perf/builtin-buildid-list.c|   4 +-
  tools/perf/builtin-record.c  |   3 +
  tools/perf/builtin-trace.c   |   6 +-
  tools/perf/config/Makefile   |   8 +-
  tools/perf/trace/strace/groups/file  |  18 ++
  tools/perf/util/Build|   1 +
  tools/perf/util/build-id.c   |   6 +-
  tools/perf/util/build-id.h   |   3 +-
  tools/perf/util/evsel.c  |   1 +
  tools/perf/util/evsel.h  |   1 +
  tools/perf/util/machine.c|   2 +-
  tools/perf/util/parse-events.c   |  81 ++-
  tools/perf/util/parse-events.h   |   1 +
  tools/perf/util/probe-event.c| 388 
 ++-
  tools/perf/util/probe-event.h|   7 +
  tools/perf/util/probe-file.c | 301 
  tools/perf/util/probe-file.h |  18 ++
  tools/perf/util/probe-finder.c   |   2 +-
  tools/perf/util/strlist.c|  43 +++-
  tools/perf/util/strlist.h|   9 +-
  tools/perf/util/symbol.c |   2 +-
  tools/perf/util/thread_map.c |   6 +-
  32 files changed, 842 insertions(+), 358 deletions(-)
  create mode 100644 tools/perf/bench/futex-lock-pi.c
  create mode 100644 tools/perf/trace/strace/groups/file
  create mode 100644 tools/perf/util/probe-file.c
  create mode 100644 tools/perf/util/probe-file.h

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-06-25 Thread Arnaldo Carvalho de Melo
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-06-25 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  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 
> 
> 
> 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 
>   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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-06-25 Thread Ingo Molnar

* 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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2015-06-25 Thread Arnaldo Carvalho de Melo
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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-10 Thread Adrian Hunter
On 09/09/2014 10:08 PM, Arnaldo Carvalho de Melo wrote:
> Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
>> On 09/09/2014 12:17 AM, Arnaldo Carvalho de Melo wrote:
>>> Hi Ingo,
>>>
>>> Please consider pulling,
>>>
>>> - Arnaldo
>>
>> I am very sorry Arnaldo but 2 patches are older versions, namely:
>>
>>  perf tools: Build programs to copy 32-bit compatibility VDSOs
>>  perf tools: Add support for 32-bit compatibility VDSOs
>>
>> Up-to-date versions can be found from 15 August:
>>
>>  patchwork:
>>
>>  https://patchwork.kernel.org/patch/4729131/
>>  https://patchwork.kernel.org/patch/4729111/
> 
> Ok, those don't apply, as it expects other stuff, that you sent before,
> but were not processed yet, to be in place, I'm fixing it up.
> 

Something like this might prevent Ingo's error message:


From: Adrian Hunter 
Date: Wed, 10 Sep 2014 16:14:50 +0300
Subject: [PATCH] perf tools: Do not attempt to run perf-read-vdso32 if it
 wasn't built

popen() causes an error message to print if perf-read-vdso32
does not run.  Avoid that by not trying to run it if it was
not built.  Ditto perf-read-vdsox32.

Signed-off-by: Adrian Hunter 
---
 tools/perf/config/Makefile |  8 ++--
 tools/perf/util/vdso.c | 10 ++
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 3ba2382..71264e4 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -627,7 +627,9 @@ endif
 ifeq (${IS_64_BIT}, 1)
   ifndef NO_PERF_READ_VDSO32
 $(call feature_check,compile-32)
-ifneq ($(feature-compile-32), 1)
+ifeq ($(feature-compile-32), 1)
+  CFLAGS += -DHAVE_PERF_READ_VDSO32
+else
   NO_PERF_READ_VDSO32 := 1
 endif
   endif
@@ -636,7 +638,9 @@ ifeq (${IS_64_BIT}, 1)
   endif
   ifndef NO_PERF_READ_VDSOX32
 $(call feature_check,compile-x32)
-ifneq ($(feature-compile-x32), 1)
+ifeq ($(feature-compile-x32), 1)
+  CFLAGS += -DHAVE_PERF_READ_VDSOX32
+else
   NO_PERF_READ_VDSOX32 := 1
 endif
   endif
diff --git a/tools/perf/util/vdso.c b/tools/perf/util/vdso.c
index 69daef6..5c7dd79 100644
--- a/tools/perf/util/vdso.c
+++ b/tools/perf/util/vdso.c
@@ -255,6 +255,16 @@ static int vdso__dso_findnew_compat(struct machine
*machine,
enum dso_type dso_type;

dso_type = machine__thread_dso_type(machine, thread);
+
+#ifndef HAVE_PERF_READ_VDSO32
+   if (dso_type == DSO__TYPE_32BIT)
+   return 0;
+#endif
+#ifndef HAVE_PERF_READ_VDSOX32
+   if (dso_type == DSO__TYPE_X32BIT)
+   return 0;
+#endif
+
switch (dso_type) {
case DSO__TYPE_32BIT:
*dso = vdso__findnew_compat(machine, _info->vdso32);
-- 
1.8.3.2



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-10 Thread Adrian Hunter
On 09/09/2014 10:08 PM, Arnaldo Carvalho de Melo wrote:
 Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
 On 09/09/2014 12:17 AM, Arnaldo Carvalho de Melo wrote:
 Hi Ingo,

 Please consider pulling,

 - Arnaldo

 I am very sorry Arnaldo but 2 patches are older versions, namely:

  perf tools: Build programs to copy 32-bit compatibility VDSOs
  perf tools: Add support for 32-bit compatibility VDSOs

 Up-to-date versions can be found from 15 August:

  patchwork:

  https://patchwork.kernel.org/patch/4729131/
  https://patchwork.kernel.org/patch/4729111/
 
 Ok, those don't apply, as it expects other stuff, that you sent before,
 but were not processed yet, to be in place, I'm fixing it up.
 

Something like this might prevent Ingo's error message:


From: Adrian Hunter adrian.hun...@intel.com
Date: Wed, 10 Sep 2014 16:14:50 +0300
Subject: [PATCH] perf tools: Do not attempt to run perf-read-vdso32 if it
 wasn't built

popen() causes an error message to print if perf-read-vdso32
does not run.  Avoid that by not trying to run it if it was
not built.  Ditto perf-read-vdsox32.

Signed-off-by: Adrian Hunter adrian.hun...@intel.com
---
 tools/perf/config/Makefile |  8 ++--
 tools/perf/util/vdso.c | 10 ++
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 3ba2382..71264e4 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -627,7 +627,9 @@ endif
 ifeq (${IS_64_BIT}, 1)
   ifndef NO_PERF_READ_VDSO32
 $(call feature_check,compile-32)
-ifneq ($(feature-compile-32), 1)
+ifeq ($(feature-compile-32), 1)
+  CFLAGS += -DHAVE_PERF_READ_VDSO32
+else
   NO_PERF_READ_VDSO32 := 1
 endif
   endif
@@ -636,7 +638,9 @@ ifeq (${IS_64_BIT}, 1)
   endif
   ifndef NO_PERF_READ_VDSOX32
 $(call feature_check,compile-x32)
-ifneq ($(feature-compile-x32), 1)
+ifeq ($(feature-compile-x32), 1)
+  CFLAGS += -DHAVE_PERF_READ_VDSOX32
+else
   NO_PERF_READ_VDSOX32 := 1
 endif
   endif
diff --git a/tools/perf/util/vdso.c b/tools/perf/util/vdso.c
index 69daef6..5c7dd79 100644
--- a/tools/perf/util/vdso.c
+++ b/tools/perf/util/vdso.c
@@ -255,6 +255,16 @@ static int vdso__dso_findnew_compat(struct machine
*machine,
enum dso_type dso_type;

dso_type = machine__thread_dso_type(machine, thread);
+
+#ifndef HAVE_PERF_READ_VDSO32
+   if (dso_type == DSO__TYPE_32BIT)
+   return 0;
+#endif
+#ifndef HAVE_PERF_READ_VDSOX32
+   if (dso_type == DSO__TYPE_X32BIT)
+   return 0;
+#endif
+
switch (dso_type) {
case DSO__TYPE_32BIT:
*dso = vdso__findnew_compat(machine, vdso_info-vdso32);
-- 
1.8.3.2



--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
> On 09/09/2014 12:17 AM, Arnaldo Carvalho de Melo wrote:
> > Hi Ingo,
> > 
> > Please consider pulling,
> > 
> > - Arnaldo
> 
> I am very sorry Arnaldo but 2 patches are older versions, namely:
> 
>   perf tools: Build programs to copy 32-bit compatibility VDSOs
>   perf tools: Add support for 32-bit compatibility VDSOs
> 
> Up-to-date versions can be found from 15 August:
> 
>   patchwork:
> 
>   https://patchwork.kernel.org/patch/4729131/
>   https://patchwork.kernel.org/patch/4729111/

Ok, those don't apply, as it expects other stuff, that you sent before,
but were not processed yet, to be in place, I'm fixing it up.

- Arnaldo
 
>   marc.info:
> 
>   http://marc.info/?l=linux-kernel=140812995414607=4
>   http://marc.info/?l=linux-kernel=140812993814585=4
> 
> It looks like I reposted older versions by mistake on 31 July.
> Very sorry :-(
> 
> The originals were changed as described here:
> 
>   http://marc.info/?l=linux-kernel=140621020918615
>   http://marc.info/?l=linux-kernel=140618721010170
> 
> > 
> > The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
> > 
> >   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
> > (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
> > 
> >   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
> > 
> > 
> > perf/core improvements and fixes:
> > 
> > User visible:
> > 
> > o Add +field argument support for --sort option (Jiri Olsa)
> > 
> > Infrastructure:
> > 
> > o More intel PT prep work, from Adrian Hunter, including:
> > 
> >   - Let a user specify a PMU event without any config terms
> >   - Add perf-with-kcore script
> >   - Build programs to copy 32-bit compatibility VDSOs
> >   - Add support for 32-bit compatibility VDSOs
> >   - Let default config be defined for a PMU
> >   - Add perf_pmu__scan_file()
> > 
> > o Add feature checks to .gitignore (Alexander Shishkin)
> > 
> > o "perf kvm stat report" improvements by Alexander Yarygin:
> >   o  Save pid string in opts.target.pid
> >   o  Enable the target.system_wide flag
> >   o  Unify the title bar output
> > 
> > o Fix build issue on powerpc when DWARF support is disabled (Anton 
> > Blanchard)
> > 
> > o Allow to specify lib compile variable for spec usage (Jiri Olsa)
> > 
> > Signed-off-by: Arnaldo Carvalho de Melo 
> > 
> > 
> > Adrian Hunter (6):
> >   perf tools: Let a user specify a PMU event without any config terms
> >   perf tools: Add perf-with-kcore script
> >   perf tools: Build programs to copy 32-bit compatibility VDSOs
> >   perf tools: Add support for 32-bit compatibility VDSOs
> >   perf tools: Let default config be defined for a PMU
> >   perf tools: Add perf_pmu__scan_file()
> > 
> > Alexander Shishkin (1):
> >   perf tools: Add feature checks to .gitignore
> > 
> > Alexander Yarygin (3):
> >   perf kvm stat report: Save pid string in opts.target.pid
> >   perf kvm stat report: Enable the target.system_wide flag
> >   perf kvm stat report: Unify the title bar output
> > 
> > Anton Blanchard (1):
> >   perf tools powerpc: Fix build issue when DWARF support is disabled
> > 
> > Jiri Olsa (2):
> >   perf tools: Add +field argument support for --sort option
> >   perf tools: Allow to specify lib compile variable for spec usage
> > 
> >  tools/perf/.gitignore|   2 +
> >  tools/perf/Makefile.perf |  42 ++-
> >  tools/perf/arch/powerpc/Makefile |   2 +-
> >  tools/perf/builtin-kvm.c |  23 ++--
> >  tools/perf/config/Makefile   |  33 -
> >  tools/perf/config/Makefile.arch  |   8 ++
> >  tools/perf/perf-read-vdso.c  |  59 +
> >  tools/perf/perf-with-kcore.sh| 259 
> > +++
> >  tools/perf/tests/pmu.c   |   2 +-
> >  tools/perf/util/kvm-stat.h   |   1 -
> >  tools/perf/util/parse-events.c   |  13 +-
> >  tools/perf/util/parse-events.y   |  10 ++
> >  tools/perf/util/pmu.c|  79 +---
> >  tools/perf/util/pmu.h|  12 +-
> >  tools/perf/util/sort.c   |  37 +-
> >  tools/perf/util/vdso.c   | 170 -
> >  tools/perf/util/vdso.h   |   4 +-
> >  17 files changed, 712 insertions(+), 44 deletions(-)
> >  create mode 100644 tools/perf/perf-read-vdso.c
> >  create mode 100644 tools/perf/perf-with-kcore.sh
> > 
> > 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 09, 2014 at 04:54:49PM +0200, Ingo Molnar escreveu:
> * Arnaldo Carvalho de Melo  wrote:
 
> > Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
> > > It looks like I reposted older versions by mistake on 31 July.
> > > Very sorry :-(

> > > The originals were changed as described here:

> > >   http://marc.info/?l=linux-kernel=140621020918615
> > >   http://marc.info/?l=linux-kernel=140618721010170

> > No problem, the good thing is that we're almost getting it all 
> > in. I'll rework the branch and resubmit, Ingo, is that OK with 
> > you? [...]

> Yeah, that's perfectly OK.

> > [...] Or have you already pulled and we should instead send a 
> > patch on top, fixing the problem?

> I pulled it locally then unpulled as it didn't pass my (very 
> simple) tests and it looked like there's something fishy going 
> on.

Yeah, I should've tested this more, will make sure I test these things
this time.

Having a requirement that for each new feature we need an entry in 'perf
test' and/or in make -C tools/perf build-test seems a bit harsh, but
would be ideal, hook that to 'git request-pull' and this would hopefully
only happen every celestial aligment nights or so :-\
 
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
> > It looks like I reposted older versions by mistake on 31 July.
> > Very sorry :-(
> > 
> > The originals were changed as described here:
> > 
> > http://marc.info/?l=linux-kernel=140621020918615
> > http://marc.info/?l=linux-kernel=140618721010170
> 
> No problem, the good thing is that we're almost getting it all 
> in. I'll rework the branch and resubmit, Ingo, is that OK with 
> you? [...]

Yeah, that's perfectly OK.

> [...] Or have you already pulled and we should instead send a 
> patch on top, fixing the problem?

I pulled it locally then unpulled as it didn't pass my (very 
simple) tests and it looked like there's something fishy going 
on.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Ingo Molnar

* Adrian Hunter  wrote:

> On 09/09/2014 07:59 AM, Ingo Molnar wrote:
> > 
> > * Arnaldo Carvalho de Melo  wrote:
> > 
> >> Hi Ingo,
> >>
> >>Please consider pulling,
> >>
> >> - Arnaldo
> >>
> >> The following changes since commit 
> >> 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
> >>
> >>   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
> >> (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
> >>
> >>   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
> >>
> >> 
> >> perf/core improvements and fixes:
> >>
> >> User visible:
> >>
> >> o Add +field argument support for --sort option (Jiri Olsa)
> >>
> >> Infrastructure:
> >>
> >> o More intel PT prep work, from Adrian Hunter, including:
> >>
> >>   - Let a user specify a PMU event without any config terms
> >>   - Add perf-with-kcore script
> >>   - Build programs to copy 32-bit compatibility VDSOs
> >>   - Add support for 32-bit compatibility VDSOs
> >>   - Let default config be defined for a PMU
> >>   - Add perf_pmu__scan_file()
> >>
> >> o Add feature checks to .gitignore (Alexander Shishkin)
> >>
> >> o "perf kvm stat report" improvements by Alexander Yarygin:
> >>   o  Save pid string in opts.target.pid
> >>   o  Enable the target.system_wide flag
> >>   o  Unify the title bar output
> >>
> >> o Fix build issue on powerpc when DWARF support is disabled (Anton 
> >> Blanchard)
> >>
> >> o Allow to specify lib compile variable for spec usage (Jiri Olsa)
> >>
> >> Signed-off-by: Arnaldo Carvalho de Melo 
> >>
> >> 
> >> Adrian Hunter (6):
> >>   perf tools: Let a user specify a PMU event without any config terms
> >>   perf tools: Add perf-with-kcore script
> >>   perf tools: Build programs to copy 32-bit compatibility VDSOs
> >>   perf tools: Add support for 32-bit compatibility VDSOs
> >>   perf tools: Let default config be defined for a PMU
> >>   perf tools: Add perf_pmu__scan_file()
> >>
> >> Alexander Shishkin (1):
> >>   perf tools: Add feature checks to .gitignore
> >>
> >> Alexander Yarygin (3):
> >>   perf kvm stat report: Save pid string in opts.target.pid
> >>   perf kvm stat report: Enable the target.system_wide flag
> >>   perf kvm stat report: Unify the title bar output
> >>
> >> Anton Blanchard (1):
> >>   perf tools powerpc: Fix build issue when DWARF support is disabled
> >>
> >> Jiri Olsa (2):
> >>   perf tools: Add +field argument support for --sort option
> >>   perf tools: Allow to specify lib compile variable for spec usage
> >>
> >>  tools/perf/.gitignore|   2 +
> >>  tools/perf/Makefile.perf |  42 ++-
> >>  tools/perf/arch/powerpc/Makefile |   2 +-
> >>  tools/perf/builtin-kvm.c |  23 ++--
> >>  tools/perf/config/Makefile   |  33 -
> >>  tools/perf/config/Makefile.arch  |   8 ++
> >>  tools/perf/perf-read-vdso.c  |  59 +
> >>  tools/perf/perf-with-kcore.sh| 259 
> >> +++
> >>  tools/perf/tests/pmu.c   |   2 +-
> >>  tools/perf/util/kvm-stat.h   |   1 -
> >>  tools/perf/util/parse-events.c   |  13 +-
> >>  tools/perf/util/parse-events.y   |  10 ++
> >>  tools/perf/util/pmu.c|  79 +---
> >>  tools/perf/util/pmu.h|  12 +-
> >>  tools/perf/util/sort.c   |  37 +-
> >>  tools/perf/util/vdso.c   | 170 -
> >>  tools/perf/util/vdso.h   |   4 +-
> >>  17 files changed, 712 insertions(+), 44 deletions(-)
> >>  create mode 100644 tools/perf/perf-read-vdso.c
> >>  create mode 100644 tools/perf/perf-with-kcore.sh
> > 
> > Hm, so I'm getting this error, when trying to profile a 32-bit 
> > ELF binary on a 64-bit kernel, on a testbox:
> > 
> >  $ perf record ~/hackbench  10
> >  Time: 0.115
> >  [ perf record: Woken up 1 times to write data ]
> >  [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
> >  sh: perf-read-vdso32: command not found
> 
> Presumably perf-read-vdso32 is not in the PATH.  Did you 'make install'?

I did 'make install' as usual - that's the only thing that I type 
to install a new version of perf tooling.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
> It looks like I reposted older versions by mistake on 31 July.
> Very sorry :-(
> 
> The originals were changed as described here:
> 
>   http://marc.info/?l=linux-kernel=140621020918615
>   http://marc.info/?l=linux-kernel=140618721010170

No problem, the good thing is that we're almost getting it all in. I'll
rework the branch and resubmit, Ingo, is that OK with you? Or have you
already pulled and we should instead send a patch on top, fixing the
problem?

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Adrian Hunter
On 09/09/2014 12:17 AM, Arnaldo Carvalho de Melo wrote:
> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo

I am very sorry Arnaldo but 2 patches are older versions, namely:

perf tools: Build programs to copy 32-bit compatibility VDSOs
perf tools: Add support for 32-bit compatibility VDSOs

Up-to-date versions can be found from 15 August:

patchwork:

https://patchwork.kernel.org/patch/4729131/
https://patchwork.kernel.org/patch/4729111/

marc.info:

http://marc.info/?l=linux-kernel=140812995414607=4
http://marc.info/?l=linux-kernel=140812993814585=4

It looks like I reposted older versions by mistake on 31 July.
Very sorry :-(

The originals were changed as described here:

http://marc.info/?l=linux-kernel=140621020918615
http://marc.info/?l=linux-kernel=140618721010170

> 
> The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
> 
>   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
> (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
> 
>   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> o Add +field argument support for --sort option (Jiri Olsa)
> 
> Infrastructure:
> 
> o More intel PT prep work, from Adrian Hunter, including:
> 
>   - Let a user specify a PMU event without any config terms
>   - Add perf-with-kcore script
>   - Build programs to copy 32-bit compatibility VDSOs
>   - Add support for 32-bit compatibility VDSOs
>   - Let default config be defined for a PMU
>   - Add perf_pmu__scan_file()
> 
> o Add feature checks to .gitignore (Alexander Shishkin)
> 
> o "perf kvm stat report" improvements by Alexander Yarygin:
>   o  Save pid string in opts.target.pid
>   o  Enable the target.system_wide flag
>   o  Unify the title bar output
> 
> o Fix build issue on powerpc when DWARF support is disabled (Anton Blanchard)
> 
> o Allow to specify lib compile variable for spec usage (Jiri Olsa)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (6):
>   perf tools: Let a user specify a PMU event without any config terms
>   perf tools: Add perf-with-kcore script
>   perf tools: Build programs to copy 32-bit compatibility VDSOs
>   perf tools: Add support for 32-bit compatibility VDSOs
>   perf tools: Let default config be defined for a PMU
>   perf tools: Add perf_pmu__scan_file()
> 
> Alexander Shishkin (1):
>   perf tools: Add feature checks to .gitignore
> 
> Alexander Yarygin (3):
>   perf kvm stat report: Save pid string in opts.target.pid
>   perf kvm stat report: Enable the target.system_wide flag
>   perf kvm stat report: Unify the title bar output
> 
> Anton Blanchard (1):
>   perf tools powerpc: Fix build issue when DWARF support is disabled
> 
> Jiri Olsa (2):
>   perf tools: Add +field argument support for --sort option
>   perf tools: Allow to specify lib compile variable for spec usage
> 
>  tools/perf/.gitignore|   2 +
>  tools/perf/Makefile.perf |  42 ++-
>  tools/perf/arch/powerpc/Makefile |   2 +-
>  tools/perf/builtin-kvm.c |  23 ++--
>  tools/perf/config/Makefile   |  33 -
>  tools/perf/config/Makefile.arch  |   8 ++
>  tools/perf/perf-read-vdso.c  |  59 +
>  tools/perf/perf-with-kcore.sh| 259 
> +++
>  tools/perf/tests/pmu.c   |   2 +-
>  tools/perf/util/kvm-stat.h   |   1 -
>  tools/perf/util/parse-events.c   |  13 +-
>  tools/perf/util/parse-events.y   |  10 ++
>  tools/perf/util/pmu.c|  79 +---
>  tools/perf/util/pmu.h|  12 +-
>  tools/perf/util/sort.c   |  37 +-
>  tools/perf/util/vdso.c   | 170 -
>  tools/perf/util/vdso.h   |   4 +-
>  17 files changed, 712 insertions(+), 44 deletions(-)
>  create mode 100644 tools/perf/perf-read-vdso.c
>  create mode 100644 tools/perf/perf-with-kcore.sh
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Adrian Hunter
On 09/09/2014 10:45 AM, Stephane Eranian wrote:
> On Tue, Sep 9, 2014 at 9:14 AM, Adrian Hunter  wrote:
>> On 09/09/2014 07:59 AM, Ingo Molnar wrote:
>>>
>>> * Arnaldo Carvalho de Melo  wrote:
>>>
 Hi Ingo,

  Please consider pulling,

 - Arnaldo

 The following changes since commit 
 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:

   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
 (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:

   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)

 
 perf/core improvements and fixes:

 User visible:

 o Add +field argument support for --sort option (Jiri Olsa)

 Infrastructure:

 o More intel PT prep work, from Adrian Hunter, including:

   - Let a user specify a PMU event without any config terms
   - Add perf-with-kcore script
   - Build programs to copy 32-bit compatibility VDSOs
   - Add support for 32-bit compatibility VDSOs
   - Let default config be defined for a PMU
   - Add perf_pmu__scan_file()

 o Add feature checks to .gitignore (Alexander Shishkin)

 o "perf kvm stat report" improvements by Alexander Yarygin:
   o  Save pid string in opts.target.pid
   o  Enable the target.system_wide flag
   o  Unify the title bar output

 o Fix build issue on powerpc when DWARF support is disabled (Anton 
 Blanchard)

 o Allow to specify lib compile variable for spec usage (Jiri Olsa)

 Signed-off-by: Arnaldo Carvalho de Melo 

 
 Adrian Hunter (6):
   perf tools: Let a user specify a PMU event without any config terms
   perf tools: Add perf-with-kcore script
   perf tools: Build programs to copy 32-bit compatibility VDSOs
   perf tools: Add support for 32-bit compatibility VDSOs
   perf tools: Let default config be defined for a PMU
   perf tools: Add perf_pmu__scan_file()

 Alexander Shishkin (1):
   perf tools: Add feature checks to .gitignore

 Alexander Yarygin (3):
   perf kvm stat report: Save pid string in opts.target.pid
   perf kvm stat report: Enable the target.system_wide flag
   perf kvm stat report: Unify the title bar output

 Anton Blanchard (1):
   perf tools powerpc: Fix build issue when DWARF support is disabled

 Jiri Olsa (2):
   perf tools: Add +field argument support for --sort option
   perf tools: Allow to specify lib compile variable for spec usage

  tools/perf/.gitignore|   2 +
  tools/perf/Makefile.perf |  42 ++-
  tools/perf/arch/powerpc/Makefile |   2 +-
  tools/perf/builtin-kvm.c |  23 ++--
  tools/perf/config/Makefile   |  33 -
  tools/perf/config/Makefile.arch  |   8 ++
  tools/perf/perf-read-vdso.c  |  59 +
  tools/perf/perf-with-kcore.sh| 259 
 +++
  tools/perf/tests/pmu.c   |   2 +-
  tools/perf/util/kvm-stat.h   |   1 -
  tools/perf/util/parse-events.c   |  13 +-
  tools/perf/util/parse-events.y   |  10 ++
  tools/perf/util/pmu.c|  79 +---
  tools/perf/util/pmu.h|  12 +-
  tools/perf/util/sort.c   |  37 +-
  tools/perf/util/vdso.c   | 170 -
  tools/perf/util/vdso.h   |   4 +-
  17 files changed, 712 insertions(+), 44 deletions(-)
  create mode 100644 tools/perf/perf-read-vdso.c
  create mode 100644 tools/perf/perf-with-kcore.sh
>>>
>>> Hm, so I'm getting this error, when trying to profile a 32-bit
>>> ELF binary on a 64-bit kernel, on a testbox:
>>>
>>>  $ perf record ~/hackbench  10
>>>  Time: 0.115
>>>  [ perf record: Woken up 1 times to write data ]
>>>  [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
>>>  sh: perf-read-vdso32: command not found
>>
>> Presumably perf-read-vdso32 is not in the PATH.  Did you 'make install'?
>>
> Why are we relying on an external command now in perf record?

We are not relying on it in the sense the 'record' works without it.
There is more explanation in "perf tools: Build programs to copy 32-bit
compatibility VDSOs" and "perf tools: Add support for 32-bit compatibility
VDSOs" (although those are the wrong versions of those patches - I will send
another email about that in a moment).

> 
>>>
>>> comet:~/tip> file ~/hackbench
>>> /home/mingo/hackbench: ELF 32-bit LSB executable, Intel 80386, version 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Stephane Eranian
On Tue, Sep 9, 2014 at 9:14 AM, Adrian Hunter  wrote:
> On 09/09/2014 07:59 AM, Ingo Molnar wrote:
>>
>> * Arnaldo Carvalho de Melo  wrote:
>>
>>> Hi Ingo,
>>>
>>>  Please consider pulling,
>>>
>>> - Arnaldo
>>>
>>> The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
>>>
>>>   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
>>> (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
>>>
>>>   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
>>>
>>> 
>>> perf/core improvements and fixes:
>>>
>>> User visible:
>>>
>>> o Add +field argument support for --sort option (Jiri Olsa)
>>>
>>> Infrastructure:
>>>
>>> o More intel PT prep work, from Adrian Hunter, including:
>>>
>>>   - Let a user specify a PMU event without any config terms
>>>   - Add perf-with-kcore script
>>>   - Build programs to copy 32-bit compatibility VDSOs
>>>   - Add support for 32-bit compatibility VDSOs
>>>   - Let default config be defined for a PMU
>>>   - Add perf_pmu__scan_file()
>>>
>>> o Add feature checks to .gitignore (Alexander Shishkin)
>>>
>>> o "perf kvm stat report" improvements by Alexander Yarygin:
>>>   o  Save pid string in opts.target.pid
>>>   o  Enable the target.system_wide flag
>>>   o  Unify the title bar output
>>>
>>> o Fix build issue on powerpc when DWARF support is disabled (Anton 
>>> Blanchard)
>>>
>>> o Allow to specify lib compile variable for spec usage (Jiri Olsa)
>>>
>>> Signed-off-by: Arnaldo Carvalho de Melo 
>>>
>>> 
>>> Adrian Hunter (6):
>>>   perf tools: Let a user specify a PMU event without any config terms
>>>   perf tools: Add perf-with-kcore script
>>>   perf tools: Build programs to copy 32-bit compatibility VDSOs
>>>   perf tools: Add support for 32-bit compatibility VDSOs
>>>   perf tools: Let default config be defined for a PMU
>>>   perf tools: Add perf_pmu__scan_file()
>>>
>>> Alexander Shishkin (1):
>>>   perf tools: Add feature checks to .gitignore
>>>
>>> Alexander Yarygin (3):
>>>   perf kvm stat report: Save pid string in opts.target.pid
>>>   perf kvm stat report: Enable the target.system_wide flag
>>>   perf kvm stat report: Unify the title bar output
>>>
>>> Anton Blanchard (1):
>>>   perf tools powerpc: Fix build issue when DWARF support is disabled
>>>
>>> Jiri Olsa (2):
>>>   perf tools: Add +field argument support for --sort option
>>>   perf tools: Allow to specify lib compile variable for spec usage
>>>
>>>  tools/perf/.gitignore|   2 +
>>>  tools/perf/Makefile.perf |  42 ++-
>>>  tools/perf/arch/powerpc/Makefile |   2 +-
>>>  tools/perf/builtin-kvm.c |  23 ++--
>>>  tools/perf/config/Makefile   |  33 -
>>>  tools/perf/config/Makefile.arch  |   8 ++
>>>  tools/perf/perf-read-vdso.c  |  59 +
>>>  tools/perf/perf-with-kcore.sh| 259 
>>> +++
>>>  tools/perf/tests/pmu.c   |   2 +-
>>>  tools/perf/util/kvm-stat.h   |   1 -
>>>  tools/perf/util/parse-events.c   |  13 +-
>>>  tools/perf/util/parse-events.y   |  10 ++
>>>  tools/perf/util/pmu.c|  79 +---
>>>  tools/perf/util/pmu.h|  12 +-
>>>  tools/perf/util/sort.c   |  37 +-
>>>  tools/perf/util/vdso.c   | 170 -
>>>  tools/perf/util/vdso.h   |   4 +-
>>>  17 files changed, 712 insertions(+), 44 deletions(-)
>>>  create mode 100644 tools/perf/perf-read-vdso.c
>>>  create mode 100644 tools/perf/perf-with-kcore.sh
>>
>> Hm, so I'm getting this error, when trying to profile a 32-bit
>> ELF binary on a 64-bit kernel, on a testbox:
>>
>>  $ perf record ~/hackbench  10
>>  Time: 0.115
>>  [ perf record: Woken up 1 times to write data ]
>>  [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
>>  sh: perf-read-vdso32: command not found
>
> Presumably perf-read-vdso32 is not in the PATH.  Did you 'make install'?
>
Why are we relying on an external command now in perf record?

>>
>> comet:~/tip> file ~/hackbench
>> /home/mingo/hackbench: ELF 32-bit LSB executable, Intel 80386, version 1 
>> (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not 
>> stripped
>>
>> 64-bit executables work fine:
>>
>>  $ perf record perf bench sched pipe
>>  # Running 'sched/pipe' benchmark:
>>  # Executed 100 pipe operations between two processes
>>
>>   Total time: 13.374 [sec]
>>
>>13.374352 usecs/op
>>74769 ops/sec
>>  [ perf record: Woken up 14 times to write data ]
>>  [ perf record: Captured and wrote 3.602 MB perf.data (~157354 samples) ]
>>
>> The 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Adrian Hunter
On 09/09/2014 07:59 AM, Ingo Molnar wrote:
> 
> * Arnaldo Carvalho de Melo  wrote:
> 
>> Hi Ingo,
>>
>>  Please consider pulling,
>>
>> - Arnaldo
>>
>> The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
>>
>>   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
>> (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
>>
>>   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
>>
>> 
>> perf/core improvements and fixes:
>>
>> User visible:
>>
>> o Add +field argument support for --sort option (Jiri Olsa)
>>
>> Infrastructure:
>>
>> o More intel PT prep work, from Adrian Hunter, including:
>>
>>   - Let a user specify a PMU event without any config terms
>>   - Add perf-with-kcore script
>>   - Build programs to copy 32-bit compatibility VDSOs
>>   - Add support for 32-bit compatibility VDSOs
>>   - Let default config be defined for a PMU
>>   - Add perf_pmu__scan_file()
>>
>> o Add feature checks to .gitignore (Alexander Shishkin)
>>
>> o "perf kvm stat report" improvements by Alexander Yarygin:
>>   o  Save pid string in opts.target.pid
>>   o  Enable the target.system_wide flag
>>   o  Unify the title bar output
>>
>> o Fix build issue on powerpc when DWARF support is disabled (Anton Blanchard)
>>
>> o Allow to specify lib compile variable for spec usage (Jiri Olsa)
>>
>> Signed-off-by: Arnaldo Carvalho de Melo 
>>
>> 
>> Adrian Hunter (6):
>>   perf tools: Let a user specify a PMU event without any config terms
>>   perf tools: Add perf-with-kcore script
>>   perf tools: Build programs to copy 32-bit compatibility VDSOs
>>   perf tools: Add support for 32-bit compatibility VDSOs
>>   perf tools: Let default config be defined for a PMU
>>   perf tools: Add perf_pmu__scan_file()
>>
>> Alexander Shishkin (1):
>>   perf tools: Add feature checks to .gitignore
>>
>> Alexander Yarygin (3):
>>   perf kvm stat report: Save pid string in opts.target.pid
>>   perf kvm stat report: Enable the target.system_wide flag
>>   perf kvm stat report: Unify the title bar output
>>
>> Anton Blanchard (1):
>>   perf tools powerpc: Fix build issue when DWARF support is disabled
>>
>> Jiri Olsa (2):
>>   perf tools: Add +field argument support for --sort option
>>   perf tools: Allow to specify lib compile variable for spec usage
>>
>>  tools/perf/.gitignore|   2 +
>>  tools/perf/Makefile.perf |  42 ++-
>>  tools/perf/arch/powerpc/Makefile |   2 +-
>>  tools/perf/builtin-kvm.c |  23 ++--
>>  tools/perf/config/Makefile   |  33 -
>>  tools/perf/config/Makefile.arch  |   8 ++
>>  tools/perf/perf-read-vdso.c  |  59 +
>>  tools/perf/perf-with-kcore.sh| 259 
>> +++
>>  tools/perf/tests/pmu.c   |   2 +-
>>  tools/perf/util/kvm-stat.h   |   1 -
>>  tools/perf/util/parse-events.c   |  13 +-
>>  tools/perf/util/parse-events.y   |  10 ++
>>  tools/perf/util/pmu.c|  79 +---
>>  tools/perf/util/pmu.h|  12 +-
>>  tools/perf/util/sort.c   |  37 +-
>>  tools/perf/util/vdso.c   | 170 -
>>  tools/perf/util/vdso.h   |   4 +-
>>  17 files changed, 712 insertions(+), 44 deletions(-)
>>  create mode 100644 tools/perf/perf-read-vdso.c
>>  create mode 100644 tools/perf/perf-with-kcore.sh
> 
> Hm, so I'm getting this error, when trying to profile a 32-bit 
> ELF binary on a 64-bit kernel, on a testbox:
> 
>  $ perf record ~/hackbench  10
>  Time: 0.115
>  [ perf record: Woken up 1 times to write data ]
>  [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
>  sh: perf-read-vdso32: command not found

Presumably perf-read-vdso32 is not in the PATH.  Did you 'make install'?

> 
> comet:~/tip> file ~/hackbench 
> /home/mingo/hackbench: ELF 32-bit LSB executable, Intel 80386, version 1 
> (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not 
> stripped
> 
> 64-bit executables work fine:
> 
>  $ perf record perf bench sched pipe
>  # Running 'sched/pipe' benchmark:
>  # Executed 100 pipe operations between two processes
> 
>   Total time: 13.374 [sec]
> 
>13.374352 usecs/op
>74769 ops/sec
>  [ perf record: Woken up 14 times to write data ]
>  [ perf record: Captured and wrote 3.602 MB perf.data (~157354 samples) ]
> 
> The kernel is an older one:
> 
>  $ uname -a
>  Linux comet 3.14.17-100.fc19.x86_64 #1 SMP Thu Aug 14 17:17:26 
>  UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> 
> Thanks,
> 
>   Ingo
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Adrian Hunter
On 09/09/2014 07:59 AM, Ingo Molnar wrote:
 
 * Arnaldo Carvalho de Melo a...@kernel.org wrote:
 
 Hi Ingo,

  Please consider pulling,

 - Arnaldo

 The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:

   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
 (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:

   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)

 
 perf/core improvements and fixes:

 User visible:

 o Add +field argument support for --sort option (Jiri Olsa)

 Infrastructure:

 o More intel PT prep work, from Adrian Hunter, including:

   - Let a user specify a PMU event without any config terms
   - Add perf-with-kcore script
   - Build programs to copy 32-bit compatibility VDSOs
   - Add support for 32-bit compatibility VDSOs
   - Let default config be defined for a PMU
   - Add perf_pmu__scan_file()

 o Add feature checks to .gitignore (Alexander Shishkin)

 o perf kvm stat report improvements by Alexander Yarygin:
   o  Save pid string in opts.target.pid
   o  Enable the target.system_wide flag
   o  Unify the title bar output

 o Fix build issue on powerpc when DWARF support is disabled (Anton Blanchard)

 o Allow to specify lib compile variable for spec usage (Jiri Olsa)

 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com

 
 Adrian Hunter (6):
   perf tools: Let a user specify a PMU event without any config terms
   perf tools: Add perf-with-kcore script
   perf tools: Build programs to copy 32-bit compatibility VDSOs
   perf tools: Add support for 32-bit compatibility VDSOs
   perf tools: Let default config be defined for a PMU
   perf tools: Add perf_pmu__scan_file()

 Alexander Shishkin (1):
   perf tools: Add feature checks to .gitignore

 Alexander Yarygin (3):
   perf kvm stat report: Save pid string in opts.target.pid
   perf kvm stat report: Enable the target.system_wide flag
   perf kvm stat report: Unify the title bar output

 Anton Blanchard (1):
   perf tools powerpc: Fix build issue when DWARF support is disabled

 Jiri Olsa (2):
   perf tools: Add +field argument support for --sort option
   perf tools: Allow to specify lib compile variable for spec usage

  tools/perf/.gitignore|   2 +
  tools/perf/Makefile.perf |  42 ++-
  tools/perf/arch/powerpc/Makefile |   2 +-
  tools/perf/builtin-kvm.c |  23 ++--
  tools/perf/config/Makefile   |  33 -
  tools/perf/config/Makefile.arch  |   8 ++
  tools/perf/perf-read-vdso.c  |  59 +
  tools/perf/perf-with-kcore.sh| 259 
 +++
  tools/perf/tests/pmu.c   |   2 +-
  tools/perf/util/kvm-stat.h   |   1 -
  tools/perf/util/parse-events.c   |  13 +-
  tools/perf/util/parse-events.y   |  10 ++
  tools/perf/util/pmu.c|  79 +---
  tools/perf/util/pmu.h|  12 +-
  tools/perf/util/sort.c   |  37 +-
  tools/perf/util/vdso.c   | 170 -
  tools/perf/util/vdso.h   |   4 +-
  17 files changed, 712 insertions(+), 44 deletions(-)
  create mode 100644 tools/perf/perf-read-vdso.c
  create mode 100644 tools/perf/perf-with-kcore.sh
 
 Hm, so I'm getting this error, when trying to profile a 32-bit 
 ELF binary on a 64-bit kernel, on a testbox:
 
  $ perf record ~/hackbench  10
  Time: 0.115
  [ perf record: Woken up 1 times to write data ]
  [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
  sh: perf-read-vdso32: command not found

Presumably perf-read-vdso32 is not in the PATH.  Did you 'make install'?

 
 comet:~/tip file ~/hackbench 
 /home/mingo/hackbench: ELF 32-bit LSB executable, Intel 80386, version 1 
 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not 
 stripped
 
 64-bit executables work fine:
 
  $ perf record perf bench sched pipe
  # Running 'sched/pipe' benchmark:
  # Executed 100 pipe operations between two processes
 
   Total time: 13.374 [sec]
 
13.374352 usecs/op
74769 ops/sec
  [ perf record: Woken up 14 times to write data ]
  [ perf record: Captured and wrote 3.602 MB perf.data (~157354 samples) ]
 
 The kernel is an older one:
 
  $ uname -a
  Linux comet 3.14.17-100.fc19.x86_64 #1 SMP Thu Aug 14 17:17:26 
  UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
 
 Thanks,
 
   Ingo
 
 

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Stephane Eranian
On Tue, Sep 9, 2014 at 9:14 AM, Adrian Hunter adrian.hun...@intel.com wrote:
 On 09/09/2014 07:59 AM, Ingo Molnar wrote:

 * Arnaldo Carvalho de Melo a...@kernel.org wrote:

 Hi Ingo,

  Please consider pulling,

 - Arnaldo

 The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:

   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
 (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:

   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)

 
 perf/core improvements and fixes:

 User visible:

 o Add +field argument support for --sort option (Jiri Olsa)

 Infrastructure:

 o More intel PT prep work, from Adrian Hunter, including:

   - Let a user specify a PMU event without any config terms
   - Add perf-with-kcore script
   - Build programs to copy 32-bit compatibility VDSOs
   - Add support for 32-bit compatibility VDSOs
   - Let default config be defined for a PMU
   - Add perf_pmu__scan_file()

 o Add feature checks to .gitignore (Alexander Shishkin)

 o perf kvm stat report improvements by Alexander Yarygin:
   o  Save pid string in opts.target.pid
   o  Enable the target.system_wide flag
   o  Unify the title bar output

 o Fix build issue on powerpc when DWARF support is disabled (Anton 
 Blanchard)

 o Allow to specify lib compile variable for spec usage (Jiri Olsa)

 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com

 
 Adrian Hunter (6):
   perf tools: Let a user specify a PMU event without any config terms
   perf tools: Add perf-with-kcore script
   perf tools: Build programs to copy 32-bit compatibility VDSOs
   perf tools: Add support for 32-bit compatibility VDSOs
   perf tools: Let default config be defined for a PMU
   perf tools: Add perf_pmu__scan_file()

 Alexander Shishkin (1):
   perf tools: Add feature checks to .gitignore

 Alexander Yarygin (3):
   perf kvm stat report: Save pid string in opts.target.pid
   perf kvm stat report: Enable the target.system_wide flag
   perf kvm stat report: Unify the title bar output

 Anton Blanchard (1):
   perf tools powerpc: Fix build issue when DWARF support is disabled

 Jiri Olsa (2):
   perf tools: Add +field argument support for --sort option
   perf tools: Allow to specify lib compile variable for spec usage

  tools/perf/.gitignore|   2 +
  tools/perf/Makefile.perf |  42 ++-
  tools/perf/arch/powerpc/Makefile |   2 +-
  tools/perf/builtin-kvm.c |  23 ++--
  tools/perf/config/Makefile   |  33 -
  tools/perf/config/Makefile.arch  |   8 ++
  tools/perf/perf-read-vdso.c  |  59 +
  tools/perf/perf-with-kcore.sh| 259 
 +++
  tools/perf/tests/pmu.c   |   2 +-
  tools/perf/util/kvm-stat.h   |   1 -
  tools/perf/util/parse-events.c   |  13 +-
  tools/perf/util/parse-events.y   |  10 ++
  tools/perf/util/pmu.c|  79 +---
  tools/perf/util/pmu.h|  12 +-
  tools/perf/util/sort.c   |  37 +-
  tools/perf/util/vdso.c   | 170 -
  tools/perf/util/vdso.h   |   4 +-
  17 files changed, 712 insertions(+), 44 deletions(-)
  create mode 100644 tools/perf/perf-read-vdso.c
  create mode 100644 tools/perf/perf-with-kcore.sh

 Hm, so I'm getting this error, when trying to profile a 32-bit
 ELF binary on a 64-bit kernel, on a testbox:

  $ perf record ~/hackbench  10
  Time: 0.115
  [ perf record: Woken up 1 times to write data ]
  [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
  sh: perf-read-vdso32: command not found

 Presumably perf-read-vdso32 is not in the PATH.  Did you 'make install'?

Why are we relying on an external command now in perf record?


 comet:~/tip file ~/hackbench
 /home/mingo/hackbench: ELF 32-bit LSB executable, Intel 80386, version 1 
 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not 
 stripped

 64-bit executables work fine:

  $ perf record perf bench sched pipe
  # Running 'sched/pipe' benchmark:
  # Executed 100 pipe operations between two processes

   Total time: 13.374 [sec]

13.374352 usecs/op
74769 ops/sec
  [ perf record: Woken up 14 times to write data ]
  [ perf record: Captured and wrote 3.602 MB perf.data (~157354 samples) ]

 The kernel is an older one:

  $ uname -a
  Linux comet 3.14.17-100.fc19.x86_64 #1 SMP Thu Aug 14 17:17:26
  UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

 Thanks,

   Ingo



--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Adrian Hunter
On 09/09/2014 10:45 AM, Stephane Eranian wrote:
 On Tue, Sep 9, 2014 at 9:14 AM, Adrian Hunter adrian.hun...@intel.com wrote:
 On 09/09/2014 07:59 AM, Ingo Molnar wrote:

 * Arnaldo Carvalho de Melo a...@kernel.org wrote:

 Hi Ingo,

  Please consider pulling,

 - Arnaldo

 The following changes since commit 
 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:

   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
 (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:

   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)

 
 perf/core improvements and fixes:

 User visible:

 o Add +field argument support for --sort option (Jiri Olsa)

 Infrastructure:

 o More intel PT prep work, from Adrian Hunter, including:

   - Let a user specify a PMU event without any config terms
   - Add perf-with-kcore script
   - Build programs to copy 32-bit compatibility VDSOs
   - Add support for 32-bit compatibility VDSOs
   - Let default config be defined for a PMU
   - Add perf_pmu__scan_file()

 o Add feature checks to .gitignore (Alexander Shishkin)

 o perf kvm stat report improvements by Alexander Yarygin:
   o  Save pid string in opts.target.pid
   o  Enable the target.system_wide flag
   o  Unify the title bar output

 o Fix build issue on powerpc when DWARF support is disabled (Anton 
 Blanchard)

 o Allow to specify lib compile variable for spec usage (Jiri Olsa)

 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com

 
 Adrian Hunter (6):
   perf tools: Let a user specify a PMU event without any config terms
   perf tools: Add perf-with-kcore script
   perf tools: Build programs to copy 32-bit compatibility VDSOs
   perf tools: Add support for 32-bit compatibility VDSOs
   perf tools: Let default config be defined for a PMU
   perf tools: Add perf_pmu__scan_file()

 Alexander Shishkin (1):
   perf tools: Add feature checks to .gitignore

 Alexander Yarygin (3):
   perf kvm stat report: Save pid string in opts.target.pid
   perf kvm stat report: Enable the target.system_wide flag
   perf kvm stat report: Unify the title bar output

 Anton Blanchard (1):
   perf tools powerpc: Fix build issue when DWARF support is disabled

 Jiri Olsa (2):
   perf tools: Add +field argument support for --sort option
   perf tools: Allow to specify lib compile variable for spec usage

  tools/perf/.gitignore|   2 +
  tools/perf/Makefile.perf |  42 ++-
  tools/perf/arch/powerpc/Makefile |   2 +-
  tools/perf/builtin-kvm.c |  23 ++--
  tools/perf/config/Makefile   |  33 -
  tools/perf/config/Makefile.arch  |   8 ++
  tools/perf/perf-read-vdso.c  |  59 +
  tools/perf/perf-with-kcore.sh| 259 
 +++
  tools/perf/tests/pmu.c   |   2 +-
  tools/perf/util/kvm-stat.h   |   1 -
  tools/perf/util/parse-events.c   |  13 +-
  tools/perf/util/parse-events.y   |  10 ++
  tools/perf/util/pmu.c|  79 +---
  tools/perf/util/pmu.h|  12 +-
  tools/perf/util/sort.c   |  37 +-
  tools/perf/util/vdso.c   | 170 -
  tools/perf/util/vdso.h   |   4 +-
  17 files changed, 712 insertions(+), 44 deletions(-)
  create mode 100644 tools/perf/perf-read-vdso.c
  create mode 100644 tools/perf/perf-with-kcore.sh

 Hm, so I'm getting this error, when trying to profile a 32-bit
 ELF binary on a 64-bit kernel, on a testbox:

  $ perf record ~/hackbench  10
  Time: 0.115
  [ perf record: Woken up 1 times to write data ]
  [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
  sh: perf-read-vdso32: command not found

 Presumably perf-read-vdso32 is not in the PATH.  Did you 'make install'?

 Why are we relying on an external command now in perf record?

We are not relying on it in the sense the 'record' works without it.
There is more explanation in perf tools: Build programs to copy 32-bit
compatibility VDSOs and perf tools: Add support for 32-bit compatibility
VDSOs (although those are the wrong versions of those patches - I will send
another email about that in a moment).

 

 comet:~/tip file ~/hackbench
 /home/mingo/hackbench: ELF 32-bit LSB executable, Intel 80386, version 1 
 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not 
 stripped

 64-bit executables work fine:

  $ perf record perf bench sched pipe
  # Running 'sched/pipe' benchmark:
  # Executed 100 pipe operations between two processes

   Total time: 13.374 [sec]

13.374352 usecs/op
74769 ops/sec
  [ perf record: Woken up 14 times to write data ]
  [ perf 

Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Adrian Hunter
On 09/09/2014 12:17 AM, Arnaldo Carvalho de Melo wrote:
 Hi Ingo,
 
   Please consider pulling,
 
 - Arnaldo

I am very sorry Arnaldo but 2 patches are older versions, namely:

perf tools: Build programs to copy 32-bit compatibility VDSOs
perf tools: Add support for 32-bit compatibility VDSOs

Up-to-date versions can be found from 15 August:

patchwork:

https://patchwork.kernel.org/patch/4729131/
https://patchwork.kernel.org/patch/4729111/

marc.info:

http://marc.info/?l=linux-kernelm=140812995414607w=4
http://marc.info/?l=linux-kernelm=140812993814585w=4

It looks like I reposted older versions by mistake on 31 July.
Very sorry :-(

The originals were changed as described here:

http://marc.info/?l=linux-kernelm=140621020918615
http://marc.info/?l=linux-kernelm=140618721010170

 
 The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
 
   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
 (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
 
   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
 
 
 perf/core improvements and fixes:
 
 User visible:
 
 o Add +field argument support for --sort option (Jiri Olsa)
 
 Infrastructure:
 
 o More intel PT prep work, from Adrian Hunter, including:
 
   - Let a user specify a PMU event without any config terms
   - Add perf-with-kcore script
   - Build programs to copy 32-bit compatibility VDSOs
   - Add support for 32-bit compatibility VDSOs
   - Let default config be defined for a PMU
   - Add perf_pmu__scan_file()
 
 o Add feature checks to .gitignore (Alexander Shishkin)
 
 o perf kvm stat report improvements by Alexander Yarygin:
   o  Save pid string in opts.target.pid
   o  Enable the target.system_wide flag
   o  Unify the title bar output
 
 o Fix build issue on powerpc when DWARF support is disabled (Anton Blanchard)
 
 o Allow to specify lib compile variable for spec usage (Jiri Olsa)
 
 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
 
 Adrian Hunter (6):
   perf tools: Let a user specify a PMU event without any config terms
   perf tools: Add perf-with-kcore script
   perf tools: Build programs to copy 32-bit compatibility VDSOs
   perf tools: Add support for 32-bit compatibility VDSOs
   perf tools: Let default config be defined for a PMU
   perf tools: Add perf_pmu__scan_file()
 
 Alexander Shishkin (1):
   perf tools: Add feature checks to .gitignore
 
 Alexander Yarygin (3):
   perf kvm stat report: Save pid string in opts.target.pid
   perf kvm stat report: Enable the target.system_wide flag
   perf kvm stat report: Unify the title bar output
 
 Anton Blanchard (1):
   perf tools powerpc: Fix build issue when DWARF support is disabled
 
 Jiri Olsa (2):
   perf tools: Add +field argument support for --sort option
   perf tools: Allow to specify lib compile variable for spec usage
 
  tools/perf/.gitignore|   2 +
  tools/perf/Makefile.perf |  42 ++-
  tools/perf/arch/powerpc/Makefile |   2 +-
  tools/perf/builtin-kvm.c |  23 ++--
  tools/perf/config/Makefile   |  33 -
  tools/perf/config/Makefile.arch  |   8 ++
  tools/perf/perf-read-vdso.c  |  59 +
  tools/perf/perf-with-kcore.sh| 259 
 +++
  tools/perf/tests/pmu.c   |   2 +-
  tools/perf/util/kvm-stat.h   |   1 -
  tools/perf/util/parse-events.c   |  13 +-
  tools/perf/util/parse-events.y   |  10 ++
  tools/perf/util/pmu.c|  79 +---
  tools/perf/util/pmu.h|  12 +-
  tools/perf/util/sort.c   |  37 +-
  tools/perf/util/vdso.c   | 170 -
  tools/perf/util/vdso.h   |   4 +-
  17 files changed, 712 insertions(+), 44 deletions(-)
  create mode 100644 tools/perf/perf-read-vdso.c
  create mode 100644 tools/perf/perf-with-kcore.sh
 
 

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
 It looks like I reposted older versions by mistake on 31 July.
 Very sorry :-(
 
 The originals were changed as described here:
 
   http://marc.info/?l=linux-kernelm=140621020918615
   http://marc.info/?l=linux-kernelm=140618721010170

No problem, the good thing is that we're almost getting it all in. I'll
rework the branch and resubmit, Ingo, is that OK with you? Or have you
already pulled and we should instead send a patch on top, fixing the
problem?

- Arnaldo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Ingo Molnar

* Adrian Hunter adrian.hun...@intel.com wrote:

 On 09/09/2014 07:59 AM, Ingo Molnar wrote:
  
  * Arnaldo Carvalho de Melo a...@kernel.org wrote:
  
  Hi Ingo,
 
 Please consider pulling,
 
  - Arnaldo
 
  The following changes since commit 
  39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
 
Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
  (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
 
perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
 
  
  perf/core improvements and fixes:
 
  User visible:
 
  o Add +field argument support for --sort option (Jiri Olsa)
 
  Infrastructure:
 
  o More intel PT prep work, from Adrian Hunter, including:
 
- Let a user specify a PMU event without any config terms
- Add perf-with-kcore script
- Build programs to copy 32-bit compatibility VDSOs
- Add support for 32-bit compatibility VDSOs
- Let default config be defined for a PMU
- Add perf_pmu__scan_file()
 
  o Add feature checks to .gitignore (Alexander Shishkin)
 
  o perf kvm stat report improvements by Alexander Yarygin:
o  Save pid string in opts.target.pid
o  Enable the target.system_wide flag
o  Unify the title bar output
 
  o Fix build issue on powerpc when DWARF support is disabled (Anton 
  Blanchard)
 
  o Allow to specify lib compile variable for spec usage (Jiri Olsa)
 
  Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
  
  Adrian Hunter (6):
perf tools: Let a user specify a PMU event without any config terms
perf tools: Add perf-with-kcore script
perf tools: Build programs to copy 32-bit compatibility VDSOs
perf tools: Add support for 32-bit compatibility VDSOs
perf tools: Let default config be defined for a PMU
perf tools: Add perf_pmu__scan_file()
 
  Alexander Shishkin (1):
perf tools: Add feature checks to .gitignore
 
  Alexander Yarygin (3):
perf kvm stat report: Save pid string in opts.target.pid
perf kvm stat report: Enable the target.system_wide flag
perf kvm stat report: Unify the title bar output
 
  Anton Blanchard (1):
perf tools powerpc: Fix build issue when DWARF support is disabled
 
  Jiri Olsa (2):
perf tools: Add +field argument support for --sort option
perf tools: Allow to specify lib compile variable for spec usage
 
   tools/perf/.gitignore|   2 +
   tools/perf/Makefile.perf |  42 ++-
   tools/perf/arch/powerpc/Makefile |   2 +-
   tools/perf/builtin-kvm.c |  23 ++--
   tools/perf/config/Makefile   |  33 -
   tools/perf/config/Makefile.arch  |   8 ++
   tools/perf/perf-read-vdso.c  |  59 +
   tools/perf/perf-with-kcore.sh| 259 
  +++
   tools/perf/tests/pmu.c   |   2 +-
   tools/perf/util/kvm-stat.h   |   1 -
   tools/perf/util/parse-events.c   |  13 +-
   tools/perf/util/parse-events.y   |  10 ++
   tools/perf/util/pmu.c|  79 +---
   tools/perf/util/pmu.h|  12 +-
   tools/perf/util/sort.c   |  37 +-
   tools/perf/util/vdso.c   | 170 -
   tools/perf/util/vdso.h   |   4 +-
   17 files changed, 712 insertions(+), 44 deletions(-)
   create mode 100644 tools/perf/perf-read-vdso.c
   create mode 100644 tools/perf/perf-with-kcore.sh
  
  Hm, so I'm getting this error, when trying to profile a 32-bit 
  ELF binary on a 64-bit kernel, on a testbox:
  
   $ perf record ~/hackbench  10
   Time: 0.115
   [ perf record: Woken up 1 times to write data ]
   [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
   sh: perf-read-vdso32: command not found
 
 Presumably perf-read-vdso32 is not in the PATH.  Did you 'make install'?

I did 'make install' as usual - that's the only thing that I type 
to install a new version of perf tooling.

Thanks,

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Ingo Molnar

* Arnaldo Carvalho de Melo a...@kernel.org wrote:

 Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
  It looks like I reposted older versions by mistake on 31 July.
  Very sorry :-(
  
  The originals were changed as described here:
  
  http://marc.info/?l=linux-kernelm=140621020918615
  http://marc.info/?l=linux-kernelm=140618721010170
 
 No problem, the good thing is that we're almost getting it all 
 in. I'll rework the branch and resubmit, Ingo, is that OK with 
 you? [...]

Yeah, that's perfectly OK.

 [...] Or have you already pulled and we should instead send a 
 patch on top, fixing the problem?

I pulled it locally then unpulled as it didn't pass my (very 
simple) tests and it looked like there's something fishy going 
on.

Thanks,

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 09, 2014 at 04:54:49PM +0200, Ingo Molnar escreveu:
 * Arnaldo Carvalho de Melo a...@kernel.org wrote:
 
  Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
   It looks like I reposted older versions by mistake on 31 July.
   Very sorry :-(

   The originals were changed as described here:

 http://marc.info/?l=linux-kernelm=140621020918615
 http://marc.info/?l=linux-kernelm=140618721010170

  No problem, the good thing is that we're almost getting it all 
  in. I'll rework the branch and resubmit, Ingo, is that OK with 
  you? [...]

 Yeah, that's perfectly OK.

  [...] Or have you already pulled and we should instead send a 
  patch on top, fixing the problem?

 I pulled it locally then unpulled as it didn't pass my (very 
 simple) tests and it looked like there's something fishy going 
 on.

Yeah, I should've tested this more, will make sure I test these things
this time.

Having a requirement that for each new feature we need an entry in 'perf
test' and/or in make -C tools/perf build-test seems a bit harsh, but
would be ideal, hook that to 'git request-pull' and this would hopefully
only happen every celestial aligment nights or so :-\
 
- Arnaldo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-09 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 09, 2014 at 11:48:20AM +0300, Adrian Hunter escreveu:
 On 09/09/2014 12:17 AM, Arnaldo Carvalho de Melo wrote:
  Hi Ingo,
  
  Please consider pulling,
  
  - Arnaldo
 
 I am very sorry Arnaldo but 2 patches are older versions, namely:
 
   perf tools: Build programs to copy 32-bit compatibility VDSOs
   perf tools: Add support for 32-bit compatibility VDSOs
 
 Up-to-date versions can be found from 15 August:
 
   patchwork:
 
   https://patchwork.kernel.org/patch/4729131/
   https://patchwork.kernel.org/patch/4729111/

Ok, those don't apply, as it expects other stuff, that you sent before,
but were not processed yet, to be in place, I'm fixing it up.

- Arnaldo
 
   marc.info:
 
   http://marc.info/?l=linux-kernelm=140812995414607w=4
   http://marc.info/?l=linux-kernelm=140812993814585w=4
 
 It looks like I reposted older versions by mistake on 31 July.
 Very sorry :-(
 
 The originals were changed as described here:
 
   http://marc.info/?l=linux-kernelm=140621020918615
   http://marc.info/?l=linux-kernelm=140618721010170
 
  
  The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
  
Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
  (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
  
perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
  
  
  perf/core improvements and fixes:
  
  User visible:
  
  o Add +field argument support for --sort option (Jiri Olsa)
  
  Infrastructure:
  
  o More intel PT prep work, from Adrian Hunter, including:
  
- Let a user specify a PMU event without any config terms
- Add perf-with-kcore script
- Build programs to copy 32-bit compatibility VDSOs
- Add support for 32-bit compatibility VDSOs
- Let default config be defined for a PMU
- Add perf_pmu__scan_file()
  
  o Add feature checks to .gitignore (Alexander Shishkin)
  
  o perf kvm stat report improvements by Alexander Yarygin:
o  Save pid string in opts.target.pid
o  Enable the target.system_wide flag
o  Unify the title bar output
  
  o Fix build issue on powerpc when DWARF support is disabled (Anton 
  Blanchard)
  
  o Allow to specify lib compile variable for spec usage (Jiri Olsa)
  
  Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
  
  
  Adrian Hunter (6):
perf tools: Let a user specify a PMU event without any config terms
perf tools: Add perf-with-kcore script
perf tools: Build programs to copy 32-bit compatibility VDSOs
perf tools: Add support for 32-bit compatibility VDSOs
perf tools: Let default config be defined for a PMU
perf tools: Add perf_pmu__scan_file()
  
  Alexander Shishkin (1):
perf tools: Add feature checks to .gitignore
  
  Alexander Yarygin (3):
perf kvm stat report: Save pid string in opts.target.pid
perf kvm stat report: Enable the target.system_wide flag
perf kvm stat report: Unify the title bar output
  
  Anton Blanchard (1):
perf tools powerpc: Fix build issue when DWARF support is disabled
  
  Jiri Olsa (2):
perf tools: Add +field argument support for --sort option
perf tools: Allow to specify lib compile variable for spec usage
  
   tools/perf/.gitignore|   2 +
   tools/perf/Makefile.perf |  42 ++-
   tools/perf/arch/powerpc/Makefile |   2 +-
   tools/perf/builtin-kvm.c |  23 ++--
   tools/perf/config/Makefile   |  33 -
   tools/perf/config/Makefile.arch  |   8 ++
   tools/perf/perf-read-vdso.c  |  59 +
   tools/perf/perf-with-kcore.sh| 259 
  +++
   tools/perf/tests/pmu.c   |   2 +-
   tools/perf/util/kvm-stat.h   |   1 -
   tools/perf/util/parse-events.c   |  13 +-
   tools/perf/util/parse-events.y   |  10 ++
   tools/perf/util/pmu.c|  79 +---
   tools/perf/util/pmu.h|  12 +-
   tools/perf/util/sort.c   |  37 +-
   tools/perf/util/vdso.c   | 170 -
   tools/perf/util/vdso.h   |   4 +-
   17 files changed, 712 insertions(+), 44 deletions(-)
   create mode 100644 tools/perf/perf-read-vdso.c
   create mode 100644 tools/perf/perf-with-kcore.sh
  
  
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-08 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
> 
>   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
> (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
> 
>   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> o Add +field argument support for --sort option (Jiri Olsa)
> 
> Infrastructure:
> 
> o More intel PT prep work, from Adrian Hunter, including:
> 
>   - Let a user specify a PMU event without any config terms
>   - Add perf-with-kcore script
>   - Build programs to copy 32-bit compatibility VDSOs
>   - Add support for 32-bit compatibility VDSOs
>   - Let default config be defined for a PMU
>   - Add perf_pmu__scan_file()
> 
> o Add feature checks to .gitignore (Alexander Shishkin)
> 
> o "perf kvm stat report" improvements by Alexander Yarygin:
>   o  Save pid string in opts.target.pid
>   o  Enable the target.system_wide flag
>   o  Unify the title bar output
> 
> o Fix build issue on powerpc when DWARF support is disabled (Anton Blanchard)
> 
> o Allow to specify lib compile variable for spec usage (Jiri Olsa)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (6):
>   perf tools: Let a user specify a PMU event without any config terms
>   perf tools: Add perf-with-kcore script
>   perf tools: Build programs to copy 32-bit compatibility VDSOs
>   perf tools: Add support for 32-bit compatibility VDSOs
>   perf tools: Let default config be defined for a PMU
>   perf tools: Add perf_pmu__scan_file()
> 
> Alexander Shishkin (1):
>   perf tools: Add feature checks to .gitignore
> 
> Alexander Yarygin (3):
>   perf kvm stat report: Save pid string in opts.target.pid
>   perf kvm stat report: Enable the target.system_wide flag
>   perf kvm stat report: Unify the title bar output
> 
> Anton Blanchard (1):
>   perf tools powerpc: Fix build issue when DWARF support is disabled
> 
> Jiri Olsa (2):
>   perf tools: Add +field argument support for --sort option
>   perf tools: Allow to specify lib compile variable for spec usage
> 
>  tools/perf/.gitignore|   2 +
>  tools/perf/Makefile.perf |  42 ++-
>  tools/perf/arch/powerpc/Makefile |   2 +-
>  tools/perf/builtin-kvm.c |  23 ++--
>  tools/perf/config/Makefile   |  33 -
>  tools/perf/config/Makefile.arch  |   8 ++
>  tools/perf/perf-read-vdso.c  |  59 +
>  tools/perf/perf-with-kcore.sh| 259 
> +++
>  tools/perf/tests/pmu.c   |   2 +-
>  tools/perf/util/kvm-stat.h   |   1 -
>  tools/perf/util/parse-events.c   |  13 +-
>  tools/perf/util/parse-events.y   |  10 ++
>  tools/perf/util/pmu.c|  79 +---
>  tools/perf/util/pmu.h|  12 +-
>  tools/perf/util/sort.c   |  37 +-
>  tools/perf/util/vdso.c   | 170 -
>  tools/perf/util/vdso.h   |   4 +-
>  17 files changed, 712 insertions(+), 44 deletions(-)
>  create mode 100644 tools/perf/perf-read-vdso.c
>  create mode 100644 tools/perf/perf-with-kcore.sh

Hm, so I'm getting this error, when trying to profile a 32-bit 
ELF binary on a 64-bit kernel, on a testbox:

 $ perf record ~/hackbench  10
 Time: 0.115
 [ perf record: Woken up 1 times to write data ]
 [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
 sh: perf-read-vdso32: command not found

comet:~/tip> file ~/hackbench 
/home/mingo/hackbench: ELF 32-bit LSB executable, Intel 80386, version 1 
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

64-bit executables work fine:

 $ perf record perf bench sched pipe
 # Running 'sched/pipe' benchmark:
 # Executed 100 pipe operations between two processes

  Total time: 13.374 [sec]

   13.374352 usecs/op
   74769 ops/sec
 [ perf record: Woken up 14 times to write data ]
 [ perf record: Captured and wrote 3.602 MB perf.data (~157354 samples) ]

The kernel is an older one:

 $ uname -a
 Linux comet 3.14.17-100.fc19.x86_64 #1 SMP Thu Aug 14 17:17:26 
 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-09-08 Thread Ingo Molnar

* Arnaldo Carvalho de Melo a...@kernel.org wrote:

 Hi Ingo,
 
   Please consider pulling,
 
 - Arnaldo
 
 The following changes since commit 39b5a56ec0be5effe9b7d0f18cb27724bf2e5d47:
 
   Merge branch 'rfc/perf' into perf/core, because it's ready for inclusion 
 (2014-08-24 22:35:42 +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 fa3480cb0a96c8af9ded1a8c836c91bd5704bda1:
 
   perf tools: Add perf_pmu__scan_file() (2014-09-08 17:16:06 -0300)
 
 
 perf/core improvements and fixes:
 
 User visible:
 
 o Add +field argument support for --sort option (Jiri Olsa)
 
 Infrastructure:
 
 o More intel PT prep work, from Adrian Hunter, including:
 
   - Let a user specify a PMU event without any config terms
   - Add perf-with-kcore script
   - Build programs to copy 32-bit compatibility VDSOs
   - Add support for 32-bit compatibility VDSOs
   - Let default config be defined for a PMU
   - Add perf_pmu__scan_file()
 
 o Add feature checks to .gitignore (Alexander Shishkin)
 
 o perf kvm stat report improvements by Alexander Yarygin:
   o  Save pid string in opts.target.pid
   o  Enable the target.system_wide flag
   o  Unify the title bar output
 
 o Fix build issue on powerpc when DWARF support is disabled (Anton Blanchard)
 
 o Allow to specify lib compile variable for spec usage (Jiri Olsa)
 
 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
 
 Adrian Hunter (6):
   perf tools: Let a user specify a PMU event without any config terms
   perf tools: Add perf-with-kcore script
   perf tools: Build programs to copy 32-bit compatibility VDSOs
   perf tools: Add support for 32-bit compatibility VDSOs
   perf tools: Let default config be defined for a PMU
   perf tools: Add perf_pmu__scan_file()
 
 Alexander Shishkin (1):
   perf tools: Add feature checks to .gitignore
 
 Alexander Yarygin (3):
   perf kvm stat report: Save pid string in opts.target.pid
   perf kvm stat report: Enable the target.system_wide flag
   perf kvm stat report: Unify the title bar output
 
 Anton Blanchard (1):
   perf tools powerpc: Fix build issue when DWARF support is disabled
 
 Jiri Olsa (2):
   perf tools: Add +field argument support for --sort option
   perf tools: Allow to specify lib compile variable for spec usage
 
  tools/perf/.gitignore|   2 +
  tools/perf/Makefile.perf |  42 ++-
  tools/perf/arch/powerpc/Makefile |   2 +-
  tools/perf/builtin-kvm.c |  23 ++--
  tools/perf/config/Makefile   |  33 -
  tools/perf/config/Makefile.arch  |   8 ++
  tools/perf/perf-read-vdso.c  |  59 +
  tools/perf/perf-with-kcore.sh| 259 
 +++
  tools/perf/tests/pmu.c   |   2 +-
  tools/perf/util/kvm-stat.h   |   1 -
  tools/perf/util/parse-events.c   |  13 +-
  tools/perf/util/parse-events.y   |  10 ++
  tools/perf/util/pmu.c|  79 +---
  tools/perf/util/pmu.h|  12 +-
  tools/perf/util/sort.c   |  37 +-
  tools/perf/util/vdso.c   | 170 -
  tools/perf/util/vdso.h   |   4 +-
  17 files changed, 712 insertions(+), 44 deletions(-)
  create mode 100644 tools/perf/perf-read-vdso.c
  create mode 100644 tools/perf/perf-with-kcore.sh

Hm, so I'm getting this error, when trying to profile a 32-bit 
ELF binary on a 64-bit kernel, on a testbox:

 $ perf record ~/hackbench  10
 Time: 0.115
 [ perf record: Woken up 1 times to write data ]
 [ perf record: Captured and wrote 0.373 MB perf.data (~16279 samples) ]
 sh: perf-read-vdso32: command not found

comet:~/tip file ~/hackbench 
/home/mingo/hackbench: ELF 32-bit LSB executable, Intel 80386, version 1 
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped

64-bit executables work fine:

 $ perf record perf bench sched pipe
 # Running 'sched/pipe' benchmark:
 # Executed 100 pipe operations between two processes

  Total time: 13.374 [sec]

   13.374352 usecs/op
   74769 ops/sec
 [ perf record: Woken up 14 times to write data ]
 [ perf record: Captured and wrote 3.602 MB perf.data (~157354 samples) ]

The kernel is an older one:

 $ uname -a
 Linux comet 3.14.17-100.fc19.x86_64 #1 SMP Thu Aug 14 17:17:26 
 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Thanks,

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-03-19 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> From: Arnaldo Carvalho de Melo 
> 
> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 0afd2d51029961281572d02545c7bde1b3f4292c:
> 
>   Merge tag 'perf-core-for-mingo' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2014-03-18 09:23:09 +0100)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux 
> tags/perf-core-for-mingo
> 
> for you to fetch changes up to a51e87cb5a0fbebee15a3373d951dbf6f59a76c2:
> 
>   perf tools: Remove unused simple_strtoul() function (2014-03-18 18:17:07 
> -0300)
> 
> 
> perf/core improvements and fixes:
> 
> User visible:
> 
> . Fixup header alignment in 'perf sched latency' output (Ramkumar Ramachandra)
> 
> . Fix off-by-one error in 'perf timechart record' argv handling (Ramkumar 
> Ramachandra)
> 
> . Print the evsel name in the annotate stdio output, prep to fix support
>   outputting annotation for multiple events, not just for the first one
>   (Arnaldo Carvalho de Melo)
> 
> Internals:
> 
> . Use tid in mmap/mmap2 events to find maps (Don Zickus)
> 
> . Record the reason for filtering an address_location (Namhyung Kim)
> 
> . Apply all filters to an addr_location (Namhyung Kim)
> 
> . Merge al->filtered with hist_entry->filtered in report/hists (Namhyung Kim)
> 
> . Fix memory leak when synthesizing thread records (Namhyung Kim)
> 
> . Use ui__has_annotation() in 'report' (Namhyung Kim)
> 
> Cleanups:
> 
> . Remove unused thread__find_map function (Jiri Olsa)
> 
> . Remove unused simple_strtoul() function (Ramkumar Ramachandra)
> 
> Documentation:
> 
> . Update function names in debug messages (Ramkumar Ramachandra)
> 
> . Update some code references in design.txt (Ramkumar Ramachandra)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (1):
>   perf annotate: Print the evsel name in the stdio output
> 
> Don Zickus (1):
>   perf tools: Use tid in mmap/mmap2 events to find maps
> 
> Jiri Olsa (1):
>   perf tools: Remove thread__find_map function
> 
> Namhyung Kim (5):
>   perf symbols: Record the reason for filtering an address_location
>   perf symbols: Apply all filters to an addr_location
>   perf report: Merge al->filtered with hist_entry->filtered
>   perf tools: Fix memory leak when synthesizing thread records
>   perf report: Use ui__has_annotation()
> 
> Ramkumar Ramachandra (5):
>   perf timechart: Fix off-by-one error in 'record' argv handling
>   perf sched: Fixup header alignment in 'latency' output
>   perf evsel: Update function names in debug messages
>   perf tools: Update some code references in design.txt
>   perf tools: Remove unused simple_strtoul() function
> 
>  tools/perf/builtin-report.c|  4 ++--
>  tools/perf/builtin-sched.c | 10 +-
>  tools/perf/builtin-timechart.c |  4 ++--
>  tools/perf/design.txt  | 12 ++--
>  tools/perf/tests/hists_link.c  |  1 +
>  tools/perf/util/annotate.c | 14 +-
>  tools/perf/util/event.c| 34 
> +-
>  tools/perf/util/evsel.c|  4 ++--
>  tools/perf/util/hist.c |  9 +
>  tools/perf/util/hist.h |  9 +
>  tools/perf/util/include/linux/kernel.h |  6 --
>  tools/perf/util/machine.c  |  6 +++---
>  tools/perf/util/symbol.h   |  2 +-
>  tools/perf/util/thread.h   |  6 --
>  14 files changed, 58 insertions(+), 63 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-03-19 Thread Ingo Molnar

* Arnaldo Carvalho de Melo a...@infradead.org wrote:

 From: Arnaldo Carvalho de Melo a...@ghostprotocols.net
 
 Hi Ingo,
 
   Please consider pulling,
 
 - Arnaldo
 
 The following changes since commit 0afd2d51029961281572d02545c7bde1b3f4292c:
 
   Merge tag 'perf-core-for-mingo' of 
 git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
 (2014-03-18 09:23:09 +0100)
 
 are available in the git repository at:
 
 
   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux 
 tags/perf-core-for-mingo
 
 for you to fetch changes up to a51e87cb5a0fbebee15a3373d951dbf6f59a76c2:
 
   perf tools: Remove unused simple_strtoul() function (2014-03-18 18:17:07 
 -0300)
 
 
 perf/core improvements and fixes:
 
 User visible:
 
 . Fixup header alignment in 'perf sched latency' output (Ramkumar Ramachandra)
 
 . Fix off-by-one error in 'perf timechart record' argv handling (Ramkumar 
 Ramachandra)
 
 . Print the evsel name in the annotate stdio output, prep to fix support
   outputting annotation for multiple events, not just for the first one
   (Arnaldo Carvalho de Melo)
 
 Internals:
 
 . Use tid in mmap/mmap2 events to find maps (Don Zickus)
 
 . Record the reason for filtering an address_location (Namhyung Kim)
 
 . Apply all filters to an addr_location (Namhyung Kim)
 
 . Merge al-filtered with hist_entry-filtered in report/hists (Namhyung Kim)
 
 . Fix memory leak when synthesizing thread records (Namhyung Kim)
 
 . Use ui__has_annotation() in 'report' (Namhyung Kim)
 
 Cleanups:
 
 . Remove unused thread__find_map function (Jiri Olsa)
 
 . Remove unused simple_strtoul() function (Ramkumar Ramachandra)
 
 Documentation:
 
 . Update function names in debug messages (Ramkumar Ramachandra)
 
 . Update some code references in design.txt (Ramkumar Ramachandra)
 
 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
 
 Arnaldo Carvalho de Melo (1):
   perf annotate: Print the evsel name in the stdio output
 
 Don Zickus (1):
   perf tools: Use tid in mmap/mmap2 events to find maps
 
 Jiri Olsa (1):
   perf tools: Remove thread__find_map function
 
 Namhyung Kim (5):
   perf symbols: Record the reason for filtering an address_location
   perf symbols: Apply all filters to an addr_location
   perf report: Merge al-filtered with hist_entry-filtered
   perf tools: Fix memory leak when synthesizing thread records
   perf report: Use ui__has_annotation()
 
 Ramkumar Ramachandra (5):
   perf timechart: Fix off-by-one error in 'record' argv handling
   perf sched: Fixup header alignment in 'latency' output
   perf evsel: Update function names in debug messages
   perf tools: Update some code references in design.txt
   perf tools: Remove unused simple_strtoul() function
 
  tools/perf/builtin-report.c|  4 ++--
  tools/perf/builtin-sched.c | 10 +-
  tools/perf/builtin-timechart.c |  4 ++--
  tools/perf/design.txt  | 12 ++--
  tools/perf/tests/hists_link.c  |  1 +
  tools/perf/util/annotate.c | 14 +-
  tools/perf/util/event.c| 34 
 +-
  tools/perf/util/evsel.c|  4 ++--
  tools/perf/util/hist.c |  9 +
  tools/perf/util/hist.h |  9 +
  tools/perf/util/include/linux/kernel.h |  6 --
  tools/perf/util/machine.c  |  6 +++---
  tools/perf/util/symbol.h   |  2 +-
  tools/perf/util/thread.h   |  6 --
  14 files changed, 58 insertions(+), 63 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-01-16 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> From: Arnaldo Carvalho de Melo 
> 
> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 197749981e539c1eb5863f417de6dd4e2c02b76c:
> 
>   Merge tag 'perf-core-for-mingo' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2014-01-14 17:25:12 +0100)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux 
> tags/perf-core-for-mingo
> 
> for you to fetch changes up to 0e9e79a13ab9d56b86db6538305babc23b1445cc:
> 
>   tools lib traceevent: fix pointer-integer size mismatch (2014-01-15 
> 17:04:38 -0300)
> 
> 
> Changes in user visible interfaces:
> 
> . Rename 'record's --no-delay option to --no-buffering, better reflecting its
>   purpose and freeing up '--delay' to take the place of '--initial-delay', so 
> that
>   'record' and 'stat' are consistent.
> 
> Refactorings:
> 
> . Get rid of die() and friends (good riddance!) in libtraceevent (Namhyung 
> Kim)
> 
> Developer stuff:
> 
> . Fix cross build problems related to pkgconfig and CROSS_COMPILE not being
>   propagated to the feature tests, leading to features being tested in the
>   host and then being enabled on the target. (Mark Rutland)
> 
> . Fix pointer-integer size mismatch in some libtraceevent plugins (Mark 
> Rutland)
> 
> . Fix build error due to zfree() cast (Namhyung Kim)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (2):
>   perf record: Rename --no-delay to --no-buffering
>   perf record: Rename --initial-delay to --delay
> 
> Mark Rutland (2):
>   perf: tools: Fix cross building
>   tools lib traceevent: fix pointer-integer size mismatch
> 
> Namhyung Kim (9):
>   perf tools: Fix build error due to zfree() cast
>   tools lib traceevent: Add state member to struct trace_seq
>   tools lib traceevent: Check return value of realloc()
>   tools lib traceevent: Get rid of malloc_or_die() in trace_seq_init()
>   tools lib traceevent: Get rid of die() finally!!
>   tools lib traceevent: Make plugin unload function receive pevent
>   perf tools: Remove symbol_conf.use_callchain check
>   perf tools: Factor out sample__resolve_callchain()
>   perf hists: Convert hist entry functions to use struct he_stat
> 
>  tools/lib/traceevent/Makefile |  2 +-
>  tools/lib/traceevent/event-parse.h| 14 +--
>  tools/lib/traceevent/event-plugin.c   |  4 +-
>  tools/lib/traceevent/event-utils.h|  4 --
>  tools/lib/traceevent/parse-utils.c| 44 
>  tools/lib/traceevent/plugin_cfg80211.c|  2 +-
>  tools/lib/traceevent/plugin_function.c|  2 +-
>  tools/lib/traceevent/plugin_scsi.c|  2 +-
>  tools/lib/traceevent/trace-seq.c  | 67 
> ---
>  tools/perf/Documentation/perf-record.txt  |  6 +--
>  tools/perf/Makefile.perf  |  1 +
>  tools/perf/builtin-record.c   |  4 +-
>  tools/perf/builtin-report.c   | 24 ++-
>  tools/perf/builtin-top.c  | 22 --
>  tools/perf/builtin-trace.c|  2 +-
>  tools/perf/config/Makefile|  6 +--
>  tools/perf/config/feature-checks/Makefile |  9 +++--
>  tools/perf/perf.h |  2 +-
>  tools/perf/tests/open-syscall-tp-fields.c |  8 ++--
>  tools/perf/tests/perf-record.c|  6 +--
>  tools/perf/util/callchain.c   | 23 +++
>  tools/perf/util/callchain.h   |  6 +++
>  tools/perf/util/evsel.c   |  2 +-
>  tools/perf/util/hist.c| 22 +-
>  tools/perf/util/machine.c |  2 -
>  tools/perf/util/srcline.c |  4 +-
>  tools/perf/util/strlist.c |  2 +-
>  tools/perf/util/trace-event.c |  2 +-
>  28 files changed, 147 insertions(+), 147 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2014-01-16 Thread Ingo Molnar

* Arnaldo Carvalho de Melo a...@infradead.org wrote:

 From: Arnaldo Carvalho de Melo a...@ghostprotocols.net
 
 Hi Ingo,
 
   Please consider pulling,
 
 - Arnaldo
 
 The following changes since commit 197749981e539c1eb5863f417de6dd4e2c02b76c:
 
   Merge tag 'perf-core-for-mingo' of 
 git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
 (2014-01-14 17:25:12 +0100)
 
 are available in the git repository at:
 
 
   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux 
 tags/perf-core-for-mingo
 
 for you to fetch changes up to 0e9e79a13ab9d56b86db6538305babc23b1445cc:
 
   tools lib traceevent: fix pointer-integer size mismatch (2014-01-15 
 17:04:38 -0300)
 
 
 Changes in user visible interfaces:
 
 . Rename 'record's --no-delay option to --no-buffering, better reflecting its
   purpose and freeing up '--delay' to take the place of '--initial-delay', so 
 that
   'record' and 'stat' are consistent.
 
 Refactorings:
 
 . Get rid of die() and friends (good riddance!) in libtraceevent (Namhyung 
 Kim)
 
 Developer stuff:
 
 . Fix cross build problems related to pkgconfig and CROSS_COMPILE not being
   propagated to the feature tests, leading to features being tested in the
   host and then being enabled on the target. (Mark Rutland)
 
 . Fix pointer-integer size mismatch in some libtraceevent plugins (Mark 
 Rutland)
 
 . Fix build error due to zfree() cast (Namhyung Kim)
 
 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
 
 Arnaldo Carvalho de Melo (2):
   perf record: Rename --no-delay to --no-buffering
   perf record: Rename --initial-delay to --delay
 
 Mark Rutland (2):
   perf: tools: Fix cross building
   tools lib traceevent: fix pointer-integer size mismatch
 
 Namhyung Kim (9):
   perf tools: Fix build error due to zfree() cast
   tools lib traceevent: Add state member to struct trace_seq
   tools lib traceevent: Check return value of realloc()
   tools lib traceevent: Get rid of malloc_or_die() in trace_seq_init()
   tools lib traceevent: Get rid of die() finally!!
   tools lib traceevent: Make plugin unload function receive pevent
   perf tools: Remove symbol_conf.use_callchain check
   perf tools: Factor out sample__resolve_callchain()
   perf hists: Convert hist entry functions to use struct he_stat
 
  tools/lib/traceevent/Makefile |  2 +-
  tools/lib/traceevent/event-parse.h| 14 +--
  tools/lib/traceevent/event-plugin.c   |  4 +-
  tools/lib/traceevent/event-utils.h|  4 --
  tools/lib/traceevent/parse-utils.c| 44 
  tools/lib/traceevent/plugin_cfg80211.c|  2 +-
  tools/lib/traceevent/plugin_function.c|  2 +-
  tools/lib/traceevent/plugin_scsi.c|  2 +-
  tools/lib/traceevent/trace-seq.c  | 67 
 ---
  tools/perf/Documentation/perf-record.txt  |  6 +--
  tools/perf/Makefile.perf  |  1 +
  tools/perf/builtin-record.c   |  4 +-
  tools/perf/builtin-report.c   | 24 ++-
  tools/perf/builtin-top.c  | 22 --
  tools/perf/builtin-trace.c|  2 +-
  tools/perf/config/Makefile|  6 +--
  tools/perf/config/feature-checks/Makefile |  9 +++--
  tools/perf/perf.h |  2 +-
  tools/perf/tests/open-syscall-tp-fields.c |  8 ++--
  tools/perf/tests/perf-record.c|  6 +--
  tools/perf/util/callchain.c   | 23 +++
  tools/perf/util/callchain.h   |  6 +++
  tools/perf/util/evsel.c   |  2 +-
  tools/perf/util/hist.c| 22 +-
  tools/perf/util/machine.c |  2 -
  tools/perf/util/srcline.c |  4 +-
  tools/perf/util/strlist.c |  2 +-
  tools/perf/util/trace-event.c |  2 +-
  28 files changed, 147 insertions(+), 147 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2013-11-12 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> From: Arnaldo Carvalho de Melo 
> 
> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 67c1e4a53b17894e6a24f95057cc374c4be051cb:
> 
>   perf tests: Use lower sample_freq in sw clock event period test (2013-11-11 
> 16:43:34 -0300)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux 
> tags/perf-core-for-mingo
> 
> for you to fetch changes up to 0497a9ebaf7ae4d573497b3e053ad4c3d5c9921d:
> 
>   tools lib traceevent: Add direct access to dynamic arrays (2013-11-12 
> 17:23:44 -0300)
> 
> 
> perf/core improvements and fixes:
> 
> . Add summary only option to 'perf trace', suppressing the decoding of
>   events, from David Ahern
> 
> . 'perf trace --summary' formatting simplifications, from Pekka Emberg.
> 
> . Beautify fifth argument of mmap() as fd, in 'perf trace', from Namhyung Kim.
> 
> . Fix segfault on perf trace -i perf.data, from Namhyung Kim.
> 
> . Fix segfault with --no-mmap-pages, from David Ahern.
> 
> . Round mmap pages to power 2, from David Ahern.
> 
> . Add direct access to dynamic arrays in libtraceevent, from Steven Rostedt.
> 
> . Handle throttle events in 'object code reading' test, fix from Adrian 
> Hunter.
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (2):
>   perf tests: Compensate lower sample freq with longer test loop
>   perf tests: Handle throttle events in 'object code reading' test
> 
> Arnaldo Carvalho de Melo (1):
>   perf target: Shorten perf_target__ to target__
> 
> David Ahern (4):
>   perf trace: Add summary only option
>   perf record: Fix segfault with --no-mmap-pages
>   perf evlist: Round mmap pages to power 2 - v2
>   perf evlist: Refactor mmap_pages parsing
> 
> Namhyung Kim (3):
>   perf trace: Beautify fifth argument of mmap() as fd
>   perf trace: Separate tp syscall field caching into init routine to be 
> reused
>   perf trace: Fix segfault on perf trace -i perf.data
> 
> Pekka Enberg (2):
>   perf trace: Change syscall summary duration order
>   perf trace: Simplify '--summary' output
> 
> Steven Rostedt (1):
>   tools lib traceevent: Add direct access to dynamic arrays
> 
>  tools/lib/traceevent/event-parse.c  |  13 
>  tools/perf/Documentation/perf-trace.txt |  10 ++-
>  tools/perf/builtin-kvm.c|   6 +-
>  tools/perf/builtin-record.c |  14 ++--
>  tools/perf/builtin-stat.c   |  21 +++---
>  tools/perf/builtin-top.c|  14 ++--
>  tools/perf/builtin-trace.c  | 121 
> +++-
>  tools/perf/perf.h   |   2 +-
>  tools/perf/tests/code-reading.c |  15 +++-
>  tools/perf/tests/sw-clock.c |   2 +-
>  tools/perf/tests/task-exit.c|   2 +-
>  tools/perf/util/evlist.c|  64 ++---
>  tools/perf/util/evlist.h|   5 +-
>  tools/perf/util/evsel.c |   9 ++-
>  tools/perf/util/evsel.h |   3 +-
>  tools/perf/util/machine.c   |   6 +-
>  tools/perf/util/machine.h   |   4 +-
>  tools/perf/util/target.c|  54 +++---
>  tools/perf/util/target.h|  44 ++--
>  tools/perf/util/top.c   |   2 +-
>  20 files changed, 236 insertions(+), 175 deletions(-)

Pulled, including yesterday's bits as well - thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2013-11-12 Thread Ingo Molnar

* Arnaldo Carvalho de Melo a...@infradead.org wrote:

 From: Arnaldo Carvalho de Melo a...@ghostprotocols.net
 
 Hi Ingo,
 
   Please consider pulling,
 
 - Arnaldo
 
 The following changes since commit 67c1e4a53b17894e6a24f95057cc374c4be051cb:
 
   perf tests: Use lower sample_freq in sw clock event period test (2013-11-11 
 16:43:34 -0300)
 
 are available in the git repository at:
 
   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux 
 tags/perf-core-for-mingo
 
 for you to fetch changes up to 0497a9ebaf7ae4d573497b3e053ad4c3d5c9921d:
 
   tools lib traceevent: Add direct access to dynamic arrays (2013-11-12 
 17:23:44 -0300)
 
 
 perf/core improvements and fixes:
 
 . Add summary only option to 'perf trace', suppressing the decoding of
   events, from David Ahern
 
 . 'perf trace --summary' formatting simplifications, from Pekka Emberg.
 
 . Beautify fifth argument of mmap() as fd, in 'perf trace', from Namhyung Kim.
 
 . Fix segfault on perf trace -i perf.data, from Namhyung Kim.
 
 . Fix segfault with --no-mmap-pages, from David Ahern.
 
 . Round mmap pages to power 2, from David Ahern.
 
 . Add direct access to dynamic arrays in libtraceevent, from Steven Rostedt.
 
 . Handle throttle events in 'object code reading' test, fix from Adrian 
 Hunter.
 
 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
 
 Adrian Hunter (2):
   perf tests: Compensate lower sample freq with longer test loop
   perf tests: Handle throttle events in 'object code reading' test
 
 Arnaldo Carvalho de Melo (1):
   perf target: Shorten perf_target__ to target__
 
 David Ahern (4):
   perf trace: Add summary only option
   perf record: Fix segfault with --no-mmap-pages
   perf evlist: Round mmap pages to power 2 - v2
   perf evlist: Refactor mmap_pages parsing
 
 Namhyung Kim (3):
   perf trace: Beautify fifth argument of mmap() as fd
   perf trace: Separate tp syscall field caching into init routine to be 
 reused
   perf trace: Fix segfault on perf trace -i perf.data
 
 Pekka Enberg (2):
   perf trace: Change syscall summary duration order
   perf trace: Simplify '--summary' output
 
 Steven Rostedt (1):
   tools lib traceevent: Add direct access to dynamic arrays
 
  tools/lib/traceevent/event-parse.c  |  13 
  tools/perf/Documentation/perf-trace.txt |  10 ++-
  tools/perf/builtin-kvm.c|   6 +-
  tools/perf/builtin-record.c |  14 ++--
  tools/perf/builtin-stat.c   |  21 +++---
  tools/perf/builtin-top.c|  14 ++--
  tools/perf/builtin-trace.c  | 121 
 +++-
  tools/perf/perf.h   |   2 +-
  tools/perf/tests/code-reading.c |  15 +++-
  tools/perf/tests/sw-clock.c |   2 +-
  tools/perf/tests/task-exit.c|   2 +-
  tools/perf/util/evlist.c|  64 ++---
  tools/perf/util/evlist.h|   5 +-
  tools/perf/util/evsel.c |   9 ++-
  tools/perf/util/evsel.h |   3 +-
  tools/perf/util/machine.c   |   6 +-
  tools/perf/util/machine.h   |   4 +-
  tools/perf/util/target.c|  54 +++---
  tools/perf/util/target.h|  44 ++--
  tools/perf/util/top.c   |   2 +-
  20 files changed, 236 insertions(+), 175 deletions(-)

Pulled, including yesterday's bits as well - thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2012-09-08 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit 479d875835a49e849683743ec50c30b6a429696b:
> 
>   Merge tag 'perf-core-for-mingo' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
> (2012-09-07 07:36:59 +0200)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux 
> tags/perf-core-for-mingo
> 
> for you to fetch changes up to b155a09015135cf59ada8d48109ccbd9891c1b42:
> 
>   perf tools: Fix build for another rbtree.c change (2012-09-07 22:21:59 
> -0300)
> 
> 
> perf/core improvements and fixes
> 
>  . Fix build for another rbtree.c change, from Adrian Hunter.
> 
>  . Fixes for perf to build on Android, from Irina Tirdea.
> 
>  . Make 'perf diff' command work with evsel hists, from Jiri Olsa.
> 
>  . Use the only field_sep var that is set up: symbol_conf.field_sep,
>fix from Jiri Olsa.
> 
>  . .gitignore compiled python binaries, from Namhyung Kim.
> 
>  . Get rid of die() in more libtraceevent places, from Namhyung Kim.
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (1):
>   perf tools: Fix build for another rbtree.c change
> 
> Irina Tirdea (6):
>   perf tools: include basename for non-glibc systems
>   perf tools: fix missing winsize definition
>   perf tools: include missing pthread.h header
>   perf tools: replace mkostemp with mkstemp
>   tools lib traceevent: replace mempcpy with memcpy
>   perf tools: add NO_BACKTRACE for application self-debugging
> 
> Jiri Olsa (2):
>   perf diff: Make diff command work with evsel hists
>   perf tools: Replace sort's standalone field_sep with 
> symbol_conf.field_sep
> 
> Namhyung Kim (4):
>   perf tools: Ignore compiled python binaries
>   tools lib traceevent: Get rid of die() from pretty_print()
>   tools lib traceevent: Get rid of die() from 
> pevent_register_event_handler
>   tools lib traceevent: Get rid of die() from 
> pevent_register_print_function
> 
>  tools/lib/traceevent/event-parse.c |   86 +
>  tools/lib/traceevent/event-parse.h |3 +-
>  tools/perf/.gitignore  |2 +
>  tools/perf/Documentation/perf-diff.txt |3 ++
>  tools/perf/Makefile|8 +++
>  tools/perf/builtin-diff.c  |   93 
> +---
>  tools/perf/config/feature-tests.mak|   14 +
>  tools/perf/perf.c  |1 +
>  tools/perf/util/annotate.h |1 +
>  tools/perf/util/dso-test-data.c|2 +-
>  tools/perf/util/evsel.h|7 +++
>  tools/perf/util/help.c |1 +
>  tools/perf/util/include/linux/rbtree.h |1 +
>  tools/perf/util/session.h  |4 +-
>  tools/perf/util/sort.c |6 +--
>  tools/perf/util/sort.h |1 -
>  tools/perf/util/symbol.h   |3 ++
>  tools/perf/util/top.h  |1 +
>  tools/perf/util/util.c |6 +++
>  19 files changed, 180 insertions(+), 63 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [GIT PULL 00/13] perf/core improvements and fixes

2012-09-08 Thread Ingo Molnar

* Arnaldo Carvalho de Melo a...@infradead.org wrote:

 Hi Ingo,
 
   Please consider pulling,
 
 - Arnaldo
 
 The following changes since commit 479d875835a49e849683743ec50c30b6a429696b:
 
   Merge tag 'perf-core-for-mingo' of 
 git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core 
 (2012-09-07 07:36:59 +0200)
 
 are available in the git repository at:
 
 
   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux 
 tags/perf-core-for-mingo
 
 for you to fetch changes up to b155a09015135cf59ada8d48109ccbd9891c1b42:
 
   perf tools: Fix build for another rbtree.c change (2012-09-07 22:21:59 
 -0300)
 
 
 perf/core improvements and fixes
 
  . Fix build for another rbtree.c change, from Adrian Hunter.
 
  . Fixes for perf to build on Android, from Irina Tirdea.
 
  . Make 'perf diff' command work with evsel hists, from Jiri Olsa.
 
  . Use the only field_sep var that is set up: symbol_conf.field_sep,
fix from Jiri Olsa.
 
  . .gitignore compiled python binaries, from Namhyung Kim.
 
  . Get rid of die() in more libtraceevent places, from Namhyung Kim.
 
 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
 
 Adrian Hunter (1):
   perf tools: Fix build for another rbtree.c change
 
 Irina Tirdea (6):
   perf tools: include basename for non-glibc systems
   perf tools: fix missing winsize definition
   perf tools: include missing pthread.h header
   perf tools: replace mkostemp with mkstemp
   tools lib traceevent: replace mempcpy with memcpy
   perf tools: add NO_BACKTRACE for application self-debugging
 
 Jiri Olsa (2):
   perf diff: Make diff command work with evsel hists
   perf tools: Replace sort's standalone field_sep with 
 symbol_conf.field_sep
 
 Namhyung Kim (4):
   perf tools: Ignore compiled python binaries
   tools lib traceevent: Get rid of die() from pretty_print()
   tools lib traceevent: Get rid of die() from 
 pevent_register_event_handler
   tools lib traceevent: Get rid of die() from 
 pevent_register_print_function
 
  tools/lib/traceevent/event-parse.c |   86 +
  tools/lib/traceevent/event-parse.h |3 +-
  tools/perf/.gitignore  |2 +
  tools/perf/Documentation/perf-diff.txt |3 ++
  tools/perf/Makefile|8 +++
  tools/perf/builtin-diff.c  |   93 
 +---
  tools/perf/config/feature-tests.mak|   14 +
  tools/perf/perf.c  |1 +
  tools/perf/util/annotate.h |1 +
  tools/perf/util/dso-test-data.c|2 +-
  tools/perf/util/evsel.h|7 +++
  tools/perf/util/help.c |1 +
  tools/perf/util/include/linux/rbtree.h |1 +
  tools/perf/util/session.h  |4 +-
  tools/perf/util/sort.c |6 +--
  tools/perf/util/sort.h |1 -
  tools/perf/util/symbol.h   |3 ++
  tools/perf/util/top.h  |1 +
  tools/perf/util/util.c |6 +++
  19 files changed, 180 insertions(+), 63 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/