Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751616Ab2E2EXQ (ORCPT ); Tue, 29 May 2012 00:23:16 -0400 Received: from mail-gh0-f174.google.com ([209.85.160.174]:51251 "EHLO mail-gh0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758Ab2E2EXO (ORCPT ); Tue, 29 May 2012 00:23:14 -0400 From: Namhyung Kim To: Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Pekka Enberg , LKML Subject: [PATCH RESEND 1/7] perf ui: Make --stdio default when TUI is not supported Date: Tue, 29 May 2012 13:22:56 +0900 Message-Id: <1338265382-6872-2-git-send-email-namhyung@gmail.com> X-Mailer: git-send-email 1.7.9.2 In-Reply-To: <1338265382-6872-1-git-send-email-namhyung@gmail.com> References: <1338265382-6872-1-git-send-email-namhyung@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 952 Lines: 30 The commit dc41b9b8f02db ("perf ui: Change fallback policy of setup_browser") changed default behavior of the function but missed setting the use_browser variable to 0 accidently. So perf report ends up doing nothing in such cases. Fix it. Signed-off-by: Namhyung Kim --- tools/perf/ui/setup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/ui/setup.c b/tools/perf/ui/setup.c index 9f5f888f73e3..791fb15ce350 100644 --- a/tools/perf/ui/setup.c +++ b/tools/perf/ui/setup.c @@ -22,6 +22,7 @@ void setup_browser(bool fallback_to_pager) break; /* fall through */ default: + use_browser = 0; if (fallback_to_pager) setup_pager(); break; -- 1.7.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/