linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL 0/8] perf/urgent fixes
@ 2012-11-24  0:20 Arnaldo Carvalho de Melo
  2012-11-24  0:20 ` [PATCH 5/8] perf powerpc: Use uapi/unistd.h to fix build error Arnaldo Carvalho de Melo
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Arnaldo Carvalho de Melo @ 2012-11-24  0:20 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: David Howells, linuxppc-dev, Paul Mackerras,
	Arnaldo Carvalho de Melo, Robert Richter, x86, Xiao Guangrong,
	acme, Sukadev Bhattiprolu, linux-arch, Peter Zijlstra,
	Namhyung Kim, Anton Blanchard, Arnaldo Carvalho de Melo, Dong Hao,
	Borislav Petkov, Runzhen Wang, Thomas Gleixner, linux-kernel,
	David Ahern, Linus Torvalds

Hi Ingo,

	Tested using a cross-compiler and directly on a Raspberry pi (ARM) with
raspbian.

	Please consider pulling.

- Arnaldo

The following changes since commit 18423d3562f396206e0928a71177eeb2edfed077:

  Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2012-11-13 18:51:51 +0100)

are available in the git repository at:


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

for you to fetch changes up to 7321090f6751c9987c26a8c81c63680d16a614d7:

  perf kvm: Fix building perf kvm on non x86 arches (2012-11-23 20:40:17 -0300)

----------------------------------------------------------------
perf/urgent fixes

. Don't build 'perf kvm stat" on non-x86 arches, fix from Xiao Guangrong.

. UAPI fixes to get perf building again in non-x86 arches, from David Howells.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (1):
      Merge tag 'perf-uapi-20121119' of git://git.infradead.org/users/dhowells/linux-headers into perf/urgent

David Howells (6):
      x86: Export asm/{svm.h,vmx.h,perf_regs.h}
      Merge branch 'x86-pre-uapi' into perf-uapi
      tools: Define a Makefile function to do subdir processing
      tools: Honour the O= flag when tool build called from a higher Makefile
      tools: Pass the target in descend
      perf: Make perf build for x86 with UAPI disintegration applied

Sukadev Bhattiprolu (1):
      perf powerpc: Use uapi/unistd.h to fix build error

Xiao Guangrong (2):
      perf kvm: Rename perf_kvm to perf_kvm_stat
      perf kvm: Fix building perf kvm on non x86 arches

 Makefile                                |    6 +-
 arch/x86/include/asm/Kbuild             |    3 +
 include/linux/hw_breakpoint.h           |   31 +-------
 include/uapi/linux/Kbuild               |    1 +
 include/uapi/linux/hw_breakpoint.h      |   30 ++++++++
 tools/Makefile                          |   24 +++---
 tools/perf/Makefile                     |   29 +++++++-
 tools/perf/arch/x86/include/perf_regs.h |    2 +-
 tools/perf/builtin-kvm.c                |  121 +++++++++++++++++--------------
 tools/perf/builtin-test.c               |    2 +-
 tools/perf/perf.h                       |   16 +---
 tools/perf/util/evsel.c                 |    4 +-
 tools/perf/util/evsel.h                 |    3 +-
 tools/perf/util/header.h                |    2 +-
 tools/perf/util/parse-events-test.c     |    2 +-
 tools/perf/util/parse-events.c          |    2 +-
 tools/perf/util/parse-events.h          |    2 +-
 tools/perf/util/pmu.h                   |    2 +-
 tools/perf/util/session.h               |    2 +-
 tools/scripts/Makefile.include          |   23 +++++-
 20 files changed, 181 insertions(+), 126 deletions(-)
 create mode 100644 include/uapi/linux/hw_breakpoint.h

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 5/8] perf powerpc: Use uapi/unistd.h to fix build error
  2012-11-24  0:20 [GIT PULL 0/8] perf/urgent fixes Arnaldo Carvalho de Melo
@ 2012-11-24  0:20 ` Arnaldo Carvalho de Melo
  2012-11-28 20:27 ` [GIT PULL 0/8] perf/urgent fixes Josh Boyer
  2012-12-01 11:05 ` Ingo Molnar
  2 siblings, 0 replies; 6+ messages in thread
From: Arnaldo Carvalho de Melo @ 2012-11-24  0:20 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Peter Zijlstra, Robert Richter, Anton Blanchard, linux-kernel,
	Arnaldo Carvalho de Melo, linuxppc-dev, Ingo Molnar,
	Paul Mackerras, Sukadev Bhattiprolu

From: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>

Use the 'unistd.h' from arch/powerpc/include/uapi to build the perf tool.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Cc: Anton Blanchard <anton@au1.ibm.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Robert Richter <robert.richter@amd.com>
Cc: linuxppc-dev@ozlabs.org
Link: http://lkml.kernel.org/r/20121107191818.GA16211@us.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/perf.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/perf.h b/tools/perf/perf.h
index c50985e..e2ba8f0 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
@@ -26,7 +26,7 @@ void get_term_dimensions(struct winsize *ws);
 #endif
 
 #ifdef __powerpc__
-#include "../../arch/powerpc/include/asm/unistd.h"
+#include "../../arch/powerpc/include/uapi/asm/unistd.h"
 #define rmb()		asm volatile ("sync" ::: "memory")
 #define cpu_relax()	asm volatile ("" ::: "memory");
 #define CPUINFO_PROC	"cpu"
-- 
1.7.9.2.358.g22243

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [GIT PULL 0/8] perf/urgent fixes
  2012-11-24  0:20 [GIT PULL 0/8] perf/urgent fixes Arnaldo Carvalho de Melo
  2012-11-24  0:20 ` [PATCH 5/8] perf powerpc: Use uapi/unistd.h to fix build error Arnaldo Carvalho de Melo
@ 2012-11-28 20:27 ` Josh Boyer
  2012-12-01 11:05 ` Ingo Molnar
  2 siblings, 0 replies; 6+ messages in thread
From: Josh Boyer @ 2012-11-28 20:27 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner, Linus Torvalds,
	Arnaldo Carvalho de Melo
  Cc: Arnaldo Carvalho de Melo, David Howells, linux-arch,
	Peter Zijlstra, Robert Richter, Namhyung Kim, Anton Blanchard,
	linux-kernel, Xiao Guangrong, Arnaldo Carvalho de Melo,
	linuxppc-dev, Dong Hao, Borislav Petkov, David Ahern,
	Runzhen Wang, Paul Mackerras, x86, Sukadev Bhattiprolu

On Fri, Nov 23, 2012 at 7:20 PM, Arnaldo Carvalho de Melo
<acme@ghostprotocols.net> wrote:
> Hi Ingo,
>
>         Tested using a cross-compiler and directly on a Raspberry pi (ARM) with
> raspbian.
>
>         Please consider pulling.
>
> - Arnaldo
>
> The following changes since commit 18423d3562f396206e0928a71177eeb2edfed077:
>
>   Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2012-11-13 18:51:51 +0100)
>
> are available in the git repository at:
>
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-urgent-for-mingo
>
> for you to fetch changes up to 7321090f6751c9987c26a8c81c63680d16a614d7:
>
>   perf kvm: Fix building perf kvm on non x86 arches (2012-11-23 20:40:17 -0300)
>
> ----------------------------------------------------------------
> perf/urgent fixes
>
> . Don't build 'perf kvm stat" on non-x86 arches, fix from Xiao Guangrong.
>
> . UAPI fixes to get perf building again in non-x86 arches, from David Howells.
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
>
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (1):
>       Merge tag 'perf-uapi-20121119' of git://git.infradead.org/users/dhowells/linux-headers into perf/urgent
>
> David Howells (6):
>       x86: Export asm/{svm.h,vmx.h,perf_regs.h}
>       Merge branch 'x86-pre-uapi' into perf-uapi
>       tools: Define a Makefile function to do subdir processing
>       tools: Honour the O= flag when tool build called from a higher Makefile
>       tools: Pass the target in descend
>       perf: Make perf build for x86 with UAPI disintegration applied
>
> Sukadev Bhattiprolu (1):
>       perf powerpc: Use uapi/unistd.h to fix build error
>
> Xiao Guangrong (2):
>       perf kvm: Rename perf_kvm to perf_kvm_stat
>       perf kvm: Fix building perf kvm on non x86 arches

I probably sound like a broken record at this point, but I've not seen
this go into any tip branch, nor is it in Linus' tree.  Hopefully this
gets pulled before 3.7 is released.

josh

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL 0/8] perf/urgent fixes
  2012-11-24  0:20 [GIT PULL 0/8] perf/urgent fixes Arnaldo Carvalho de Melo
  2012-11-24  0:20 ` [PATCH 5/8] perf powerpc: Use uapi/unistd.h to fix build error Arnaldo Carvalho de Melo
  2012-11-28 20:27 ` [GIT PULL 0/8] perf/urgent fixes Josh Boyer
@ 2012-12-01 11:05 ` Ingo Molnar
  2 siblings, 0 replies; 6+ messages in thread
From: Ingo Molnar @ 2012-12-01 11:05 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: linux-arch, David Howells, x86, Peter Zijlstra, Robert Richter,
	Namhyung Kim, Anton Blanchard, linux-kernel, Xiao Guangrong,
	Arnaldo Carvalho de Melo, linuxppc-dev, Dong Hao, Borislav Petkov,
	acme, David Ahern, Runzhen Wang, Paul Mackerras,
	Sukadev Bhattiprolu, Linus Torvalds, Thomas Gleixner


* Arnaldo Carvalho de Melo <acme@infradead.org> wrote:

> Hi Ingo,
> 
> 	Tested using a cross-compiler and directly on a Raspberry pi (ARM) with
> raspbian.
> 
> 	Please consider pulling.
> 
> - Arnaldo
> 
> The following changes since commit 18423d3562f396206e0928a71177eeb2edfed077:
> 
>   Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2012-11-13 18:51:51 +0100)
> 
> are available in the git repository at:
> 
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-urgent-for-mingo
> 
> for you to fetch changes up to 7321090f6751c9987c26a8c81c63680d16a614d7:
> 
>   perf kvm: Fix building perf kvm on non x86 arches (2012-11-23 20:40:17 -0300)
> 
> ----------------------------------------------------------------
> perf/urgent fixes
> 
> . Don't build 'perf kvm stat" on non-x86 arches, fix from Xiao Guangrong.
> 
> . UAPI fixes to get perf building again in non-x86 arches, from David Howells.
> 
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> 
> ----------------------------------------------------------------
> Arnaldo Carvalho de Melo (1):
>       Merge tag 'perf-uapi-20121119' of git://git.infradead.org/users/dhowells/linux-headers into perf/urgent
> 
> David Howells (6):
>       x86: Export asm/{svm.h,vmx.h,perf_regs.h}
>       Merge branch 'x86-pre-uapi' into perf-uapi
>       tools: Define a Makefile function to do subdir processing
>       tools: Honour the O= flag when tool build called from a higher Makefile
>       tools: Pass the target in descend
>       perf: Make perf build for x86 with UAPI disintegration applied
> 
> Sukadev Bhattiprolu (1):
>       perf powerpc: Use uapi/unistd.h to fix build error
> 
> Xiao Guangrong (2):
>       perf kvm: Rename perf_kvm to perf_kvm_stat
>       perf kvm: Fix building perf kvm on non x86 arches
> 
>  Makefile                                |    6 +-
>  arch/x86/include/asm/Kbuild             |    3 +
>  include/linux/hw_breakpoint.h           |   31 +-------
>  include/uapi/linux/Kbuild               |    1 +
>  include/uapi/linux/hw_breakpoint.h      |   30 ++++++++
>  tools/Makefile                          |   24 +++---
>  tools/perf/Makefile                     |   29 +++++++-
>  tools/perf/arch/x86/include/perf_regs.h |    2 +-
>  tools/perf/builtin-kvm.c                |  121 +++++++++++++++++--------------
>  tools/perf/builtin-test.c               |    2 +-
>  tools/perf/perf.h                       |   16 +---
>  tools/perf/util/evsel.c                 |    4 +-
>  tools/perf/util/evsel.h                 |    3 +-
>  tools/perf/util/header.h                |    2 +-
>  tools/perf/util/parse-events-test.c     |    2 +-
>  tools/perf/util/parse-events.c          |    2 +-
>  tools/perf/util/parse-events.h          |    2 +-
>  tools/perf/util/pmu.h                   |    2 +-
>  tools/perf/util/session.h               |    2 +-
>  tools/scripts/Makefile.include          |   23 +++++-
>  20 files changed, 181 insertions(+), 126 deletions(-)
>  create mode 100644 include/uapi/linux/hw_breakpoint.h

Pulled, thanks a lot Arnaldo!

I'll get this to Linus ASAP.

Note: got a conflict with perf/core in tools/perf/Makefile, when 
merging in tip:master. It appeared to me that perf/core already 
included all the changes to BASIC_CFLAGS that perf/urgent 
updated, so I picked the perf/core version.

The merged result seems to work fine but please double check it 
nevertheless.

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [GIT PULL 0/8] perf/urgent fixes
@ 2013-03-14 12:23 Arnaldo Carvalho de Melo
  2013-03-18  9:02 ` Ingo Molnar
  0 siblings, 1 reply; 6+ messages in thread
From: Arnaldo Carvalho de Melo @ 2013-03-14 12:23 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Feng Tang, Srikar Dronamraju, Jack Mitchell, Stephane Eranian,
	Oleg Nesterov, linuxppc-dev, Paul Mackerras, Jiri Olsa,
	Namhyung Kim, Andi Kleen, Irina Tirdea, Robert Richter,
	Vinson Lee, Ingo Molnar, Marcin Slusarz, Arnaldo Carvalho de Melo,
	Frederic Weisbecker, Ingo Molnar, Sukadev Bhattiprolu,
	Peter Zijlstra, Corey Ashford, Anton Blanchard, Namhyung Kim,
	Arnaldo Carvalho de Melo, linux-kernel, Pekka Enberg, David Ahern

From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>

Hi Ingo,

	Please consider pulling,

- Arnaldo

The following changes since commit cb16b91a449afd01b85ec4e59f30449d11c4acd7:

  s390: Fix a header dependencies related build error (2013-03-11 10:43:35 +0100)

are available in the git repository at:

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

for you to fetch changes up to d1398ccfec56e54010476efd6a316427d29045a6:

  perf tools: Fix LIBNUMA build with glibc 2.12 and older. (2013-03-14 08:06:21 -0300)

----------------------------------------------------------------
perf/urgent fixes:

. perf probe: Fix segfault due to testing the wrong pointer for NULL,
  from Ananth N Mavinakayanahalli.

. libtraceevent: Remove hard coded include to /usr/local/include in
  Makefile, which causes cross builds to include host header files,
  fix from Jack Mitchell.

. perf record: Use the right target interface for synthesizing
  threads when --cpu/-C option is used, fix from Jiri Olsa.

. Check if -DFORTIFY_SOURCE=2 is allowed, as gcc 4.7.2 defines
  it and then the build is broken when it is redefined in perf,
  fix from Marcin Slusarz.

. Fix build with NO_NEWT=1, that can happen explicitely or when
  the newt-devel package is not installed, from Michael Ellerman.

. perf/POWER7: Create a sysfs format entry for Power7 events, missing
  patch from a patchseries already merged, from Sukadev Bhattiprolu.

. Fix LIBNUMA build with glibc 2.12 and older, from Vinson Lee.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

----------------------------------------------------------------
Ananth N Mavinakayanahalli (1):
      perf probe: Fix segfault

Jack Mitchell (1):
      libtraceevent: Remove hard coded include to /usr/local/include in Makefile

Jiri Olsa (1):
      perf record: Fix -C option

Marcin Slusarz (1):
      perf tools: check if -DFORTIFY_SOURCE=2 is allowed

Michael Ellerman (2):
      perf annotate: Fix build with NO_NEWT=1
      perf report: Fix build with NO_NEWT=1

Sukadev Bhattiprolu (1):
      perf/POWER7: Create a sysfs format entry for Power7 events

Vinson Lee (1):
      perf tools: Fix LIBNUMA build with glibc 2.12 and older.

 arch/powerpc/perf/power7-pmu.c | 13 +++++++++++++
 tools/lib/traceevent/Makefile  |  2 +-
 tools/perf/Makefile            |  8 +++++++-
 tools/perf/bench/bench.h       | 24 ++++++++++++++++++++++++
 tools/perf/builtin-record.c    |  6 ++++--
 tools/perf/util/hist.h         |  5 +++--
 tools/perf/util/strlist.c      |  2 +-
 7 files changed, 53 insertions(+), 7 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [GIT PULL 0/8] perf/urgent fixes
  2013-03-14 12:23 Arnaldo Carvalho de Melo
@ 2013-03-18  9:02 ` Ingo Molnar
  0 siblings, 0 replies; 6+ messages in thread
From: Ingo Molnar @ 2013-03-18  9:02 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Feng Tang, Srikar Dronamraju, Jack Mitchell, Stephane Eranian,
	Oleg Nesterov, linuxppc-dev, Paul Mackerras, Jiri Olsa,
	Namhyung Kim, Andi Kleen, Irina Tirdea, Robert Richter,
	Vinson Lee, Ingo Molnar, Marcin Slusarz, Arnaldo Carvalho de Melo,
	Frederic Weisbecker, Ingo Molnar, Sukadev Bhattiprolu,
	Peter Zijlstra, Corey Ashford, Anton Blanchard, Namhyung Kim,
	Arnaldo Carvalho de Melo, linux-kernel, Pekka Enberg, David Ahern


* Arnaldo Carvalho de Melo <acme@infradead.org> wrote:

> From: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
> 
> Hi Ingo,
> 
> 	Please consider pulling,
> 
> - Arnaldo
> 
> The following changes since commit cb16b91a449afd01b85ec4e59f30449d11c4acd7:
> 
>   s390: Fix a header dependencies related build error (2013-03-11 10:43:35 +0100)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux tags/perf-urgent-for-mingo
> 
> for you to fetch changes up to d1398ccfec56e54010476efd6a316427d29045a6:
> 
>   perf tools: Fix LIBNUMA build with glibc 2.12 and older. (2013-03-14 08:06:21 -0300)
> 
> ----------------------------------------------------------------
> perf/urgent fixes:
> 
> . perf probe: Fix segfault due to testing the wrong pointer for NULL,
>   from Ananth N Mavinakayanahalli.
> 
> . libtraceevent: Remove hard coded include to /usr/local/include in
>   Makefile, which causes cross builds to include host header files,
>   fix from Jack Mitchell.
> 
> . perf record: Use the right target interface for synthesizing
>   threads when --cpu/-C option is used, fix from Jiri Olsa.
> 
> . Check if -DFORTIFY_SOURCE=2 is allowed, as gcc 4.7.2 defines
>   it and then the build is broken when it is redefined in perf,
>   fix from Marcin Slusarz.
> 
> . Fix build with NO_NEWT=1, that can happen explicitely or when
>   the newt-devel package is not installed, from Michael Ellerman.
> 
> . perf/POWER7: Create a sysfs format entry for Power7 events, missing
>   patch from a patchseries already merged, from Sukadev Bhattiprolu.
> 
> . Fix LIBNUMA build with glibc 2.12 and older, from Vinson Lee.
> 
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> 
> ----------------------------------------------------------------
> Ananth N Mavinakayanahalli (1):
>       perf probe: Fix segfault
> 
> Jack Mitchell (1):
>       libtraceevent: Remove hard coded include to /usr/local/include in Makefile
> 
> Jiri Olsa (1):
>       perf record: Fix -C option
> 
> Marcin Slusarz (1):
>       perf tools: check if -DFORTIFY_SOURCE=2 is allowed
> 
> Michael Ellerman (2):
>       perf annotate: Fix build with NO_NEWT=1
>       perf report: Fix build with NO_NEWT=1
> 
> Sukadev Bhattiprolu (1):
>       perf/POWER7: Create a sysfs format entry for Power7 events
> 
> Vinson Lee (1):
>       perf tools: Fix LIBNUMA build with glibc 2.12 and older.
> 
>  arch/powerpc/perf/power7-pmu.c | 13 +++++++++++++
>  tools/lib/traceevent/Makefile  |  2 +-
>  tools/perf/Makefile            |  8 +++++++-
>  tools/perf/bench/bench.h       | 24 ++++++++++++++++++++++++
>  tools/perf/builtin-record.c    |  6 ++++--
>  tools/perf/util/hist.h         |  5 +++--
>  tools/perf/util/strlist.c      |  2 +-
>  7 files changed, 53 insertions(+), 7 deletions(-)

Pulled, thanks Arnaldo!

	Ingo

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-18  9:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-24  0:20 [GIT PULL 0/8] perf/urgent fixes Arnaldo Carvalho de Melo
2012-11-24  0:20 ` [PATCH 5/8] perf powerpc: Use uapi/unistd.h to fix build error Arnaldo Carvalho de Melo
2012-11-28 20:27 ` [GIT PULL 0/8] perf/urgent fixes Josh Boyer
2012-12-01 11:05 ` Ingo Molnar
  -- strict thread matches above, loose matches on Subject: below --
2013-03-14 12:23 Arnaldo Carvalho de Melo
2013-03-18  9:02 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).