From: Arnaldo Carvalho de Melo Date: Wed, 9 Jun 2010 10:13:16 +0000 (-0300) Subject: perf record: Don't call newt functions when not initialized X-Git-Tag: v2.6.35-rc4~45^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d90f2e707e75afdb6b644f774cf5e54dc9c33fc;p=pandora-kernel.git perf record: Don't call newt functions when not initialized When processing events we want to give visual feedback to the user when using the newt browser, so there are ui_progress calls in __perf_session__process_events, but those should check if newt is being used. Reported-by: Srikar Dronamraju Tested-by: Srikar Dronamraju Cc: Ananth N Mavinakayanahalli Cc: Frédéric Weisbecker Cc: Ingo Molnar Cc: Masami Hiramatsu , Cc: Peter Zijlstra Cc: Srikar Dronamraju Cc: Stephane Eranian Cc: Tom Zanussi LKML-Reference: <20100609123530.GB9471@ghostprotocols.net> Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed