mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wu Zhangjin <wuzhangjin@gmail.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: jcm@redhat.com, Wu Zhangjin <wuzj@lemote.com>,
	Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@elte.hu>
Subject: [PATCH -rt] hwlat_detector: add dependence of RING_BUFFER
Date: Fri, 26 Jun 2009 15:47:26 +0800	[thread overview]
Message-ID: <b9596d9e4b8ddcdb2e710873fb2086d3370ed9ff.1246002312.git.wuzj@lemote.com> (raw)
In-Reply-To: <e1ad7dd41b964ad729595fc97ad8c4b26a119de4.1246002312.git.wuzj@lemote.com>

From: Wu Zhangjin <wuzj@lemote.com>

driver/misc/hwlat_detector.c needs the ring_buffer_* functions, which
are defined in kernel/trace/ring_buffer.c, so, hwlat_detector is
dependent on RING_BUFFER.

Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
---
 drivers/misc/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index 174b99e..557cbb1 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -78,7 +78,7 @@ config IBM_ASM
 
 config HWLAT_DETECTOR
 	tristate "Testing module to detect hardware-induced latencies"
-	depends on DEBUG_FS
+	depends on DEBUG_FS && RING_BUFFER
 	default m
 	---help---
 	  A simple hardware latency detector. Use this module to detect
-- 
1.6.0.4


      reply	other threads:[~2009-06-26  7:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-26  7:46 [PATCH -rt] softirq: fix undefined rate_limit in softirq_check_pending_idle Wu Zhangjin
2009-06-26  7:47 ` Wu Zhangjin [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=b9596d9e4b8ddcdb2e710873fb2086d3370ed9ff.1246002312.git.wuzj@lemote.com \
    --to=wuzhangjin@gmail.com \
    --cc=jcm@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=wuzj@lemote.com \
    /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

all inboxes | Powered by JetHome®