[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1321913788-2867-1-git-send-email-dsahern@gmail.com>
Date: Mon, 21 Nov 2011 15:16:28 -0700
From: David Ahern <dsahern@...il.com>
To: acme@...stprotocols.net, linux-kernel@...r.kernel.org
Cc: mingo@...e.hu, peterz@...radead.org, fweisbec@...il.com,
David Ahern <dsahern@...il.com>
Subject: [PATCH] perf tool: reset use_browser when compiled without NEWT
e.g., when using
make NO_NEWT=yes ...
or if newt-devel is not installed
Signed-off-by: David Ahern <dsahern@...il.com>
---
tools/perf/util/cache.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/perf/util/cache.h b/tools/perf/util/cache.h
index fc5e5a0..9d7612a 100644
--- a/tools/perf/util/cache.h
+++ b/tools/perf/util/cache.h
@@ -36,6 +36,7 @@ extern int use_browser;
#ifdef NO_NEWT_SUPPORT
static inline void setup_browser(bool fallback_to_pager)
{
+ use_browser = 0;
if (fallback_to_pager)
setup_pager();
}
--
1.7.7.1
--
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