• Jiri Olsa's avatar
    perf report: Fix perf_session__delete removal · d4ae0a6f
    Jiri Olsa authored
    There's no point of having out_delete label with perf_session__delete
    call within __cmd_report function, because it's called at the end of the
    cmd_report function.
    
    The speed up due to commenting out the perf_session__delete at the end
    does not seem relevant anymore. Measured speedup for ~1GB data file with
    222466 FORKS events is around 0.5%.
    
      $ perf report -i perf.data.delete -P perf_session__delete -s parent
    
      +  99.51%  [other]
      +   0.49%  perf_session__delete
    Signed-off-by: default avatarJiri Olsa <jolsa@redhat.com>
    Cc: Andi Kleen <ak@linux.intel.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/1372161253-22081-6-git-send-email-jolsa@redhat.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    d4ae0a6f
builtin-report.c 25.9 KB