linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] perf_event/tracing/powerpc patches from Anton Blanchard
@ 2009-10-29  0:56 Paul Mackerras
  2009-10-29  1:44 ` Benjamin Herrenschmidt
  2009-10-29  6:55 ` Ingo Molnar
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Mackerras @ 2009-10-29  0:56 UTC (permalink / raw)
  To: Ingo Molnar, Benjamin Herrenschmidt
  Cc: Peter Zijlstra, linuxppc-dev, linux-kernel, Anton Blanchard

Here is a series of patches from Anton Blanchard that implement some
nice tracing and perf_event features on powerpc.  One of them is
generic perf_event stuff (adding software events for alignment faults
and instruction emulation faults).

Since this touches the perf_event and tracing subsystems as well as the
powerpc architecture code, I think the best way forward is for both
Ingo and Ben to pull it into their trees.  I have based it on the most
recent point in Linus' tree that Ingo had pulled into his perf
branches (as of yesterday or so).

Thanks,
Paul.

The following changes since commit a3ccf63ee643ef243cbf8918da8b3f9238f10029:
  Linus Torvalds (1):
        Merge branch 'for-linus' of git://git.kernel.org/.../ieee1394/linux1394-2.6

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/paulus/perf.git master

Anton Blanchard (14):
      powerpc: perf_event: Log invalid data addresses as all 1s
      powerpc: perf_event: Enable SDAR in continous sample mode
      perf_event: Add alignment-faults and emulation-faults software events
      powerpc: Create PPC_WARN_ALIGNMENT to match PPC_WARN_EMULATED
      powerpc: perf_event: Add alignment-faults and emulation-faults software events
      powerpc: tracing: Add powerpc tracepoints for interrupt entry and exit
      powerpc: tracing: Add powerpc tracepoints for timer entry and exit
      powerpc: tracing: Add hypervisor call tracepoints
      powerpc: tracing: Give hypervisor call tracepoints access to arguments
      powerpc: Disable HCALL_STATS by default
      powerpc: Export powerpc_debugfs_root
      powerpc: perf_event: Cleanup copy_page output by hiding setup symbol
      powerpc: perf_event: Hide iseries_check_pending_irqs
      powerpc: perf_event: Cleanup output by adding symbols

 arch/powerpc/Kconfig.debug                   |    2 +-
 arch/powerpc/configs/pseries_defconfig       |    2 +-
 arch/powerpc/include/asm/emulated_ops.h      |   19 ++++-
 arch/powerpc/include/asm/hvcall.h            |    2 +
 arch/powerpc/include/asm/reg.h               |    2 +
 arch/powerpc/include/asm/trace.h             |  133 ++++++++++++++++++++++++++
 arch/powerpc/kernel/align.c                  |   12 +-
 arch/powerpc/kernel/entry_64.S               |    4 +-
 arch/powerpc/kernel/exceptions-64s.S         |    3 +
 arch/powerpc/kernel/irq.c                    |    6 +
 arch/powerpc/kernel/perf_event.c             |    2 +-
 arch/powerpc/kernel/power5+-pmu.c            |    4 -
 arch/powerpc/kernel/power5-pmu.c             |    6 +-
 arch/powerpc/kernel/power6-pmu.c             |    2 +-
 arch/powerpc/kernel/power7-pmu.c             |    6 +-
 arch/powerpc/kernel/ppc970-pmu.c             |    4 -
 arch/powerpc/kernel/setup-common.c           |    1 +
 arch/powerpc/kernel/time.c                   |    6 +
 arch/powerpc/kernel/traps.c                  |   18 ++--
 arch/powerpc/lib/copypage_64.S               |    4 +-
 arch/powerpc/platforms/pseries/hvCall.S      |  132 +++++++++++++++----------
 arch/powerpc/platforms/pseries/hvCall_inst.c |   38 ++++++++
 arch/powerpc/platforms/pseries/lpar.c        |   33 +++++++
 include/linux/perf_counter.h                 |    2 +
 include/linux/perf_event.h                   |    2 +
 kernel/perf_event.c                          |    2 +
 tools/perf/design.txt                        |    2 +
 tools/perf/util/parse-events.c               |    4 +
 28 files changed, 357 insertions(+), 96 deletions(-)
 create mode 100644 arch/powerpc/include/asm/trace.h

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

* Re: [GIT PULL] perf_event/tracing/powerpc patches from Anton Blanchard
  2009-10-29  0:56 [GIT PULL] perf_event/tracing/powerpc patches from Anton Blanchard Paul Mackerras
@ 2009-10-29  1:44 ` Benjamin Herrenschmidt
  2009-10-29  2:43   ` Paul Mackerras
  2009-10-29  6:55 ` Ingo Molnar
  1 sibling, 1 reply; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2009-10-29  1:44 UTC (permalink / raw)
  To: Paul Mackerras
  Cc: Peter Zijlstra, linuxppc-dev, Ingo Molnar, linux-kernel,
	Anton Blanchard

On Thu, 2009-10-29 at 11:56 +1100, Paul Mackerras wrote:
> Here is a series of patches from Anton Blanchard that implement some
> nice tracing and perf_event features on powerpc.  One of them is
> generic perf_event stuff (adding software events for alignment faults
> and instruction emulation faults).
> 
> Since this touches the perf_event and tracing subsystems as well as the
> powerpc architecture code, I think the best way forward is for both
> Ingo and Ben to pull it into their trees.  I have based it on the most
> recent point in Linus' tree that Ingo had pulled into his perf
> branches (as of yesterday or so).

This is -next material right ?

Cheers,
Ben.

> Thanks,
> Paul.
> 
> The following changes since commit a3ccf63ee643ef243cbf8918da8b3f9238f10029:
>   Linus Torvalds (1):
>         Merge branch 'for-linus' of git://git.kernel.org/.../ieee1394/linux1394-2.6
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/paulus/perf.git master
> 
> Anton Blanchard (14):
>       powerpc: perf_event: Log invalid data addresses as all 1s
>       powerpc: perf_event: Enable SDAR in continous sample mode
>       perf_event: Add alignment-faults and emulation-faults software events
>       powerpc: Create PPC_WARN_ALIGNMENT to match PPC_WARN_EMULATED
>       powerpc: perf_event: Add alignment-faults and emulation-faults software events
>       powerpc: tracing: Add powerpc tracepoints for interrupt entry and exit
>       powerpc: tracing: Add powerpc tracepoints for timer entry and exit
>       powerpc: tracing: Add hypervisor call tracepoints
>       powerpc: tracing: Give hypervisor call tracepoints access to arguments
>       powerpc: Disable HCALL_STATS by default
>       powerpc: Export powerpc_debugfs_root
>       powerpc: perf_event: Cleanup copy_page output by hiding setup symbol
>       powerpc: perf_event: Hide iseries_check_pending_irqs
>       powerpc: perf_event: Cleanup output by adding symbols
> 
>  arch/powerpc/Kconfig.debug                   |    2 +-
>  arch/powerpc/configs/pseries_defconfig       |    2 +-
>  arch/powerpc/include/asm/emulated_ops.h      |   19 ++++-
>  arch/powerpc/include/asm/hvcall.h            |    2 +
>  arch/powerpc/include/asm/reg.h               |    2 +
>  arch/powerpc/include/asm/trace.h             |  133 ++++++++++++++++++++++++++
>  arch/powerpc/kernel/align.c                  |   12 +-
>  arch/powerpc/kernel/entry_64.S               |    4 +-
>  arch/powerpc/kernel/exceptions-64s.S         |    3 +
>  arch/powerpc/kernel/irq.c                    |    6 +
>  arch/powerpc/kernel/perf_event.c             |    2 +-
>  arch/powerpc/kernel/power5+-pmu.c            |    4 -
>  arch/powerpc/kernel/power5-pmu.c             |    6 +-
>  arch/powerpc/kernel/power6-pmu.c             |    2 +-
>  arch/powerpc/kernel/power7-pmu.c             |    6 +-
>  arch/powerpc/kernel/ppc970-pmu.c             |    4 -
>  arch/powerpc/kernel/setup-common.c           |    1 +
>  arch/powerpc/kernel/time.c                   |    6 +
>  arch/powerpc/kernel/traps.c                  |   18 ++--
>  arch/powerpc/lib/copypage_64.S               |    4 +-
>  arch/powerpc/platforms/pseries/hvCall.S      |  132 +++++++++++++++----------
>  arch/powerpc/platforms/pseries/hvCall_inst.c |   38 ++++++++
>  arch/powerpc/platforms/pseries/lpar.c        |   33 +++++++
>  include/linux/perf_counter.h                 |    2 +
>  include/linux/perf_event.h                   |    2 +
>  kernel/perf_event.c                          |    2 +
>  tools/perf/design.txt                        |    2 +
>  tools/perf/util/parse-events.c               |    4 +
>  28 files changed, 357 insertions(+), 96 deletions(-)
>  create mode 100644 arch/powerpc/include/asm/trace.h

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

* Re: [GIT PULL] perf_event/tracing/powerpc patches from Anton Blanchard
  2009-10-29  1:44 ` Benjamin Herrenschmidt
@ 2009-10-29  2:43   ` Paul Mackerras
  0 siblings, 0 replies; 6+ messages in thread
From: Paul Mackerras @ 2009-10-29  2:43 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: Peter Zijlstra, linuxppc-dev, Ingo Molnar, linux-kernel,
	Anton Blanchard

Benjamin Herrenschmidt writes:

> On Thu, 2009-10-29 at 11:56 +1100, Paul Mackerras wrote:
> > Here is a series of patches from Anton Blanchard that implement some
> > nice tracing and perf_event features on powerpc.  One of them is
> > generic perf_event stuff (adding software events for alignment faults
> > and instruction emulation faults).
> > 
> > Since this touches the perf_event and tracing subsystems as well as the
> > powerpc architecture code, I think the best way forward is for both
> > Ingo and Ben to pull it into their trees.  I have based it on the most
> > recent point in Linus' tree that Ingo had pulled into his perf
> > branches (as of yesterday or so).
> 
> This is -next material right ?

Yes, please pull it into your next branch.

Thanks,
Paul.

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

* Re: [GIT PULL] perf_event/tracing/powerpc patches from Anton Blanchard
  2009-10-29  0:56 [GIT PULL] perf_event/tracing/powerpc patches from Anton Blanchard Paul Mackerras
  2009-10-29  1:44 ` Benjamin Herrenschmidt
@ 2009-10-29  6:55 ` Ingo Molnar
  2009-10-30  6:04   ` Benjamin Herrenschmidt
  1 sibling, 1 reply; 6+ messages in thread
From: Ingo Molnar @ 2009-10-29  6:55 UTC (permalink / raw)
  To: Paul Mackerras
  Cc: Peter Zijlstra, linux-kernel, Anton Blanchard, linuxppc-dev


* Paul Mackerras <paulus@samba.org> wrote:

> Here is a series of patches from Anton Blanchard that implement some 
> nice tracing and perf_event features on powerpc.  One of them is 
> generic perf_event stuff (adding software events for alignment faults 
> and instruction emulation faults).
> 
> Since this touches the perf_event and tracing subsystems as well as 
> the powerpc architecture code, I think the best way forward is for 
> both Ingo and Ben to pull it into their trees.  I have based it on the 
> most recent point in Linus' tree that Ingo had pulled into his perf 
> branches (as of yesterday or so).

The generic perf bits look good to me - can pull it if Ben OKs the 
PowerPC bits.

Thanks,

	Ingo

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

* Re: [GIT PULL] perf_event/tracing/powerpc patches from Anton Blanchard
  2009-10-29  6:55 ` Ingo Molnar
@ 2009-10-30  6:04   ` Benjamin Herrenschmidt
  2009-11-08  9:35     ` Ingo Molnar
  0 siblings, 1 reply; 6+ messages in thread
From: Benjamin Herrenschmidt @ 2009-10-30  6:04 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Peter Zijlstra, linuxppc-dev, Paul Mackerras, linux-kernel,
	Anton Blanchard

On Thu, 2009-10-29 at 07:55 +0100, Ingo Molnar wrote:
> * Paul Mackerras <paulus@samba.org> wrote:
> 
> > Here is a series of patches from Anton Blanchard that implement some 
> > nice tracing and perf_event features on powerpc.  One of them is 
> > generic perf_event stuff (adding software events for alignment faults 
> > and instruction emulation faults).
> > 
> > Since this touches the perf_event and tracing subsystems as well as 
> > the powerpc architecture code, I think the best way forward is for 
> > both Ingo and Ben to pull it into their trees.  I have based it on the 
> > most recent point in Linus' tree that Ingo had pulled into his perf 
> > branches (as of yesterday or so).
> 
> The generic perf bits look good to me - can pull it if Ben OKs the 
> PowerPC bits.

Yup. Just went through all of them, they look fine. I also test built on
a number of default configs and it seems to pass.

Cheers,
Ben.

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

* Re: [GIT PULL] perf_event/tracing/powerpc patches from Anton Blanchard
  2009-10-30  6:04   ` Benjamin Herrenschmidt
@ 2009-11-08  9:35     ` Ingo Molnar
  0 siblings, 0 replies; 6+ messages in thread
From: Ingo Molnar @ 2009-11-08  9:35 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: Peter Zijlstra, linuxppc-dev, Paul Mackerras, linux-kernel,
	Anton Blanchard


* Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:

> On Thu, 2009-10-29 at 07:55 +0100, Ingo Molnar wrote:
> > * Paul Mackerras <paulus@samba.org> wrote:
> > 
> > > Here is a series of patches from Anton Blanchard that implement some 
> > > nice tracing and perf_event features on powerpc.  One of them is 
> > > generic perf_event stuff (adding software events for alignment faults 
> > > and instruction emulation faults).
> > > 
> > > Since this touches the perf_event and tracing subsystems as well as 
> > > the powerpc architecture code, I think the best way forward is for 
> > > both Ingo and Ben to pull it into their trees.  I have based it on the 
> > > most recent point in Linus' tree that Ingo had pulled into his perf 
> > > branches (as of yesterday or so).
> > 
> > The generic perf bits look good to me - can pull it if Ben OKs the 
> > PowerPC bits.
> 
> Yup. Just went through all of them, they look fine. I also test built on
> a number of default configs and it seems to pass.

Pulled into tip:perf/powerpc (will keep it in a separate branch for a 
few days then it can go into perf/core), thanks guys!

	Ingo

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

end of thread, other threads:[~2009-11-08  9:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29  0:56 [GIT PULL] perf_event/tracing/powerpc patches from Anton Blanchard Paul Mackerras
2009-10-29  1:44 ` Benjamin Herrenschmidt
2009-10-29  2:43   ` Paul Mackerras
2009-10-29  6:55 ` Ingo Molnar
2009-10-30  6:04   ` Benjamin Herrenschmidt
2009-11-08  9:35     ` 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).