diff options
| author | Masami Hiramatsu <[email protected]> | 2015-12-09 02:11:29 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-12-09 16:41:59 +0000 |
| commit | 17577decb2ddae28f5a449ddb79cf0ed3e2312c5 (patch) | |
| tree | 68df3f39d01a6c06299d966ae1f815f52dfac584 /tools/perf/builtin-annotate.c | |
| parent | perf stat: Fix cmd_stat to release cpu_map (diff) | |
| download | kernel-17577decb2ddae28f5a449ddb79cf0ed3e2312c5.tar.gz kernel-17577decb2ddae28f5a449ddb79cf0ed3e2312c5.zip | |
perf hists: Fix hists_evsel to release hists
Since hists__init doesn't set the destructor of hists_evsel (which is an
extended evsel structure), when hists_evsel is released, the extended
part of the hists_evsel is not deleted (note that the hists_evsel object
itself is freed).
This fixes it to add a destructor for hists__evsel and to set it up.
Signed-off-by: Masami Hiramatsu <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[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 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
