perf report: Print session information only if --stdio is given
authorNamhyung Kim <namhyung.kim@lge.com>
Fri, 20 Dec 2013 05:11:13 +0000 (14:11 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 Dec 2013 16:36:41 +0000 (13:36 -0300)
commit150e465ac99ed18fb9555c16e0def7ce01913a2a
tree40bd084ccbcbdcb3915c062cf1ff6fcce2a86d2f
parenta42101418072d3be357b534521be2849518611e6
perf report: Print session information only if --stdio is given

Move those print functions under "if (use_browser == 0)" so that they
don't interfere with TUI output.

Maybe they can handle other UIs later.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1387516278-17024-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c