From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755862Ab0JONrW (ORCPT ); Fri, 15 Oct 2010 09:47:22 -0400 Received: from tx2ehsobe005.messaging.microsoft.com ([65.55.88.15]:21364 "EHLO TX2EHSOBE009.bigfish.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754678Ab0JONrV (ORCPT ); Fri, 15 Oct 2010 09:47:21 -0400 X-SpamScore: 0 X-BigFish: VPS0(zz4015L2f55kzz1202hzz8275dhz32i2a8h62h) X-Spam-TCS-SCL: 1:0 X-FB-SS: 0, X-WSS-ID: 0LAC3MK-02-GPK-02 X-M-MSG: Date: Fri, 15 Oct 2010 15:47:10 +0200 From: Robert Richter To: Ingo Molnar CC: "linux-kernel@vger.kernel.org" , "oprofile-list@lists.sourceforge.net" Subject: [GIT PULL] oprofile updates for v2.6.37 Message-ID: <20101015134710.GF5969@erda.amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Reverse-DNS: ausb3extmailp02.amd.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ingo, please pull for tip/perf/core: git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile.git core The main part here is the generalization of the perf event backend (currently arm and sh archs). Patches are for v2.6.37. I did already a merge with tip/perf/core, so it should merge without conflicts. There are still my oprofile x86 updates pending (mainly AMD IBS) that require my APIC patches to be applied to tip. As soon as they are in tip I will update the oprofile tree and send a further pull request. Thanks, -Robert The following changes since commit 0fdf13606b67f830559abdaad15980c7f4f05ec4: Anand Gadiyar (2): oprofile: include platform_device.h to fix build break oprofile: fix linker errors Jiri Olsa (2): oprofile, x86: Using struct stack_frame for 64bit processes dump oprofile, x86: Adding backtrace dump for 32bit process in compat mode Matt Fleming (7): perf: Add helper function to return number of counters perf: New helper function for pmu name oprofile: Make op_name_from_perf_id() global ARM: oprofile: Rename op_arm to oprofile_perf ARM: oprofile: Move non-ARM code into separate init/exit oprofile: Abstract the perf-events backend sh: oprofile: Use perf-events oprofile backend Robert Richter (17): oprofile, arm: initialize perf_event pointers with NULL Merge branch 'oprofile/urgent' into oprofile/core oprofile, x86: Simplify init/exit functions oprofile, ARM: Use oprofile_arch_exit() to cleanup on failure oprofile, ARM: Rework op_create_counter() oprofile, ARM: Remove some goto statements oprofile: Remove duplicate code around __oprofilefs_create_file() Merge branch 'oprofile/urgent' (early part) into oprofile/perf oprofile, ARM: Release resources on failure Merge branch 'oprofile/core' (early part) into oprofile/perf oprofile, ARM: Remove some goto statements oprofile, ARM: Rework op_create_counter() oprofile, ARM: Use oprofile_arch_exit() to cleanup on failure Merge branch 'oprofile/perf' into oprofile/core oprofile: disable write access to oprofilefs while profiler is running Merge remote branch 'tip/perf/core' into oprofile/core oprofile: make !CONFIG_PM function stubs static inline Will Deacon (2): oprofile: don't call arch exit code from init code on failure ARM: oprofile: fix and simplify init/exit functions arch/arm/kernel/perf_event.c | 6 + arch/arm/oprofile/Makefile | 4 + arch/arm/oprofile/common.c | 311 +---------------------------------- arch/sh/Kconfig | 13 ++ arch/sh/kernel/perf_event.c | 18 ++ arch/sh/oprofile/Makefile | 4 + arch/sh/oprofile/common.c | 115 +++----------- arch/sh/oprofile/op_impl.h | 33 ---- arch/x86/oprofile/backtrace.c | 70 +++++++-- arch/x86/oprofile/nmi_int.c | 9 +- drivers/oprofile/oprof.c | 32 +--- drivers/oprofile/oprof.h | 2 +- drivers/oprofile/oprofile_files.c | 7 +- drivers/oprofile/oprofile_perf.c | 328 +++++++++++++++++++++++++++++++++++++ drivers/oprofile/oprofilefs.c | 54 +++---- include/linux/oprofile.h | 7 + include/linux/perf_event.h | 2 + kernel/perf_event.c | 5 + 18 files changed, 510 insertions(+), 510 deletions(-) delete mode 100644 arch/sh/oprofile/op_impl.h create mode 100644 drivers/oprofile/oprofile_perf.c -- Advanced Micro Devices, Inc. Operating System Research Center