[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-9a5963eb494c8a7be65199e15854551df7d2d939@git.kernel.org>
Date: Thu, 17 Sep 2009 20:16:06 GMT
From: tip-bot for Christian Borntraeger <borntraeger@...ibm.com>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
robert.richter@....com, rostedt@...dmis.org, tglx@...utronix.de,
borntraeger@...ibm.com, mingo@...e.hu
Subject: [tip:tracing/core] oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP
Commit-ID: 9a5963eb494c8a7be65199e15854551df7d2d939
Gitweb: http://git.kernel.org/tip/9a5963eb494c8a7be65199e15854551df7d2d939
Author: Christian Borntraeger <borntraeger@...ibm.com>
AuthorDate: Wed, 16 Sep 2009 21:56:49 +0200
Committer: Steven Rostedt <rostedt@...dmis.org>
CommitDate: Thu, 17 Sep 2009 15:53:42 -0400
oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP
commit 85bac32c4a52c592b857f2c360cc5ec93a097d70
ring-buffer: only enable ring_buffer_swap_cpu when needed
broke oprofile (at least on s390, but likely on all platforms).
this patch lets oprofile select RING_BUFER_ALLOW_SWAP to make
ring_buffer_swap_cpu usable for oprofile.
Signed-off-by: Christian Borntraeger <borntraeger@...ibm.com>
LKML-Reference: <200909162156.49239.borntraeger@...ibm.com>
Cc: Ingo Molnar <mingo@...e.hu>
Cc: Robert Richter <robert.richter@....com>
Signed-off-by: Steven Rostedt <rostedt@...dmis.org>
---
arch/Kconfig | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index beea3cc..7f418bb 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -9,6 +9,7 @@ config OPROFILE
depends on TRACING_SUPPORT
select TRACING
select RING_BUFFER
+ select RING_BUFFER_ALLOW_SWAP
help
OProfile is a profiling system capable of profiling the
whole system, include the kernel, kernel modules, libraries,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists