From: Arnaldo Carvalho de Melo Date: Wed, 26 May 2010 16:22:26 +0000 (-0300) Subject: perf tui: Reset use_browser if stdout is not a tty X-Git-Tag: v2.6.35-rc1~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62e3436b5f3461662929eae102beefbd12127cb1;p=pandora-kernel.git perf tui: Reset use_browser if stdout is not a tty The newt initialization routines weren't being called because the output was a file (perf annotate > /tmp/bla) but use_browser was still 1, because ~/.perfconfig had it as 'on', so, later on newt routines segfaulted. Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Tom Zanussi LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed