[GIT PULL 0/7] perf/urgent fixes

2019-04-19 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit b24131eb77429f7ac52d5ab5a4313fccff64c411:

  Merge tag 'perf-urgent-for-mingo-5.1-20190416' of 
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
(2019-04-16 17:24:14 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-5.1-20190419

for you to fetch changes up to 2db7b1e0bd49d2b0e7d16949e167b1cfaf5c07cf:

  perf bpf: Return NULL when RB tree lookup fails in perf_env__find_btf() 
(2019-04-17 14:30:23 -0300)


perf/urgent fixes:

perf top:

  Jiri Olsa:

  - Fix 'perf top --pid', it needs PERF_SAMPLE_TIME since we switched to using
a different thread to sort the events and then even for just a single
thread we now need timestamps.

BPF:

  Jiri Olsa:

  - Fix bpf_prog and btf lookup functions failure path to to properly return
NULL.

  - Fix side band thread draining, used to process PERF_RECORD_BPF_EVENT
metadata records.

core:

  Jiri Olsa:

  - Fix map lookup by name to get a refcount when the name is already in
the tree. Found

  Song Liu:

  - Fix __map__is_kmodule() by taking into account recently added BPF
maps.

UAPI:

  Arnaldo Carvalho de Melo:

  - Sync sound/asound.h copy

Signed-off-by: Arnaldo Carvalho de Melo 


Arnaldo Carvalho de Melo (1):
  tools include uapi: Sync sound/asound.h copy

Jiri Olsa (5):
  perf top: Always sample time to satisfy needs of use of ordered queuing
  perf bpf: Return NULL when RB tree lookup fails in 
perf_env__find_bpf_prog_info()
  perf evlist: Fix side band thread draining
  perf tools: Fix map reference counting
  perf bpf: Return NULL when RB tree lookup fails in perf_env__find_btf()

Song Liu (1):
  perf tools: Check maps for bpf programs

 tools/include/uapi/sound/asound.h |  1 +
 tools/perf/builtin-top.c  |  1 +
 tools/perf/util/env.c |  8 ++--
 tools/perf/util/evlist.c  | 14 +-
 tools/perf/util/map.c | 20 +---
 tools/perf/util/map.h |  4 +++-
 6 files changed, 37 insertions(+), 11 deletions(-)

Test results:

The first ones are container based builds of tools/perf with and without libelf
support.  Where clang is available, it is also used to build perf with/without
libelf, and building with LIBCLANGLLVM=1 (built-in clang) with gcc and clang
when clang and its devel libraries are installed.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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.

  $ export PERF_TARBALL=http://192.168.124.1/perf/perf-5.1.0-rc5.tar.xz
  $ dm
   1 alpine:3.4: Ok   gcc (Alpine 5.3.0) 5.3.0
   2 alpine:3.5: Ok   gcc (Alpine 6.2.1) 6.2.1 20160822
   3 alpine:3.6: Ok   gcc (Alpine 6.3.0) 6.3.0
   4 alpine:3.7: Ok   gcc (Alpine 6.4.0) 6.4.0
   5 alpine:3.8: Ok   gcc (Alpine 6.4.0) 6.4.0
   6 alpine:3.9: Ok   gcc (Alpine 8.2.0) 8.2.0
   7 alpine:edge   : Ok   gcc (Alpine 8.3.0) 8.3.0
   8 amazonlinux:1 : Ok   gcc (GCC) 4.8.5 20150623 (Red Hat 
4.8.5-28)
   9 amazonlinux:2 : Ok   gcc (GCC) 7.3.1 20180303 (Red Hat 
7.3.1-5)
  10 android-ndk:r12b-arm  : Ok   arm-linux-androideabi-gcc (GCC) 4.9.x 
20150123 (prerelease)
  11 android-ndk:r15c-arm  : Ok   arm-linux-androideabi-gcc (GCC) 4.9.x 
20150123 (prerelease)
  12 centos:5  : Ok   gcc (GCC) 4.1.2 20080704 (Red Hat 
4.1.2-55)
  13 centos:6  : 

Re: [GIT PULL 0/7] perf/urgent fixes

2019-04-19 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 b24131eb77429f7ac52d5ab5a4313fccff64c411:
> 
>   Merge tag 'perf-urgent-for-mingo-5.1-20190416' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
> (2019-04-16 17:24:14 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-5.1-20190419
> 
> for you to fetch changes up to 2db7b1e0bd49d2b0e7d16949e167b1cfaf5c07cf:
> 
>   perf bpf: Return NULL when RB tree lookup fails in perf_env__find_btf() 
> (2019-04-17 14:30:23 -0300)
> 
> 
> perf/urgent fixes:
> 
> perf top:
> 
>   Jiri Olsa:
> 
>   - Fix 'perf top --pid', it needs PERF_SAMPLE_TIME since we switched to using
> a different thread to sort the events and then even for just a single
> thread we now need timestamps.
> 
> BPF:
> 
>   Jiri Olsa:
> 
>   - Fix bpf_prog and btf lookup functions failure path to to properly return
> NULL.
> 
>   - Fix side band thread draining, used to process PERF_RECORD_BPF_EVENT
> metadata records.
> 
> core:
> 
>   Jiri Olsa:
> 
>   - Fix map lookup by name to get a refcount when the name is already in
> the tree. Found
> 
>   Song Liu:
> 
>   - Fix __map__is_kmodule() by taking into account recently added BPF
> maps.
> 
> UAPI:
> 
>   Arnaldo Carvalho de Melo:
> 
>   - Sync sound/asound.h copy
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (1):
>   tools include uapi: Sync sound/asound.h copy
> 
> Jiri Olsa (5):
>   perf top: Always sample time to satisfy needs of use of ordered queuing
>   perf bpf: Return NULL when RB tree lookup fails in 
> perf_env__find_bpf_prog_info()
>   perf evlist: Fix side band thread draining
>   perf tools: Fix map reference counting
>   perf bpf: Return NULL when RB tree lookup fails in perf_env__find_btf()
> 
> Song Liu (1):
>   perf tools: Check maps for bpf programs
> 
>  tools/include/uapi/sound/asound.h |  1 +
>  tools/perf/builtin-top.c  |  1 +
>  tools/perf/util/env.c |  8 ++--
>  tools/perf/util/evlist.c  | 14 +-
>  tools/perf/util/map.c | 20 +---
>  tools/perf/util/map.h |  4 +++-
>  6 files changed, 37 insertions(+), 11 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 0/7] perf/urgent fixes

2019-04-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 changes since commit 6d3edaae16c6c7d238360f2841212c2b26774d5e:
> 
>   x86/perf/amd: Resolve NMI latency issues for active PMCs (2019-04-03 
> 11:40:32 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-5.1-20190412
> 
> for you to fetch changes up to 21e6dfe04861c2c1b529f2759850bc62a80ca050:
> 
>   perf evsel: Use hweight64() instead of hweight_long(attr.sample_regs_user) 
> (2019-04-10 10:25:28 -0300)
> 
> 
> perf/urgent fixes:
> 
> core:
> 
>   Mao Han:
> 
>   - Use hweight64() instead of hweight_long(attr.sample_regs_user) when 
> parsing
> samples, this is what the kernel uses and fixes de problem in 32-bit
> architectures such as C-SKY that have more than 32 registers that can come
> in a sample.
> 
> perf stat:
> 
>   Jiri Olsa:
> 
>   - Disable DIR_FORMAT feature for 'perf stat record', fixing an assert()
> failure.
> 
> Intel PT:
> 
>   Adrian Hunter:
> 
>   - Fix use of parent_id in calls_view in export-to-sqlite.py.
> 
> BPF:
> 
>   Gustavo A. R. Silva:
> 
>   - Fix lock/unlock imbalances when processing BPF/BTF info, found by the
> coverity tool.
> 
> libtraceevent:
> 
>   Rikard Falkeborn:
> 
>   - Fix missing equality check for strcmp(), detected by the cppcheck tool.
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (1):
>   perf scripts python: export-to-sqlite.py: Fix use of parent_id in 
> calls_view
> 
> Gustavo A. R. Silva (1):
>   perf header: Fix lock/unlock imbalances when processing BPF/BTF info
> 
> Jiri Olsa (1):
>   perf stat: Disable DIR_FORMAT feature for 'perf stat record'
> 
> Lendacky, Thomas (2):
>   x86/perf/amd: Remove need to check "running" bit in NMI handler
>   x86/perf/amd: Fix build failure when CONFIG_HAVE_NMI_WATCHDOG is not set
> 
> Mao Han (1):
>   perf evsel: Use hweight64() instead of 
> hweight_long(attr.sample_regs_user)
> 
> Rikard Falkeborn (1):
>   tools lib traceevent: Fix missing equality check for strcmp
> 
>  arch/x86/events/amd/core.c| 21 +++--
>  arch/x86/events/core.c| 13 +++--
>  tools/lib/traceevent/event-parse.c|  2 +-
>  tools/perf/builtin-stat.c |  1 +
>  tools/perf/scripts/python/export-to-sqlite.py |  2 +-
>  tools/perf/util/evsel.c   | 12 ++--
>  tools/perf/util/header.c  | 22 +-
>  7 files changed, 44 insertions(+), 29 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


[GIT PULL 0/7] perf/urgent fixes

2019-04-12 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit 6d3edaae16c6c7d238360f2841212c2b26774d5e:

  x86/perf/amd: Resolve NMI latency issues for active PMCs (2019-04-03 11:40:32 
+0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-5.1-20190412

for you to fetch changes up to 21e6dfe04861c2c1b529f2759850bc62a80ca050:

  perf evsel: Use hweight64() instead of hweight_long(attr.sample_regs_user) 
(2019-04-10 10:25:28 -0300)


perf/urgent fixes:

core:

  Mao Han:

  - Use hweight64() instead of hweight_long(attr.sample_regs_user) when parsing
samples, this is what the kernel uses and fixes de problem in 32-bit
architectures such as C-SKY that have more than 32 registers that can come
in a sample.

perf stat:

  Jiri Olsa:

  - Disable DIR_FORMAT feature for 'perf stat record', fixing an assert()
failure.

Intel PT:

  Adrian Hunter:

  - Fix use of parent_id in calls_view in export-to-sqlite.py.

BPF:

  Gustavo A. R. Silva:

  - Fix lock/unlock imbalances when processing BPF/BTF info, found by the
coverity tool.

libtraceevent:

  Rikard Falkeborn:

  - Fix missing equality check for strcmp(), detected by the cppcheck tool.

Signed-off-by: Arnaldo Carvalho de Melo 


Adrian Hunter (1):
  perf scripts python: export-to-sqlite.py: Fix use of parent_id in 
calls_view

Gustavo A. R. Silva (1):
  perf header: Fix lock/unlock imbalances when processing BPF/BTF info

Jiri Olsa (1):
  perf stat: Disable DIR_FORMAT feature for 'perf stat record'

Lendacky, Thomas (2):
  x86/perf/amd: Remove need to check "running" bit in NMI handler
  x86/perf/amd: Fix build failure when CONFIG_HAVE_NMI_WATCHDOG is not set

Mao Han (1):
  perf evsel: Use hweight64() instead of hweight_long(attr.sample_regs_user)

Rikard Falkeborn (1):
  tools lib traceevent: Fix missing equality check for strcmp

 arch/x86/events/amd/core.c| 21 +++--
 arch/x86/events/core.c| 13 +++--
 tools/lib/traceevent/event-parse.c|  2 +-
 tools/perf/builtin-stat.c |  1 +
 tools/perf/scripts/python/export-to-sqlite.py |  2 +-
 tools/perf/util/evsel.c   | 12 ++--
 tools/perf/util/header.c  | 22 +-
 7 files changed, 44 insertions(+), 29 deletions(-)

Test results:

The first ones are container based builds of tools/perf with and without libelf
support.  Where clang is available, it is also used to build perf with/without
libelf, and building with LIBCLANGLLVM=1 (built-in clang) with gcc and clang
when clang and its devel libraries are installed.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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.

  $ export PERF_TARBALL=http://192.168.124.1/perf/perf-5.1.0-rc3.tar.xz
  $ dm
   1 alpine:3.4: Ok   gcc (Alpine 5.3.0) 5.3.0
   2 alpine:3.5: Ok   gcc (Alpine 6.2.1) 6.2.1 20160822
   3 alpine:3.6: Ok   gcc (Alpine 6.3.0) 6.3.0
   4 alpine:3.7: Ok   gcc (Alpine 6.4.0) 6.4.0
   5 alpine:3.8: Ok   gcc (Alpine 6.4.0) 6.4.0
   6 alpine:3.9: Ok   gcc (Alpine 8.2.0) 8.2.0
   7 alpine:edge   : Ok   gcc (Alpine 8.3.0) 8.3.0
   8 amazonlinux:1 : Ok   gcc (GCC) 4.8.5 20150623 (Red Hat 
4.8.5-28)
   9 amazonlinux:2 : Ok   gcc (GCC) 7.3.1 20180303 (Red Hat 
7.3.1-5)
  10 android-ndk:r12b-arm  : Ok   arm-linux-androideabi-gcc (GCC) 

[GIT PULL 0/7] perf/urgent fixes

2019-04-12 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit 6d3edaae16c6c7d238360f2841212c2b26774d5e:

  x86/perf/amd: Resolve NMI latency issues for active PMCs (2019-04-03 11:40:32 
+0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-5.1-20190412

for you to fetch changes up to 21e6dfe04861c2c1b529f2759850bc62a80ca050:

  perf evsel: Use hweight64() instead of hweight_long(attr.sample_regs_user) 
(2019-04-10 10:25:28 -0300)


perf/urgent fixes:

core:

  Mao Han:

  - Use hweight64() instead of hweight_long(attr.sample_regs_user) when parsing
samples, this is what the kernel uses and fixes de problem in 32-bit
architectures such as C-SKY that have more than 32 registers that can come
in a sample.

perf stat:

  Jiri Olsa:

  - Disable DIR_FORMAT feature for 'perf stat record', fixing an assert()
failure.

Intel PT:

  Adrian Hunter:

  - Fix use of parent_id in calls_view in export-to-sqlite.py.

BPF:

  Gustavo A. R. Silva:

  - Fix lock/unlock imbalances when processing BPF/BTF info, found by the
coverity tool.

libtraceevent:

  Rikard Falkeborn:

  - Fix missing equality check for strcmp(), detected by the cppcheck tool.

Signed-off-by: Arnaldo Carvalho de Melo 


Adrian Hunter (1):
  perf scripts python: export-to-sqlite.py: Fix use of parent_id in 
calls_view

Gustavo A. R. Silva (1):
  perf header: Fix lock/unlock imbalances when processing BPF/BTF info

Jiri Olsa (1):
  perf stat: Disable DIR_FORMAT feature for 'perf stat record'

Lendacky, Thomas (2):
  x86/perf/amd: Remove need to check "running" bit in NMI handler
  x86/perf/amd: Fix build failure when CONFIG_HAVE_NMI_WATCHDOG is not set

Mao Han (1):
  perf evsel: Use hweight64() instead of hweight_long(attr.sample_regs_user)

Rikard Falkeborn (1):
  tools lib traceevent: Fix missing equality check for strcmp

 arch/x86/events/amd/core.c| 21 +++--
 arch/x86/events/core.c| 13 +++--
 tools/lib/traceevent/event-parse.c|  2 +-
 tools/perf/builtin-stat.c |  1 +
 tools/perf/scripts/python/export-to-sqlite.py |  2 +-
 tools/perf/util/evsel.c   | 12 ++--
 tools/perf/util/header.c  | 22 +-
 7 files changed, 44 insertions(+), 29 deletions(-)

Test results:

The first ones are container based builds of tools/perf with and without libelf
support.  Where clang is available, it is also used to build perf with/without
libelf, and building with LIBCLANGLLVM=1 (built-in clang) with gcc and clang
when clang and its devel libraries are installed.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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.

  $ export PERF_TARBALL=http://192.168.124.1/perf/perf-5.1.0-rc3.tar.xz
  $ dm
   1 alpine:3.4: Ok   gcc (Alpine 5.3.0) 5.3.0
   2 alpine:3.5: Ok   gcc (Alpine 6.2.1) 6.2.1 20160822
   3 alpine:3.6: Ok   gcc (Alpine 6.3.0) 6.3.0
   4 alpine:3.7: Ok   gcc (Alpine 6.4.0) 6.4.0
   5 alpine:3.8: Ok   gcc (Alpine 6.4.0) 6.4.0
   6 alpine:3.9: Ok   gcc (Alpine 8.2.0) 8.2.0
   7 alpine:edge   : Ok   gcc (Alpine 8.3.0) 8.3.0
   8 amazonlinux:1 : Ok   gcc (GCC) 4.8.5 20150623 (Red Hat 
4.8.5-28)
   9 amazonlinux:2 : Ok   gcc (GCC) 7.3.1 20180303 (Red Hat 
7.3.1-5)
  10 android-ndk:r12b-arm  : Ok   arm-linux-androideabi-gcc (GCC) 

Re: [GIT PULL 0/7] perf/urgent fixes

2019-01-22 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling,
> 
> Regards,
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 4e72ee8872279a70ebe973172133b98e8acbf54e:
> 
>   Merge tag 'perf-core-for-mingo-5.0-20190110' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
> (2019-01-11 08:12:09 +0100)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-5.0-20190121
> 
> for you to fetch changes up to 8bf8c6da53c2265aea365a1de6038f118f522113:
> 
>   perf script: Fix crash when processing recorded stat data (2019-01-21 
> 11:29:07 -0300)
> 
> 
> perf/urgent fixes:
> 
> Kernel:
> 
>   Stephane Eranian:
> 
>   - Fix perf_proc_update_handler() bug.
> 
> perf script:
> 
>   Andi Kleen:
> 
>   - Fix crash with printing mixed trace point and other events.
> 
>   Tony Jones:
> 
>   - Fix crash when processing recorded stat data.
> 
> perf top:
> 
>   He Kuang:
> 
>   - Fix wrong hottest instruction highlighted.
> 
> perf python:
> 
>   Arnaldo Carvalho de Melo:
> 
>   - Remove -fstack-clash-protection when building with some clang versions.
> 
> perf ordered_events:
> 
>   Jiri Olsa:
> 
>   - Fix out of buffers crash in ordered_events__free().
> 
> perf cpu_map:
> 
>   Stephane Eranian:
> 
>   - Handle TOPOLOGY headers with no CPU.
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Andi Kleen (1):
>   perf script: Fix crash with printing mixed trace point and other events
> 
> Arnaldo Carvalho de Melo (1):
>   perf python: Remove -fstack-clash-protection when building with some 
> clang versions
> 
> He Kuang (1):
>   perf top: Fix wrong hottest instruction highlighted
> 
> Jiri Olsa (1):
>   perf ordered_events: Fix crash in ordered_events__free
> 
> Stephane Eranian (2):
>   perf core: Fix perf_proc_update_handler() bug
>   perf tools: Handle TOPOLOGY headers with no CPU
> 
> Tony Jones (1):
>   perf script: Fix crash when processing recorded stat data
> 
>  kernel/events/core.c  | 14 +++---
>  tools/perf/builtin-script.c   |  9 +++--
>  tools/perf/ui/browsers/annotate.c | 16 ++--
>  tools/perf/util/cpumap.c  | 11 +--
>  tools/perf/util/ordered-events.c  |  6 --
>  tools/perf/util/setup.py  |  2 ++
>  6 files changed, 35 insertions(+), 23 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


[GIT PULL 0/7] perf/urgent fixes

2019-01-21 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

Regards,

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit 4e72ee8872279a70ebe973172133b98e8acbf54e:

  Merge tag 'perf-core-for-mingo-5.0-20190110' of 
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
(2019-01-11 08:12:09 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-5.0-20190121

for you to fetch changes up to 8bf8c6da53c2265aea365a1de6038f118f522113:

  perf script: Fix crash when processing recorded stat data (2019-01-21 
11:29:07 -0300)


perf/urgent fixes:

Kernel:

  Stephane Eranian:

  - Fix perf_proc_update_handler() bug.

perf script:

  Andi Kleen:

  - Fix crash with printing mixed trace point and other events.

  Tony Jones:

  - Fix crash when processing recorded stat data.

perf top:

  He Kuang:

  - Fix wrong hottest instruction highlighted.

perf python:

  Arnaldo Carvalho de Melo:

  - Remove -fstack-clash-protection when building with some clang versions.

perf ordered_events:

  Jiri Olsa:

  - Fix out of buffers crash in ordered_events__free().

perf cpu_map:

  Stephane Eranian:

  - Handle TOPOLOGY headers with no CPU.

Signed-off-by: Arnaldo Carvalho de Melo 


Andi Kleen (1):
  perf script: Fix crash with printing mixed trace point and other events

Arnaldo Carvalho de Melo (1):
  perf python: Remove -fstack-clash-protection when building with some 
clang versions

He Kuang (1):
  perf top: Fix wrong hottest instruction highlighted

Jiri Olsa (1):
  perf ordered_events: Fix crash in ordered_events__free

Stephane Eranian (2):
  perf core: Fix perf_proc_update_handler() bug
  perf tools: Handle TOPOLOGY headers with no CPU

Tony Jones (1):
  perf script: Fix crash when processing recorded stat data

 kernel/events/core.c  | 14 +++---
 tools/perf/builtin-script.c   |  9 +++--
 tools/perf/ui/browsers/annotate.c | 16 ++--
 tools/perf/util/cpumap.c  | 11 +--
 tools/perf/util/ordered-events.c  |  6 --
 tools/perf/util/setup.py  |  2 ++
 6 files changed, 35 insertions(+), 23 deletions(-)

Test results:

The first ones are container based builds of tools/perf with and without libelf
support.  Where clang is available, it is also used to build perf with/without
libelf, and building with LIBCLANGLLVM=1 (built-in clang) with gcc and clang
when clang and its devel libraries are installed.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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.

  $ export PERF_TARBALL=http://192.168.124.1/perf/perf-5.0.0-rc1.tar.xz
  $ dm
   1 alpine:3.4: Ok   gcc (Alpine 5.3.0) 5.3.0
   2 alpine:3.5: Ok   gcc (Alpine 6.2.1) 6.2.1 20160822
   3 alpine:3.6: Ok   gcc (Alpine 6.3.0) 6.3.0
   4 alpine:3.7: Ok   gcc (Alpine 6.4.0) 6.4.0
   5 alpine:3.8: Ok   gcc (Alpine 6.4.0) 6.4.0
   6 alpine:edge   : Ok   gcc (Alpine 8.2.0) 8.2.0
   7 amazonlinux:1 : Ok   gcc (GCC) 4.8.5 20150623 (Red Hat 
4.8.5-28)
   8 amazonlinux:2 : Ok   gcc (GCC) 7.3.1 20180303 (Red Hat 
7.3.1-5)
   9 android-ndk:r12b-arm  : Ok   gcc (GCC) 6.3.1 20161221 (Red Hat 
6.3.1-1)
  10 android-ndk:r15c-arm  : Ok   gcc (GCC) 8.2.1 20181215 (Red Hat 
8.2.1-6)
  11 centos:5  : Ok   gcc (GCC) 4.1.2 20080704 (Red Hat 
4.1.2-55)
  12 centos:6  : Ok   gcc (GCC) 4.4.7 20120313 (Red Hat 
4.4.7-23)
  13 centos:7  : Ok   gcc (GCC) 4.8.5 20150623 

Re: [GIT PULL 0/7] perf/urgent fixes

2018-11-21 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling, more to come as I process the backlog
> from being away for LPC.
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 4d47d6407ac7b4b442a4e717488a3bb137398b6c:
> 
>   perf/x86/intel/uncore: Support CoffeeLake 8th CBOX (2018-11-12 05:03:26 
> +0100)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-4.20-20181121
> 
> for you to fetch changes up to a4243e1494532ab8fa679a4134153149a71fa331:
> 
>   perf tools beauty ioctl: Support new ISO7816 commands (2018-11-19 12:38:50 
> -0800)
> 
> 
> perf/urgent fixes:
> 
> - Update kernel ABI headers, one of them lead to a small change in
>   the ioctl 'cmd' beautifier in 'perf trace' to support the new ISO7816
>   commands. (Arnaldo Carvalho de Melo)
> 
> - Restore proper cwd on return from mnt namespace (Jiri Olsa)
> 
> - Add feature check for the get_current_dir_name() function used in the
>   namespace fix from Jiri, that is not available in systems such as
>   Alpine Linux, which uses the  musl libc (Arnaldo Carvalho de Melo)
> 
> - Fix crash in 'perf record' when synthesizing the unit for events such
>   as 'cpu-clock' (Jiri Olsa)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (5):
>   tools build feature: Check if get_current_dir_name() is available
>   tools headers uapi: Synchronize i915_drm.h
>   tools arch x86: Update tools's copy of cpufeatures.h
>   tools uapi asm-generic: Synchronize ioctls.h
>   perf tools beauty ioctl: Support new ISO7816 commands
> 
> Jiri Olsa (2):
>   perf tools: Fix crash on synthesizing the unit
>   perf tools: Restore proper cwd on return from mnt namespace
> 
>  tools/arch/x86/include/asm/cpufeatures.h|  2 ++
>  tools/build/Makefile.feature|  1 +
>  tools/build/feature/Makefile|  4 
>  tools/build/feature/test-all.c  |  5 +
>  tools/build/feature/test-get_current_dir_name.c | 10 ++
>  tools/include/uapi/asm-generic/ioctls.h |  2 ++
>  tools/include/uapi/drm/i915_drm.h   | 22 ++
>  tools/perf/Makefile.config  |  5 +
>  tools/perf/tests/attr/base-record   |  2 +-
>  tools/perf/trace/beauty/ioctl.c |  1 +
>  tools/perf/util/Build   |  1 +
>  tools/perf/util/evsel.c |  2 +-
>  tools/perf/util/get_current_dir_name.c  | 18 ++
>  tools/perf/util/namespaces.c| 17 +++--
>  tools/perf/util/namespaces.h|  1 +
>  tools/perf/util/util.h  |  4 
>  16 files changed, 93 insertions(+), 4 deletions(-)
>  create mode 100644 tools/build/feature/test-get_current_dir_name.c
>  create mode 100644 tools/perf/util/get_current_dir_name.c

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 0/7] perf/urgent fixes

2018-11-21 Thread Ingo Molnar


* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling, more to come as I process the backlog
> from being away for LPC.
> 
> - Arnaldo
> 
> Test results at the end of this message, as usual.
> 
> The following changes since commit 4d47d6407ac7b4b442a4e717488a3bb137398b6c:
> 
>   perf/x86/intel/uncore: Support CoffeeLake 8th CBOX (2018-11-12 05:03:26 
> +0100)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-4.20-20181121
> 
> for you to fetch changes up to a4243e1494532ab8fa679a4134153149a71fa331:
> 
>   perf tools beauty ioctl: Support new ISO7816 commands (2018-11-19 12:38:50 
> -0800)
> 
> 
> perf/urgent fixes:
> 
> - Update kernel ABI headers, one of them lead to a small change in
>   the ioctl 'cmd' beautifier in 'perf trace' to support the new ISO7816
>   commands. (Arnaldo Carvalho de Melo)
> 
> - Restore proper cwd on return from mnt namespace (Jiri Olsa)
> 
> - Add feature check for the get_current_dir_name() function used in the
>   namespace fix from Jiri, that is not available in systems such as
>   Alpine Linux, which uses the  musl libc (Arnaldo Carvalho de Melo)
> 
> - Fix crash in 'perf record' when synthesizing the unit for events such
>   as 'cpu-clock' (Jiri Olsa)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Arnaldo Carvalho de Melo (5):
>   tools build feature: Check if get_current_dir_name() is available
>   tools headers uapi: Synchronize i915_drm.h
>   tools arch x86: Update tools's copy of cpufeatures.h
>   tools uapi asm-generic: Synchronize ioctls.h
>   perf tools beauty ioctl: Support new ISO7816 commands
> 
> Jiri Olsa (2):
>   perf tools: Fix crash on synthesizing the unit
>   perf tools: Restore proper cwd on return from mnt namespace
> 
>  tools/arch/x86/include/asm/cpufeatures.h|  2 ++
>  tools/build/Makefile.feature|  1 +
>  tools/build/feature/Makefile|  4 
>  tools/build/feature/test-all.c  |  5 +
>  tools/build/feature/test-get_current_dir_name.c | 10 ++
>  tools/include/uapi/asm-generic/ioctls.h |  2 ++
>  tools/include/uapi/drm/i915_drm.h   | 22 ++
>  tools/perf/Makefile.config  |  5 +
>  tools/perf/tests/attr/base-record   |  2 +-
>  tools/perf/trace/beauty/ioctl.c |  1 +
>  tools/perf/util/Build   |  1 +
>  tools/perf/util/evsel.c |  2 +-
>  tools/perf/util/get_current_dir_name.c  | 18 ++
>  tools/perf/util/namespaces.c| 17 +++--
>  tools/perf/util/namespaces.h|  1 +
>  tools/perf/util/util.h  |  4 
>  16 files changed, 93 insertions(+), 4 deletions(-)
>  create mode 100644 tools/build/feature/test-get_current_dir_name.c
>  create mode 100644 tools/perf/util/get_current_dir_name.c

Pulled, thanks a lot Arnaldo!

Ingo


[GIT PULL 0/7] perf/urgent fixes

2018-11-21 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling, more to come as I process the backlog
from being away for LPC.

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit 4d47d6407ac7b4b442a4e717488a3bb137398b6c:

  perf/x86/intel/uncore: Support CoffeeLake 8th CBOX (2018-11-12 05:03:26 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-4.20-20181121

for you to fetch changes up to a4243e1494532ab8fa679a4134153149a71fa331:

  perf tools beauty ioctl: Support new ISO7816 commands (2018-11-19 12:38:50 
-0800)


perf/urgent fixes:

- Update kernel ABI headers, one of them lead to a small change in
  the ioctl 'cmd' beautifier in 'perf trace' to support the new ISO7816
  commands. (Arnaldo Carvalho de Melo)

- Restore proper cwd on return from mnt namespace (Jiri Olsa)

- Add feature check for the get_current_dir_name() function used in the
  namespace fix from Jiri, that is not available in systems such as
  Alpine Linux, which uses the  musl libc (Arnaldo Carvalho de Melo)

- Fix crash in 'perf record' when synthesizing the unit for events such
  as 'cpu-clock' (Jiri Olsa)

Signed-off-by: Arnaldo Carvalho de Melo 


Arnaldo Carvalho de Melo (5):
  tools build feature: Check if get_current_dir_name() is available
  tools headers uapi: Synchronize i915_drm.h
  tools arch x86: Update tools's copy of cpufeatures.h
  tools uapi asm-generic: Synchronize ioctls.h
  perf tools beauty ioctl: Support new ISO7816 commands

Jiri Olsa (2):
  perf tools: Fix crash on synthesizing the unit
  perf tools: Restore proper cwd on return from mnt namespace

 tools/arch/x86/include/asm/cpufeatures.h|  2 ++
 tools/build/Makefile.feature|  1 +
 tools/build/feature/Makefile|  4 
 tools/build/feature/test-all.c  |  5 +
 tools/build/feature/test-get_current_dir_name.c | 10 ++
 tools/include/uapi/asm-generic/ioctls.h |  2 ++
 tools/include/uapi/drm/i915_drm.h   | 22 ++
 tools/perf/Makefile.config  |  5 +
 tools/perf/tests/attr/base-record   |  2 +-
 tools/perf/trace/beauty/ioctl.c |  1 +
 tools/perf/util/Build   |  1 +
 tools/perf/util/evsel.c |  2 +-
 tools/perf/util/get_current_dir_name.c  | 18 ++
 tools/perf/util/namespaces.c| 17 +++--
 tools/perf/util/namespaces.h|  1 +
 tools/perf/util/util.h  |  4 
 16 files changed, 93 insertions(+), 4 deletions(-)
 create mode 100644 tools/build/feature/test-get_current_dir_name.c
 create mode 100644 tools/perf/util/get_current_dir_name.c

Test results:

The first ones are container (docker) based builds of tools/perf with
and without libelf support.  Where clang is available, it is also used
to build perf with/without libelf, and building with LIBCLANGLLVM=1
(built-in clang) with gcc and clang when clang and its devel libraries
are installed.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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.

  # dm
   1 alpine:3.4: Ok   gcc (Alpine 5.3.0) 5.3.0
   2 alpine:3.5: Ok   gcc (Alpine 6.2.1) 6.2.1 20160822
   3 alpine:3.6: Ok   gcc (Alpine 6.3.0) 6.3.0
   4 alpine:3.7: Ok   gcc (Alpine 6.4.0) 6.4.0
   5 alpine:3.8: Ok   gcc (Alpine 6.4.0) 6.4.0
   6 alpine:edge   : Ok   gcc (Alpine 6.4.0) 6.4.0
   7 amazonlinux:1   

[GIT PULL 0/7] perf/urgent fixes

2018-11-21 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling, more to come as I process the backlog
from being away for LPC.

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit 4d47d6407ac7b4b442a4e717488a3bb137398b6c:

  perf/x86/intel/uncore: Support CoffeeLake 8th CBOX (2018-11-12 05:03:26 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-4.20-20181121

for you to fetch changes up to a4243e1494532ab8fa679a4134153149a71fa331:

  perf tools beauty ioctl: Support new ISO7816 commands (2018-11-19 12:38:50 
-0800)


perf/urgent fixes:

- Update kernel ABI headers, one of them lead to a small change in
  the ioctl 'cmd' beautifier in 'perf trace' to support the new ISO7816
  commands. (Arnaldo Carvalho de Melo)

- Restore proper cwd on return from mnt namespace (Jiri Olsa)

- Add feature check for the get_current_dir_name() function used in the
  namespace fix from Jiri, that is not available in systems such as
  Alpine Linux, which uses the  musl libc (Arnaldo Carvalho de Melo)

- Fix crash in 'perf record' when synthesizing the unit for events such
  as 'cpu-clock' (Jiri Olsa)

Signed-off-by: Arnaldo Carvalho de Melo 


Arnaldo Carvalho de Melo (5):
  tools build feature: Check if get_current_dir_name() is available
  tools headers uapi: Synchronize i915_drm.h
  tools arch x86: Update tools's copy of cpufeatures.h
  tools uapi asm-generic: Synchronize ioctls.h
  perf tools beauty ioctl: Support new ISO7816 commands

Jiri Olsa (2):
  perf tools: Fix crash on synthesizing the unit
  perf tools: Restore proper cwd on return from mnt namespace

 tools/arch/x86/include/asm/cpufeatures.h|  2 ++
 tools/build/Makefile.feature|  1 +
 tools/build/feature/Makefile|  4 
 tools/build/feature/test-all.c  |  5 +
 tools/build/feature/test-get_current_dir_name.c | 10 ++
 tools/include/uapi/asm-generic/ioctls.h |  2 ++
 tools/include/uapi/drm/i915_drm.h   | 22 ++
 tools/perf/Makefile.config  |  5 +
 tools/perf/tests/attr/base-record   |  2 +-
 tools/perf/trace/beauty/ioctl.c |  1 +
 tools/perf/util/Build   |  1 +
 tools/perf/util/evsel.c |  2 +-
 tools/perf/util/get_current_dir_name.c  | 18 ++
 tools/perf/util/namespaces.c| 17 +++--
 tools/perf/util/namespaces.h|  1 +
 tools/perf/util/util.h  |  4 
 16 files changed, 93 insertions(+), 4 deletions(-)
 create mode 100644 tools/build/feature/test-get_current_dir_name.c
 create mode 100644 tools/perf/util/get_current_dir_name.c

Test results:

The first ones are container (docker) based builds of tools/perf with
and without libelf support.  Where clang is available, it is also used
to build perf with/without libelf, and building with LIBCLANGLLVM=1
(built-in clang) with gcc and clang when clang and its devel libraries
are installed.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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.

  # dm
   1 alpine:3.4: Ok   gcc (Alpine 5.3.0) 5.3.0
   2 alpine:3.5: Ok   gcc (Alpine 6.2.1) 6.2.1 20160822
   3 alpine:3.6: Ok   gcc (Alpine 6.3.0) 6.3.0
   4 alpine:3.7: Ok   gcc (Alpine 6.4.0) 6.4.0
   5 alpine:3.8: Ok   gcc (Alpine 6.4.0) 6.4.0
   6 alpine:edge   : Ok   gcc (Alpine 6.4.0) 6.4.0
   7 amazonlinux:1   

Re: [GIT PULL 0/7] perf/urgent fixes

2018-09-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 changes since commit 02e184476eff848273826c1d6617bb37e5bcc7ad:
> 
>   perf/core: Force USER_DS when recording user stack data (2018-09-10 
> 14:01:46 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-4.19-20180912
> 
> for you to fetch changes up to 03db8b583d1c3c84963e08e2abf6c79081da5c31:
> 
>   perf tools: Fix maps__find_symbol_by_name() (2018-09-11 14:12:51 -0300)
> 
> 
> perf/urgent fixes:
> 
> - Fix finding a symbol by name when multiple maps use the same backing DSO,
>   so we must first see if that symbol name is in the DSO, then see if it is
>   inside the range of addresses for that specific map (Adrian Hunter)
> 
> - Update the tools copies of UAPI headers, which silences the warnings
>   emitted when building the tools and in some cases, like for the new
>   KVM ioctls, results in 'perf trace' being able to translate that
>   ioctl number to a string (Arnaldo Carvalho de Melo)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (1):
>   perf tools: Fix maps__find_symbol_by_name()
> 
> Arnaldo Carvalho de Melo (6):
>   tools headers uapi: Update tools's copy of linux/perf_event.h
>   tools headers uapi: Update tools's copy of asm-generic/unistd.h
>   tools headers uapi: Update tools's copy of drm/drm.h
>   tools headers uapi: Update tools's copies of kvm headers
>   tools headers uapi: Update tools's copy of linux/vhost.h
>   tools headers uapi: Update tools's copy of linux/if_link.h
> 
>  tools/arch/arm/include/uapi/asm/kvm.h   | 13 
>  tools/arch/arm64/include/uapi/asm/kvm.h | 13 
>  tools/arch/s390/include/uapi/asm/kvm.h  |  5 -
>  tools/arch/x86/include/uapi/asm/kvm.h   | 37 
> +
>  tools/include/uapi/asm-generic/unistd.h |  4 +++-
>  tools/include/uapi/drm/drm.h|  9 
>  tools/include/uapi/linux/if_link.h  | 17 +++
>  tools/include/uapi/linux/kvm.h  |  6 ++
>  tools/include/uapi/linux/perf_event.h   |  2 +-
>  tools/include/uapi/linux/vhost.h| 18 
>  tools/perf/util/map.c   | 11 ++
>  11 files changed, 132 insertions(+), 3 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 0/7] perf/urgent fixes

2018-09-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 changes since commit 02e184476eff848273826c1d6617bb37e5bcc7ad:
> 
>   perf/core: Force USER_DS when recording user stack data (2018-09-10 
> 14:01:46 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-4.19-20180912
> 
> for you to fetch changes up to 03db8b583d1c3c84963e08e2abf6c79081da5c31:
> 
>   perf tools: Fix maps__find_symbol_by_name() (2018-09-11 14:12:51 -0300)
> 
> 
> perf/urgent fixes:
> 
> - Fix finding a symbol by name when multiple maps use the same backing DSO,
>   so we must first see if that symbol name is in the DSO, then see if it is
>   inside the range of addresses for that specific map (Adrian Hunter)
> 
> - Update the tools copies of UAPI headers, which silences the warnings
>   emitted when building the tools and in some cases, like for the new
>   KVM ioctls, results in 'perf trace' being able to translate that
>   ioctl number to a string (Arnaldo Carvalho de Melo)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Adrian Hunter (1):
>   perf tools: Fix maps__find_symbol_by_name()
> 
> Arnaldo Carvalho de Melo (6):
>   tools headers uapi: Update tools's copy of linux/perf_event.h
>   tools headers uapi: Update tools's copy of asm-generic/unistd.h
>   tools headers uapi: Update tools's copy of drm/drm.h
>   tools headers uapi: Update tools's copies of kvm headers
>   tools headers uapi: Update tools's copy of linux/vhost.h
>   tools headers uapi: Update tools's copy of linux/if_link.h
> 
>  tools/arch/arm/include/uapi/asm/kvm.h   | 13 
>  tools/arch/arm64/include/uapi/asm/kvm.h | 13 
>  tools/arch/s390/include/uapi/asm/kvm.h  |  5 -
>  tools/arch/x86/include/uapi/asm/kvm.h   | 37 
> +
>  tools/include/uapi/asm-generic/unistd.h |  4 +++-
>  tools/include/uapi/drm/drm.h|  9 
>  tools/include/uapi/linux/if_link.h  | 17 +++
>  tools/include/uapi/linux/kvm.h  |  6 ++
>  tools/include/uapi/linux/perf_event.h   |  2 +-
>  tools/include/uapi/linux/vhost.h| 18 
>  tools/perf/util/map.c   | 11 ++
>  11 files changed, 132 insertions(+), 3 deletions(-)

Pulled, thanks a lot Arnaldo!

Ingo


[GIT PULL 0/7] perf/urgent fixes

2018-09-12 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit 02e184476eff848273826c1d6617bb37e5bcc7ad:

  perf/core: Force USER_DS when recording user stack data (2018-09-10 14:01:46 
+0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-4.19-20180912

for you to fetch changes up to 03db8b583d1c3c84963e08e2abf6c79081da5c31:

  perf tools: Fix maps__find_symbol_by_name() (2018-09-11 14:12:51 -0300)


perf/urgent fixes:

- Fix finding a symbol by name when multiple maps use the same backing DSO,
  so we must first see if that symbol name is in the DSO, then see if it is
  inside the range of addresses for that specific map (Adrian Hunter)

- Update the tools copies of UAPI headers, which silences the warnings
  emitted when building the tools and in some cases, like for the new
  KVM ioctls, results in 'perf trace' being able to translate that
  ioctl number to a string (Arnaldo Carvalho de Melo)

Signed-off-by: Arnaldo Carvalho de Melo 


Adrian Hunter (1):
  perf tools: Fix maps__find_symbol_by_name()

Arnaldo Carvalho de Melo (6):
  tools headers uapi: Update tools's copy of linux/perf_event.h
  tools headers uapi: Update tools's copy of asm-generic/unistd.h
  tools headers uapi: Update tools's copy of drm/drm.h
  tools headers uapi: Update tools's copies of kvm headers
  tools headers uapi: Update tools's copy of linux/vhost.h
  tools headers uapi: Update tools's copy of linux/if_link.h

 tools/arch/arm/include/uapi/asm/kvm.h   | 13 
 tools/arch/arm64/include/uapi/asm/kvm.h | 13 
 tools/arch/s390/include/uapi/asm/kvm.h  |  5 -
 tools/arch/x86/include/uapi/asm/kvm.h   | 37 +
 tools/include/uapi/asm-generic/unistd.h |  4 +++-
 tools/include/uapi/drm/drm.h|  9 
 tools/include/uapi/linux/if_link.h  | 17 +++
 tools/include/uapi/linux/kvm.h  |  6 ++
 tools/include/uapi/linux/perf_event.h   |  2 +-
 tools/include/uapi/linux/vhost.h| 18 
 tools/perf/util/map.c   | 11 ++
 11 files changed, 132 insertions(+), 3 deletions(-)

Test results:

The first ones are container (docker) based builds of tools/perf with
and without libelf support.  Where clang is available, it is also used
to build perf with/without libelf, and building with LIBCLANGLLVM=1
(built-in clang) with gcc and clang when clang and its devel libraries
are installed.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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 alpine ones are failing due to a XSI/POSIX/GNU disagreement on how
strerror_r() should be implemented, a fix is in the works to make libbpf to use
the str_error_r() that tools/perf/ has been using to work on libraries such as
MUSL, that Alpine Linux uses. This problem was not introduced by any patch in
this series.

  # dm
   1 alpine:3.4: FAIL gcc (Alpine 5.3.0) 5.3.0
   2 alpine:3.5: FAIL gcc (Alpine 6.2.1) 6.2.1 20160822
   3 alpine:3.6: FAIL gcc (Alpine 6.3.0) 6.3.0
   4 alpine:3.7: FAIL gcc (Alpine 6.4.0) 6.4.0
   5 alpine:3.8: FAIL gcc (Alpine 6.4.0) 6.4.0
   6 alpine:edge   : FAIL gcc (Alpine 6.4.0) 6.4.0
libbpf.c: In function 'bpf_object__elf_init':
libbpf.c:472:15: error: initialization makes pointer from integer without a 
cast [-Werror=int-conversion]
char *cp = strerror_r(errno, errmsg, sizeof(errmsg));
   7 amazonlinux:1 : Ok   gcc (GCC) 4.8.5 20150623 

[GIT PULL 0/7] perf/urgent fixes

2018-09-12 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit 02e184476eff848273826c1d6617bb37e5bcc7ad:

  perf/core: Force USER_DS when recording user stack data (2018-09-10 14:01:46 
+0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-4.19-20180912

for you to fetch changes up to 03db8b583d1c3c84963e08e2abf6c79081da5c31:

  perf tools: Fix maps__find_symbol_by_name() (2018-09-11 14:12:51 -0300)


perf/urgent fixes:

- Fix finding a symbol by name when multiple maps use the same backing DSO,
  so we must first see if that symbol name is in the DSO, then see if it is
  inside the range of addresses for that specific map (Adrian Hunter)

- Update the tools copies of UAPI headers, which silences the warnings
  emitted when building the tools and in some cases, like for the new
  KVM ioctls, results in 'perf trace' being able to translate that
  ioctl number to a string (Arnaldo Carvalho de Melo)

Signed-off-by: Arnaldo Carvalho de Melo 


Adrian Hunter (1):
  perf tools: Fix maps__find_symbol_by_name()

Arnaldo Carvalho de Melo (6):
  tools headers uapi: Update tools's copy of linux/perf_event.h
  tools headers uapi: Update tools's copy of asm-generic/unistd.h
  tools headers uapi: Update tools's copy of drm/drm.h
  tools headers uapi: Update tools's copies of kvm headers
  tools headers uapi: Update tools's copy of linux/vhost.h
  tools headers uapi: Update tools's copy of linux/if_link.h

 tools/arch/arm/include/uapi/asm/kvm.h   | 13 
 tools/arch/arm64/include/uapi/asm/kvm.h | 13 
 tools/arch/s390/include/uapi/asm/kvm.h  |  5 -
 tools/arch/x86/include/uapi/asm/kvm.h   | 37 +
 tools/include/uapi/asm-generic/unistd.h |  4 +++-
 tools/include/uapi/drm/drm.h|  9 
 tools/include/uapi/linux/if_link.h  | 17 +++
 tools/include/uapi/linux/kvm.h  |  6 ++
 tools/include/uapi/linux/perf_event.h   |  2 +-
 tools/include/uapi/linux/vhost.h| 18 
 tools/perf/util/map.c   | 11 ++
 11 files changed, 132 insertions(+), 3 deletions(-)

Test results:

The first ones are container (docker) based builds of tools/perf with
and without libelf support.  Where clang is available, it is also used
to build perf with/without libelf, and building with LIBCLANGLLVM=1
(built-in clang) with gcc and clang when clang and its devel libraries
are installed.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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 alpine ones are failing due to a XSI/POSIX/GNU disagreement on how
strerror_r() should be implemented, a fix is in the works to make libbpf to use
the str_error_r() that tools/perf/ has been using to work on libraries such as
MUSL, that Alpine Linux uses. This problem was not introduced by any patch in
this series.

  # dm
   1 alpine:3.4: FAIL gcc (Alpine 5.3.0) 5.3.0
   2 alpine:3.5: FAIL gcc (Alpine 6.2.1) 6.2.1 20160822
   3 alpine:3.6: FAIL gcc (Alpine 6.3.0) 6.3.0
   4 alpine:3.7: FAIL gcc (Alpine 6.4.0) 6.4.0
   5 alpine:3.8: FAIL gcc (Alpine 6.4.0) 6.4.0
   6 alpine:edge   : FAIL gcc (Alpine 6.4.0) 6.4.0
libbpf.c: In function 'bpf_object__elf_init':
libbpf.c:472:15: error: initialization makes pointer from integer without a 
cast [-Werror=int-conversion]
char *cp = strerror_r(errno, errmsg, sizeof(errmsg));
   7 amazonlinux:1 : Ok   gcc (GCC) 4.8.5 20150623 

Re: [GIT PULL 0/7] perf/urgent fixes

2017-09-29 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 b130a699c07155a1d6ef7d971a5f3bf0e3818d5a:
> 
>   Merge tag 'perf-urgent-for-mingo-4.14-20170912' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
> (2017-09-13 09:25:10 +0200)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-4.14-20170928
> 
> for you to fetch changes up to 5357413f5c067f60933e4b8d79d483fbe62b2bb5:
> 
>   perf test: Fix vmlinux failure on s390x part 2 (2017-09-28 13:01:42 -0300)
> 
> 
> perf/urgent fixes:
> 
> - Fix syscalltbl build failure (Akemi Yagi)
> 
> - Fix attr.exclude_kernel setting for default cycles:p, this time for
>   !root with kernel.perf_event_paranoid = -1 (Arnaldo Carvalho de Melo)
> 
> - Sync kernel ABI headers with tooling headers (Ingo Molnar)
> 
> - Remove misleading debug messages with --call-graph option (Mengting Zhang)
> 
> - Revert vmlinux symbol resolution patches for s390x (Thomas Richter)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Akemi Yagi (1):
>   perf tools: Fix syscalltbl build failure
> 
> Arnaldo Carvalho de Melo (2):
>   perf tools: Get all of tools/{arch,include}/ in the MANIFEST
>   perf evsel: Fix attr.exclude_kernel setting for default cycles:p
> 
> Ingo Molnar (1):
>   tools include: Sync kernel ABI headers with tooling headers
> 
> Mengting Zhang (1):
>   perf report: Fix debug messages with --call-graph option
> 
> Thomas Richter (2):
>   perf test: Fix vmlinux failure on s390x
>   perf test: Fix vmlinux failure on s390x part 2
> 
>  tools/arch/s390/include/uapi/asm/kvm.h |  6 ++
>  tools/arch/x86/include/asm/cpufeatures.h   |  2 +
>  tools/arch/x86/include/asm/disabled-features.h |  4 +-
>  tools/include/asm-generic/hugetlb_encode.h | 34 ++
>  tools/include/uapi/asm-generic/mman-common.h   | 14 +
>  tools/include/uapi/drm/drm.h   | 22 +++
>  tools/include/uapi/drm/i915_drm.h  | 51 ++-
>  tools/include/uapi/linux/bpf.h | 32 ++
>  tools/include/uapi/linux/kvm.h |  3 +-
>  tools/include/uapi/linux/mman.h| 24 ++-
>  tools/perf/MANIFEST| 87 
> +-
>  tools/perf/arch/s390/util/Build|  1 -
>  tools/perf/arch/s390/util/sym-handling.c   | 29 -
>  tools/perf/util/callchain.c| 35 ++-
>  tools/perf/util/evsel.c|  7 ++-
>  tools/perf/util/symbol-elf.c   |  8 +--
>  tools/perf/util/symbol.h   |  3 -
>  tools/perf/util/syscalltbl.c   |  2 +-
>  18 files changed, 195 insertions(+), 169 deletions(-)
>  create mode 100644 tools/include/asm-generic/hugetlb_encode.h
>  delete mode 100644 tools/perf/arch/s390/util/sym-handling.c

Pulled, thanks a lot Arnaldo!

Ingo


Re: [GIT PULL 0/7] perf/urgent fixes

2017-09-29 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 b130a699c07155a1d6ef7d971a5f3bf0e3818d5a:
> 
>   Merge tag 'perf-urgent-for-mingo-4.14-20170912' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
> (2017-09-13 09:25:10 +0200)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-4.14-20170928
> 
> for you to fetch changes up to 5357413f5c067f60933e4b8d79d483fbe62b2bb5:
> 
>   perf test: Fix vmlinux failure on s390x part 2 (2017-09-28 13:01:42 -0300)
> 
> 
> perf/urgent fixes:
> 
> - Fix syscalltbl build failure (Akemi Yagi)
> 
> - Fix attr.exclude_kernel setting for default cycles:p, this time for
>   !root with kernel.perf_event_paranoid = -1 (Arnaldo Carvalho de Melo)
> 
> - Sync kernel ABI headers with tooling headers (Ingo Molnar)
> 
> - Remove misleading debug messages with --call-graph option (Mengting Zhang)
> 
> - Revert vmlinux symbol resolution patches for s390x (Thomas Richter)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> Akemi Yagi (1):
>   perf tools: Fix syscalltbl build failure
> 
> Arnaldo Carvalho de Melo (2):
>   perf tools: Get all of tools/{arch,include}/ in the MANIFEST
>   perf evsel: Fix attr.exclude_kernel setting for default cycles:p
> 
> Ingo Molnar (1):
>   tools include: Sync kernel ABI headers with tooling headers
> 
> Mengting Zhang (1):
>   perf report: Fix debug messages with --call-graph option
> 
> Thomas Richter (2):
>   perf test: Fix vmlinux failure on s390x
>   perf test: Fix vmlinux failure on s390x part 2
> 
>  tools/arch/s390/include/uapi/asm/kvm.h |  6 ++
>  tools/arch/x86/include/asm/cpufeatures.h   |  2 +
>  tools/arch/x86/include/asm/disabled-features.h |  4 +-
>  tools/include/asm-generic/hugetlb_encode.h | 34 ++
>  tools/include/uapi/asm-generic/mman-common.h   | 14 +
>  tools/include/uapi/drm/drm.h   | 22 +++
>  tools/include/uapi/drm/i915_drm.h  | 51 ++-
>  tools/include/uapi/linux/bpf.h | 32 ++
>  tools/include/uapi/linux/kvm.h |  3 +-
>  tools/include/uapi/linux/mman.h| 24 ++-
>  tools/perf/MANIFEST| 87 
> +-
>  tools/perf/arch/s390/util/Build|  1 -
>  tools/perf/arch/s390/util/sym-handling.c   | 29 -
>  tools/perf/util/callchain.c| 35 ++-
>  tools/perf/util/evsel.c|  7 ++-
>  tools/perf/util/symbol-elf.c   |  8 +--
>  tools/perf/util/symbol.h   |  3 -
>  tools/perf/util/syscalltbl.c   |  2 +-
>  18 files changed, 195 insertions(+), 169 deletions(-)
>  create mode 100644 tools/include/asm-generic/hugetlb_encode.h
>  delete mode 100644 tools/perf/arch/s390/util/sym-handling.c

Pulled, thanks a lot Arnaldo!

Ingo


[GIT PULL 0/7] perf/urgent fixes

2017-09-29 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit b130a699c07155a1d6ef7d971a5f3bf0e3818d5a:

  Merge tag 'perf-urgent-for-mingo-4.14-20170912' of 
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
(2017-09-13 09:25:10 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-4.14-20170928

for you to fetch changes up to 5357413f5c067f60933e4b8d79d483fbe62b2bb5:

  perf test: Fix vmlinux failure on s390x part 2 (2017-09-28 13:01:42 -0300)


perf/urgent fixes:

- Fix syscalltbl build failure (Akemi Yagi)

- Fix attr.exclude_kernel setting for default cycles:p, this time for
  !root with kernel.perf_event_paranoid = -1 (Arnaldo Carvalho de Melo)

- Sync kernel ABI headers with tooling headers (Ingo Molnar)

- Remove misleading debug messages with --call-graph option (Mengting Zhang)

- Revert vmlinux symbol resolution patches for s390x (Thomas Richter)

Signed-off-by: Arnaldo Carvalho de Melo 


Akemi Yagi (1):
  perf tools: Fix syscalltbl build failure

Arnaldo Carvalho de Melo (2):
  perf tools: Get all of tools/{arch,include}/ in the MANIFEST
  perf evsel: Fix attr.exclude_kernel setting for default cycles:p

Ingo Molnar (1):
  tools include: Sync kernel ABI headers with tooling headers

Mengting Zhang (1):
  perf report: Fix debug messages with --call-graph option

Thomas Richter (2):
  perf test: Fix vmlinux failure on s390x
  perf test: Fix vmlinux failure on s390x part 2

 tools/arch/s390/include/uapi/asm/kvm.h |  6 ++
 tools/arch/x86/include/asm/cpufeatures.h   |  2 +
 tools/arch/x86/include/asm/disabled-features.h |  4 +-
 tools/include/asm-generic/hugetlb_encode.h | 34 ++
 tools/include/uapi/asm-generic/mman-common.h   | 14 +
 tools/include/uapi/drm/drm.h   | 22 +++
 tools/include/uapi/drm/i915_drm.h  | 51 ++-
 tools/include/uapi/linux/bpf.h | 32 ++
 tools/include/uapi/linux/kvm.h |  3 +-
 tools/include/uapi/linux/mman.h| 24 ++-
 tools/perf/MANIFEST| 87 +-
 tools/perf/arch/s390/util/Build|  1 -
 tools/perf/arch/s390/util/sym-handling.c   | 29 -
 tools/perf/util/callchain.c| 35 ++-
 tools/perf/util/evsel.c|  7 ++-
 tools/perf/util/symbol-elf.c   |  8 +--
 tools/perf/util/symbol.h   |  3 -
 tools/perf/util/syscalltbl.c   |  2 +-
 18 files changed, 195 insertions(+), 169 deletions(-)
 create mode 100644 tools/include/asm-generic/hugetlb_encode.h
 delete mode 100644 tools/perf/arch/s390/util/sym-handling.c

Test results:

The first ones are container (docker) based builds of tools/perf with and
without libelf support.  Where clang is available, it is also used to build
perf with/without libelf.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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.

  # dm
   1 alpine:3.4: Ok
   2 alpine:3.5: Ok
   3 alpine:3.6: Ok
   4 alpine:edge: Ok
   5 android-ndk:r12b-arm: Ok
   6 android-ndk:r15c-arm: Ok
   7 centos:5: Ok
   8 centos:6: Ok
   9 centos:7: Ok
  10 debian:7: Ok
  11 debian:8: Ok
  12 debian:9: Ok
  13 debian:experimental: Ok
  14 debian:experimental-x-arm64: Ok
  15 debian:experimental-x-mips: Ok
  16 debian:experimental-x-mips64: Ok
  17 debian:experimental-x-mipsel: Ok
  18 fedora:20: Ok
  19 fedora:21: Ok
  20 fedora:22: Ok
  21 fedora:23: Ok
  22 fedora:24: 

[GIT PULL 0/7] perf/urgent fixes

2017-09-29 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit b130a699c07155a1d6ef7d971a5f3bf0e3818d5a:

  Merge tag 'perf-urgent-for-mingo-4.14-20170912' of 
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent 
(2017-09-13 09:25:10 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-4.14-20170928

for you to fetch changes up to 5357413f5c067f60933e4b8d79d483fbe62b2bb5:

  perf test: Fix vmlinux failure on s390x part 2 (2017-09-28 13:01:42 -0300)


perf/urgent fixes:

- Fix syscalltbl build failure (Akemi Yagi)

- Fix attr.exclude_kernel setting for default cycles:p, this time for
  !root with kernel.perf_event_paranoid = -1 (Arnaldo Carvalho de Melo)

- Sync kernel ABI headers with tooling headers (Ingo Molnar)

- Remove misleading debug messages with --call-graph option (Mengting Zhang)

- Revert vmlinux symbol resolution patches for s390x (Thomas Richter)

Signed-off-by: Arnaldo Carvalho de Melo 


Akemi Yagi (1):
  perf tools: Fix syscalltbl build failure

Arnaldo Carvalho de Melo (2):
  perf tools: Get all of tools/{arch,include}/ in the MANIFEST
  perf evsel: Fix attr.exclude_kernel setting for default cycles:p

Ingo Molnar (1):
  tools include: Sync kernel ABI headers with tooling headers

Mengting Zhang (1):
  perf report: Fix debug messages with --call-graph option

Thomas Richter (2):
  perf test: Fix vmlinux failure on s390x
  perf test: Fix vmlinux failure on s390x part 2

 tools/arch/s390/include/uapi/asm/kvm.h |  6 ++
 tools/arch/x86/include/asm/cpufeatures.h   |  2 +
 tools/arch/x86/include/asm/disabled-features.h |  4 +-
 tools/include/asm-generic/hugetlb_encode.h | 34 ++
 tools/include/uapi/asm-generic/mman-common.h   | 14 +
 tools/include/uapi/drm/drm.h   | 22 +++
 tools/include/uapi/drm/i915_drm.h  | 51 ++-
 tools/include/uapi/linux/bpf.h | 32 ++
 tools/include/uapi/linux/kvm.h |  3 +-
 tools/include/uapi/linux/mman.h| 24 ++-
 tools/perf/MANIFEST| 87 +-
 tools/perf/arch/s390/util/Build|  1 -
 tools/perf/arch/s390/util/sym-handling.c   | 29 -
 tools/perf/util/callchain.c| 35 ++-
 tools/perf/util/evsel.c|  7 ++-
 tools/perf/util/symbol-elf.c   |  8 +--
 tools/perf/util/symbol.h   |  3 -
 tools/perf/util/syscalltbl.c   |  2 +-
 18 files changed, 195 insertions(+), 169 deletions(-)
 create mode 100644 tools/include/asm-generic/hugetlb_encode.h
 delete mode 100644 tools/perf/arch/s390/util/sym-handling.c

Test results:

The first ones are container (docker) based builds of tools/perf with and
without libelf support.  Where clang is available, it is also used to build
perf with/without libelf.

The objtool and samples/bpf/ builds are disabled now that I'm switching from
using the sources in a local volume to fetching them from a http server to
build it inside the container, to make it easier to build in a container 
cluster.
Those will come back later.

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.

  # dm
   1 alpine:3.4: Ok
   2 alpine:3.5: Ok
   3 alpine:3.6: Ok
   4 alpine:edge: Ok
   5 android-ndk:r12b-arm: Ok
   6 android-ndk:r15c-arm: Ok
   7 centos:5: Ok
   8 centos:6: Ok
   9 centos:7: Ok
  10 debian:7: Ok
  11 debian:8: Ok
  12 debian:9: Ok
  13 debian:experimental: Ok
  14 debian:experimental-x-arm64: Ok
  15 debian:experimental-x-mips: Ok
  16 debian:experimental-x-mips64: Ok
  17 debian:experimental-x-mipsel: Ok
  18 fedora:20: Ok
  19 fedora:21: Ok
  20 fedora:22: Ok
  21 fedora:23: Ok
  22 fedora:24: Ok
  23 

Re: [GIT PULL 0/7] perf/urgent fixes

2015-05-01 Thread Ingo Molnar

* Arnaldo Carvalho de Melo  wrote:

> Hi Ingo,
> 
>   Please consider pulling, this is on top of my previous 
> 'perf-urgent-for-mingo'
> pull request.
> 
> - Arnaldo
> 
> The following changes since commit de28c15daf60e9625bece22f13a091fac8d05f1d:
> 
>   tools lib api: Undefine _FORTIFY_SOURCE before setting it (2015-04-23 
> 17:08:23 -0300)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
> tags/perf-urgent-for-mingo-2
> 
> for you to fetch changes up to 1d90a685eb75a56648d7dd22c704a1a6da516de9:
> 
>   perf bench numa: Fix immediate meeting of convergence condition (2015-04-27 
> 13:57:50 -0300)
> 
> 
> perf/urgent fixes:
> 
> User visible:
> 
> . Fix a segfault in 'perf top' when kernel map is restricted (Wang Nan)
> 
> . Fix hung wakeup tasks after requeueing in 'perf bench futex' (Davidlohr 
> Bueso)
> 
> . Fix bug in perf probe global variables handling, missing curly braces on
>   an if body (He Kuang)
> 
> . 'perf bench numa' fixes (command line help/handling, etc) (Petr Holasek)
> 
> Build fixes:
> 
> . 'perf kmem' on RHEL6/OL6 (David Ahern)
> 
> . libtraceevent on 32-bit arch (Namhyung Kim)
> 
> Signed-off-by: Arnaldo Carvalho de Melo 
> 
> 
> David Ahern (1):
>   perf kmem: Fix compiles on RHEL6/OL6
> 
> Davidlohr Bueso (1):
>   perf bench futex: Fix hung wakeup tasks after requeueing
> 
> He Kuang (1):
>   perf probe: Fix bug with global variables handling
> 
> Namhyung Kim (1):
>   tools lib traceevent: Fix build failure on 32-bit arch
> 
> Petr Holasek (2):
>   perf bench numa: Fixes of --quiet argument
>   perf bench numa: Fix immediate meeting of convergence condition
> 
> Wang Nan (1):
>   perf top: Fix a segfault when kernel map is restricted.
> 
>  tools/lib/traceevent/event-parse.c |  2 +-
>  tools/perf/bench/futex-requeue.c   | 15 ++-
>  tools/perf/bench/numa.c| 12 +++--
>  tools/perf/builtin-kmem.c  | 54 
> +++---
>  tools/perf/builtin-top.c   |  2 +-
>  tools/perf/util/probe-finder.c |  4 ++-
>  6 files changed, 50 insertions(+), 39 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 0/7] perf/urgent fixes

2015-05-01 Thread Ingo Molnar

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

 Hi Ingo,
 
   Please consider pulling, this is on top of my previous 
 'perf-urgent-for-mingo'
 pull request.
 
 - Arnaldo
 
 The following changes since commit de28c15daf60e9625bece22f13a091fac8d05f1d:
 
   tools lib api: Undefine _FORTIFY_SOURCE before setting it (2015-04-23 
 17:08:23 -0300)
 
 are available in the git repository at:
 
   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
 tags/perf-urgent-for-mingo-2
 
 for you to fetch changes up to 1d90a685eb75a56648d7dd22c704a1a6da516de9:
 
   perf bench numa: Fix immediate meeting of convergence condition (2015-04-27 
 13:57:50 -0300)
 
 
 perf/urgent fixes:
 
 User visible:
 
 . Fix a segfault in 'perf top' when kernel map is restricted (Wang Nan)
 
 . Fix hung wakeup tasks after requeueing in 'perf bench futex' (Davidlohr 
 Bueso)
 
 . Fix bug in perf probe global variables handling, missing curly braces on
   an if body (He Kuang)
 
 . 'perf bench numa' fixes (command line help/handling, etc) (Petr Holasek)
 
 Build fixes:
 
 . 'perf kmem' on RHEL6/OL6 (David Ahern)
 
 . libtraceevent on 32-bit arch (Namhyung Kim)
 
 Signed-off-by: Arnaldo Carvalho de Melo a...@redhat.com
 
 
 David Ahern (1):
   perf kmem: Fix compiles on RHEL6/OL6
 
 Davidlohr Bueso (1):
   perf bench futex: Fix hung wakeup tasks after requeueing
 
 He Kuang (1):
   perf probe: Fix bug with global variables handling
 
 Namhyung Kim (1):
   tools lib traceevent: Fix build failure on 32-bit arch
 
 Petr Holasek (2):
   perf bench numa: Fixes of --quiet argument
   perf bench numa: Fix immediate meeting of convergence condition
 
 Wang Nan (1):
   perf top: Fix a segfault when kernel map is restricted.
 
  tools/lib/traceevent/event-parse.c |  2 +-
  tools/perf/bench/futex-requeue.c   | 15 ++-
  tools/perf/bench/numa.c| 12 +++--
  tools/perf/builtin-kmem.c  | 54 
 +++---
  tools/perf/builtin-top.c   |  2 +-
  tools/perf/util/probe-finder.c |  4 ++-
  6 files changed, 50 insertions(+), 39 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/


[GIT PULL 0/7] perf/urgent fixes

2015-04-27 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling, this is on top of my previous 
'perf-urgent-for-mingo'
pull request.

- Arnaldo

The following changes since commit de28c15daf60e9625bece22f13a091fac8d05f1d:

  tools lib api: Undefine _FORTIFY_SOURCE before setting it (2015-04-23 
17:08:23 -0300)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-2

for you to fetch changes up to 1d90a685eb75a56648d7dd22c704a1a6da516de9:

  perf bench numa: Fix immediate meeting of convergence condition (2015-04-27 
13:57:50 -0300)


perf/urgent fixes:

User visible:

. Fix a segfault in 'perf top' when kernel map is restricted (Wang Nan)

. Fix hung wakeup tasks after requeueing in 'perf bench futex' (Davidlohr Bueso)

. Fix bug in perf probe global variables handling, missing curly braces on
  an if body (He Kuang)

. 'perf bench numa' fixes (command line help/handling, etc) (Petr Holasek)

Build fixes:

. 'perf kmem' on RHEL6/OL6 (David Ahern)

. libtraceevent on 32-bit arch (Namhyung Kim)

Signed-off-by: Arnaldo Carvalho de Melo 


David Ahern (1):
  perf kmem: Fix compiles on RHEL6/OL6

Davidlohr Bueso (1):
  perf bench futex: Fix hung wakeup tasks after requeueing

He Kuang (1):
  perf probe: Fix bug with global variables handling

Namhyung Kim (1):
  tools lib traceevent: Fix build failure on 32-bit arch

Petr Holasek (2):
  perf bench numa: Fixes of --quiet argument
  perf bench numa: Fix immediate meeting of convergence condition

Wang Nan (1):
  perf top: Fix a segfault when kernel map is restricted.

 tools/lib/traceevent/event-parse.c |  2 +-
 tools/perf/bench/futex-requeue.c   | 15 ++-
 tools/perf/bench/numa.c| 12 +++--
 tools/perf/builtin-kmem.c  | 54 +++---
 tools/perf/builtin-top.c   |  2 +-
 tools/perf/util/probe-finder.c |  4 ++-
 6 files changed, 50 insertions(+), 39 deletions(-)
--
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/


[GIT PULL 0/7] perf/urgent fixes

2015-04-27 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling, this is on top of my previous 
'perf-urgent-for-mingo'
pull request.

- Arnaldo

The following changes since commit de28c15daf60e9625bece22f13a091fac8d05f1d:

  tools lib api: Undefine _FORTIFY_SOURCE before setting it (2015-04-23 
17:08:23 -0300)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo-2

for you to fetch changes up to 1d90a685eb75a56648d7dd22c704a1a6da516de9:

  perf bench numa: Fix immediate meeting of convergence condition (2015-04-27 
13:57:50 -0300)


perf/urgent fixes:

User visible:

. Fix a segfault in 'perf top' when kernel map is restricted (Wang Nan)

. Fix hung wakeup tasks after requeueing in 'perf bench futex' (Davidlohr Bueso)

. Fix bug in perf probe global variables handling, missing curly braces on
  an if body (He Kuang)

. 'perf bench numa' fixes (command line help/handling, etc) (Petr Holasek)

Build fixes:

. 'perf kmem' on RHEL6/OL6 (David Ahern)

. libtraceevent on 32-bit arch (Namhyung Kim)

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


David Ahern (1):
  perf kmem: Fix compiles on RHEL6/OL6

Davidlohr Bueso (1):
  perf bench futex: Fix hung wakeup tasks after requeueing

He Kuang (1):
  perf probe: Fix bug with global variables handling

Namhyung Kim (1):
  tools lib traceevent: Fix build failure on 32-bit arch

Petr Holasek (2):
  perf bench numa: Fixes of --quiet argument
  perf bench numa: Fix immediate meeting of convergence condition

Wang Nan (1):
  perf top: Fix a segfault when kernel map is restricted.

 tools/lib/traceevent/event-parse.c |  2 +-
 tools/perf/bench/futex-requeue.c   | 15 ++-
 tools/perf/bench/numa.c| 12 +++--
 tools/perf/builtin-kmem.c  | 54 +++---
 tools/perf/builtin-top.c   |  2 +-
 tools/perf/util/probe-finder.c |  4 ++-
 6 files changed, 50 insertions(+), 39 deletions(-)
--
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/


[GIT PULL 0/7] perf/urgent fixes

2015-02-25 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

- Arnaldo

The following changes since commit 2a6730c8b6e075adf826a89a3e2caa705807afdb:

  kprobes/x86: Check for invalid ftrace location in __recover_probed_insn() 
(2015-02-21 10:33:31 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo

for you to fetch changes up to 4861f87cd3d133f03e3b39b6650f4e12f1a9e421:

  perf tools: Make sparc64 arch point to sparc (2015-02-25 17:39:17 -0300)


perf/urgent fixes:

Infrastructure:

- pthread_attr_setaffinity_np feature detection build fixes (Adrian Hunter, 
Josh Boyer)

- Fix probing for PERF_FLAG_FD_CLOEXEC flag (Adrian Hunter)

- Fix order of arguments to memcpy_alloc_mem in 'perf bench' (Bruce Merry)

- Sparc64 and Aarch64 build and segfault fixes (David Ahern)

Signed-off-by: Arnaldo Carvalho de Melo 


Adrian Hunter (2):
  perf tools: Fix pthread_attr_setaffinity_np build error
  perf tools: Fix probing for PERF_FLAG_FD_CLOEXEC flag

Bruce Merry (1):
  perf bench: Fix order of arguments to memcpy_alloc_mem

David Ahern (3):
  perf top: Fix SIGBUS on sparc64
  perf symbols: Define EM_AARCH64 for older OSes
  perf tools: Make sparc64 arch point to sparc

Josh Boyer (1):
  perf tools: Define _GNU_SOURCE on pthread_attr_setaffinity_np feature 
check

 tools/perf/bench/mem-memcpy.c  |  4 ++--
 tools/perf/config/Makefile.arch|  4 
 tools/perf/config/feature-checks/Makefile  |  2 +-
 .../feature-checks/test-pthread-attr-setaffinity-np.c  |  3 ++-
 tools/perf/util/cloexec.c  | 18 +++---
 tools/perf/util/evlist.h   |  2 +-
 tools/perf/util/symbol-elf.c   |  5 +
 7 files changed, 30 insertions(+), 8 deletions(-)
--
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/


[GIT PULL 0/7] perf/urgent fixes

2015-02-25 Thread Arnaldo Carvalho de Melo
Hi Ingo,

Please consider pulling,

- Arnaldo

The following changes since commit 2a6730c8b6e075adf826a89a3e2caa705807afdb:

  kprobes/x86: Check for invalid ftrace location in __recover_probed_insn() 
(2015-02-21 10:33:31 +0100)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git 
tags/perf-urgent-for-mingo

for you to fetch changes up to 4861f87cd3d133f03e3b39b6650f4e12f1a9e421:

  perf tools: Make sparc64 arch point to sparc (2015-02-25 17:39:17 -0300)


perf/urgent fixes:

Infrastructure:

- pthread_attr_setaffinity_np feature detection build fixes (Adrian Hunter, 
Josh Boyer)

- Fix probing for PERF_FLAG_FD_CLOEXEC flag (Adrian Hunter)

- Fix order of arguments to memcpy_alloc_mem in 'perf bench' (Bruce Merry)

- Sparc64 and Aarch64 build and segfault fixes (David Ahern)

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


Adrian Hunter (2):
  perf tools: Fix pthread_attr_setaffinity_np build error
  perf tools: Fix probing for PERF_FLAG_FD_CLOEXEC flag

Bruce Merry (1):
  perf bench: Fix order of arguments to memcpy_alloc_mem

David Ahern (3):
  perf top: Fix SIGBUS on sparc64
  perf symbols: Define EM_AARCH64 for older OSes
  perf tools: Make sparc64 arch point to sparc

Josh Boyer (1):
  perf tools: Define _GNU_SOURCE on pthread_attr_setaffinity_np feature 
check

 tools/perf/bench/mem-memcpy.c  |  4 ++--
 tools/perf/config/Makefile.arch|  4 
 tools/perf/config/feature-checks/Makefile  |  2 +-
 .../feature-checks/test-pthread-attr-setaffinity-np.c  |  3 ++-
 tools/perf/util/cloexec.c  | 18 +++---
 tools/perf/util/evlist.h   |  2 +-
 tools/perf/util/symbol-elf.c   |  5 +
 7 files changed, 30 insertions(+), 8 deletions(-)
--
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 0/7] perf/urgent fixes

2014-05-01 Thread Ingo Molnar

* Jiri Olsa  wrote:

> hi Ingo,
> please consider pulling
> 
> thanks,
> jirka
> 
> 
> The following changes since commit 9f7ff8931e3c5ddc8535476971ec9501e9555c05:
> 
>   perf/x86: Fix RAPL rdmsrl_safe() usage (2014-04-24 08:12:41 +0200)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git 
> tags/perf-urgent-for-mingo
> 
> for you to fetch changes up to 9a126728165eef9b1e9349fe57b9747ac6c6f7e3:
> 
>   perf tests x86: Fix stack map lookup in dwarf unwind test (2014-04-30 
> 17:02:31 +0200)
> 
> 
> perf/urgent fixes:
> 
> . Fix perf to use non-executable stack, again (Mathias Krause)
> 
> . Remove extra '/' character in events file path (Xia Kaixu)
> 
> . Search for modules in %s/lib/modules/%s (Richard Yao)
> 
> . Build related fixies plus static build test (Jiri Olsa)
> 
> . Fix stack map lookup in dwarf unwind test (Jiri Olsa)
> 
> Signed-off-by: Jiri Olsa 
> 
> 
> Jiri Olsa (4):
>   perf tools: Use LDFLAGS instead of ALL_LDFLAGS
>   perf tools: Fix bfd dependency libraries detection
>   perf tests: Add static build make test
>   perf tests x86: Fix stack map lookup in dwarf unwind test
> 
> Mathias Krause (1):
>   perf x86: Fix perf to use non-executable stack, again
> 
> Richard Yao (1):
>   perf machine: Search for modules in %s/lib/modules/%s
> 
> Xia Kaixu (1):
>   perf tools: Remove extra '/' character in events file path
> 
>  tools/lib/api/fs/debugfs.c   |  4 ++--
>  tools/perf/Makefile.perf |  2 +-
>  tools/perf/arch/x86/tests/dwarf-unwind.c |  2 +-
>  tools/perf/arch/x86/tests/regs_load.S|  8 ++-
>  tools/perf/config/Makefile   | 38 
> +++-
>  tools/perf/tests/make|  2 ++
>  tools/perf/util/machine.c| 16 ++
>  7 files changed, 52 insertions(+), 20 deletions(-)

Pulled, thanks a lot Jiri!

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 0/7] perf/urgent fixes

2014-05-01 Thread Ingo Molnar

* Jiri Olsa jo...@kernel.org wrote:

 hi Ingo,
 please consider pulling
 
 thanks,
 jirka
 
 
 The following changes since commit 9f7ff8931e3c5ddc8535476971ec9501e9555c05:
 
   perf/x86: Fix RAPL rdmsrl_safe() usage (2014-04-24 08:12:41 +0200)
 
 are available in the git repository at:
 
   git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git 
 tags/perf-urgent-for-mingo
 
 for you to fetch changes up to 9a126728165eef9b1e9349fe57b9747ac6c6f7e3:
 
   perf tests x86: Fix stack map lookup in dwarf unwind test (2014-04-30 
 17:02:31 +0200)
 
 
 perf/urgent fixes:
 
 . Fix perf to use non-executable stack, again (Mathias Krause)
 
 . Remove extra '/' character in events file path (Xia Kaixu)
 
 . Search for modules in %s/lib/modules/%s (Richard Yao)
 
 . Build related fixies plus static build test (Jiri Olsa)
 
 . Fix stack map lookup in dwarf unwind test (Jiri Olsa)
 
 Signed-off-by: Jiri Olsa jo...@kernel.org
 
 
 Jiri Olsa (4):
   perf tools: Use LDFLAGS instead of ALL_LDFLAGS
   perf tools: Fix bfd dependency libraries detection
   perf tests: Add static build make test
   perf tests x86: Fix stack map lookup in dwarf unwind test
 
 Mathias Krause (1):
   perf x86: Fix perf to use non-executable stack, again
 
 Richard Yao (1):
   perf machine: Search for modules in %s/lib/modules/%s
 
 Xia Kaixu (1):
   perf tools: Remove extra '/' character in events file path
 
  tools/lib/api/fs/debugfs.c   |  4 ++--
  tools/perf/Makefile.perf |  2 +-
  tools/perf/arch/x86/tests/dwarf-unwind.c |  2 +-
  tools/perf/arch/x86/tests/regs_load.S|  8 ++-
  tools/perf/config/Makefile   | 38 
 +++-
  tools/perf/tests/make|  2 ++
  tools/perf/util/machine.c| 16 ++
  7 files changed, 52 insertions(+), 20 deletions(-)

Pulled, thanks a lot Jiri!

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/


[GIT PULL 0/7] perf/urgent fixes

2014-04-30 Thread Jiri Olsa
hi Ingo,
please consider pulling

thanks,
jirka


The following changes since commit 9f7ff8931e3c5ddc8535476971ec9501e9555c05:

  perf/x86: Fix RAPL rdmsrl_safe() usage (2014-04-24 08:12:41 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git 
tags/perf-urgent-for-mingo

for you to fetch changes up to 9a126728165eef9b1e9349fe57b9747ac6c6f7e3:

  perf tests x86: Fix stack map lookup in dwarf unwind test (2014-04-30 
17:02:31 +0200)


perf/urgent fixes:

. Fix perf to use non-executable stack, again (Mathias Krause)

. Remove extra '/' character in events file path (Xia Kaixu)

. Search for modules in %s/lib/modules/%s (Richard Yao)

. Build related fixies plus static build test (Jiri Olsa)

. Fix stack map lookup in dwarf unwind test (Jiri Olsa)

Signed-off-by: Jiri Olsa 


Jiri Olsa (4):
  perf tools: Use LDFLAGS instead of ALL_LDFLAGS
  perf tools: Fix bfd dependency libraries detection
  perf tests: Add static build make test
  perf tests x86: Fix stack map lookup in dwarf unwind test

Mathias Krause (1):
  perf x86: Fix perf to use non-executable stack, again

Richard Yao (1):
  perf machine: Search for modules in %s/lib/modules/%s

Xia Kaixu (1):
  perf tools: Remove extra '/' character in events file path

 tools/lib/api/fs/debugfs.c   |  4 ++--
 tools/perf/Makefile.perf |  2 +-
 tools/perf/arch/x86/tests/dwarf-unwind.c |  2 +-
 tools/perf/arch/x86/tests/regs_load.S|  8 ++-
 tools/perf/config/Makefile   | 38 +++-
 tools/perf/tests/make|  2 ++
 tools/perf/util/machine.c| 16 ++
 7 files changed, 52 insertions(+), 20 deletions(-)
--
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/


[GIT PULL 0/7] perf/urgent fixes

2014-04-30 Thread Jiri Olsa
hi Ingo,
please consider pulling

thanks,
jirka


The following changes since commit 9f7ff8931e3c5ddc8535476971ec9501e9555c05:

  perf/x86: Fix RAPL rdmsrl_safe() usage (2014-04-24 08:12:41 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git 
tags/perf-urgent-for-mingo

for you to fetch changes up to 9a126728165eef9b1e9349fe57b9747ac6c6f7e3:

  perf tests x86: Fix stack map lookup in dwarf unwind test (2014-04-30 
17:02:31 +0200)


perf/urgent fixes:

. Fix perf to use non-executable stack, again (Mathias Krause)

. Remove extra '/' character in events file path (Xia Kaixu)

. Search for modules in %s/lib/modules/%s (Richard Yao)

. Build related fixies plus static build test (Jiri Olsa)

. Fix stack map lookup in dwarf unwind test (Jiri Olsa)

Signed-off-by: Jiri Olsa jo...@kernel.org


Jiri Olsa (4):
  perf tools: Use LDFLAGS instead of ALL_LDFLAGS
  perf tools: Fix bfd dependency libraries detection
  perf tests: Add static build make test
  perf tests x86: Fix stack map lookup in dwarf unwind test

Mathias Krause (1):
  perf x86: Fix perf to use non-executable stack, again

Richard Yao (1):
  perf machine: Search for modules in %s/lib/modules/%s

Xia Kaixu (1):
  perf tools: Remove extra '/' character in events file path

 tools/lib/api/fs/debugfs.c   |  4 ++--
 tools/perf/Makefile.perf |  2 +-
 tools/perf/arch/x86/tests/dwarf-unwind.c |  2 +-
 tools/perf/arch/x86/tests/regs_load.S|  8 ++-
 tools/perf/config/Makefile   | 38 +++-
 tools/perf/tests/make|  2 ++
 tools/perf/util/machine.c| 16 ++
 7 files changed, 52 insertions(+), 20 deletions(-)
--
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/