lkml.org 
[lkml]   [2011]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf tool: reset use_browser when compiled without NEWT
Hi Arnaldo:

didn't see this one in your queue or a response. Do you agree this is
needed?

On 11/21/2011 03:16 PM, David Ahern wrote:
> e.g., when using
> make NO_NEWT=yes ...
> or if newt-devel is not installed
>
> Signed-off-by: David Ahern <dsahern@gmail.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();
> }


\
 
 \ /
  Last update: 2011-11-28 18:01    [W:0.039 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site