]> git.baikalelectronics.ru Git - kernel.git/commit
perf session: Don't count per evsel events
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 10 Oct 2014 18:12:15 +0000 (15:12 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 10 Oct 2014 18:15:32 +0000 (15:15 -0300)
commit20533aa4fb004e7ca50fa637b88df152e9bdf366
tree41b720af62f440d039a0488a0305a256bee4cb3b
parentbd9cb90324554e6f44976c0c53033ffcbec2541d
perf session: Don't count per evsel events

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.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c