From: tip-bot for Christian Borntraeger <borntraeger@de.ibm.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@redhat.com,
robert.richter@amd.com, rostedt@goodmis.org, tglx@linutronix.de,
borntraeger@de.ibm.com, mingo@elte.hu
Subject: [tip:tracing/core] oprofile: fix oprofile regression: select RING_BUFFER_ALLOW_SWAP
Date: Thu, 17 Sep 2009 20:16:06 GMT [thread overview]
Message-ID: <tip-9a5963eb494c8a7be65199e15854551df7d2d939@git.kernel.org> (raw)
In-Reply-To: <200909162156.49239.borntraeger@de.ibm.com>
Commit-ID: 9a5963eb494c8a7be65199e15854551df7d2d939
Gitweb: http://git.kernel.org/tip/9a5963eb494c8a7be65199e15854551df7d2d939
Author: Christian Borntraeger <borntraeger@de.ibm.com>
AuthorDate: Wed, 16 Sep 2009 21:56:49 +0200
Committer: Steven Rostedt <rostedt@goodmis.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@de.ibm.com>
LKML-Reference: <200909162156.49239.borntraeger@de.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Robert Richter <robert.richter@amd.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.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,
prev parent reply other threads:[~2009-09-17 20:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-16 19:56 [PATCH] Fix oprofile regression: select RING_BUFFER_ALLOW_SWAP Christian Borntraeger
2009-09-16 20:11 ` Steven Rostedt
2009-09-16 20:54 ` Robert Richter
2009-09-17 20:16 ` tip-bot for Christian Borntraeger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tip-9a5963eb494c8a7be65199e15854551df7d2d939@git.kernel.org \
--to=borntraeger@de.ibm.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=mingo@redhat.com \
--cc=robert.richter@amd.com \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox