diff options
author | Jiri Olsa <[email protected]> | 2014-10-26 23:44:05 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-11-06 17:44:06 -0300 |
commit | adf5bcf39583c4db1bf30069f8957400e61ccb18 (patch) | |
tree | ecebfc2cdf1d556df36dbe87662b96e56d001dd7 /scripts/gdb/linux/proc.py | |
parent | cdae2d1e936457bf72673cb77e7f5f4b9d4c451e (diff) |
perf script python: 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 <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions