• Jiri Olsa's avatar
    perf report: Add --header/--header-only options · 5cfe2c82
    Jiri Olsa authored
    Currently the perf.data header is always displayed for stdio output,
    which is no always useful.
    
    Disabling header information by default and adding following options to
    control header output:
    
      --header      - display header information (old default)
      --header-only - display header information only w/o further
                      processing, forces stdio output
    Signed-off-by: default avatarJiri Olsa <jolsa@redhat.com>
    Acked-by: default avatarDavid Ahern <dsahern@gmail.com>
    Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lkml.kernel.org/r/1386583370-1699-2-git-send-email-jolsa@redhat.com
    [ Added single line explaining talking about the new --header* options,
      to address David Ahern comment; better man page entry for the new options,
      from Namhyung Kim ]
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    5cfe2c82
builtin-report.c 28.7 KB