• Arnaldo Carvalho de Melo's avatar
    perf session: Don't count per evsel events · c2329ade
    Arnaldo Carvalho de Melo authored
    PERF_RECORD_SAMPLE was not being counted here and is the only per-evsel
    thing anyway, the other events were not mapping to a evsel.
    
    With this we don't require that evsels used with a perf_session need to
    have space for hists, like the ones in annotate, report, top.
    
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Borislav Petkov <bp@suse.de>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Don Zickus <dzickus@redhat.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Jean Pihet <jean.pihet@linaro.org>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Link: http://lkml.kernel.org/n/tip-kzchpz0l1mhrsfpkirz086m2@git.kernel.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    c2329ade
session.c 40.9 KB