diff options
author | Jiri Olsa <jolsa@kernel.org> | 2014-10-26 23:44:04 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-11-06 17:42:47 -0300 |
commit | cdae2d1e936457bf72673cb77e7f5f4b9d4c451e (patch) | |
tree | 9d780648f08d0f385bb63480b0b0d030f72fca4a /lib | |
parent | 416c419cc3799ddf7ea467c9adcb4cd038bd94a4 (diff) | |
download | linux-stable-cdae2d1e936457bf72673cb77e7f5f4b9d4c451e.tar.gz linux-stable-cdae2d1e936457bf72673cb77e7f5f4b9d4c451e.tar.bz2 linux-stable-cdae2d1e936457bf72673cb77e7f5f4b9d4c451e.zip |
perf script perl: Removing event cache as it's no longer needed
We don't need to maintain cache of 'struct event_format' objects.
Currently the 'struct perf_evsel' holds this reference already.
Adding events_defined bitmap to keep track of defined events, which is
much cheaper than array of pointers.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1414363445-22370-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions