diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2015-12-09 11:11:29 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-12-09 13:41:59 -0300 |
commit | 17577decb2ddae28f5a449ddb79cf0ed3e2312c5 (patch) | |
tree | 68df3f39d01a6c06299d966ae1f815f52dfac584 /firmware/edgeport | |
parent | 544c2ae7b1a794ad0bc5ec24d832ab5658d5aef6 (diff) | |
download | op-kernel-dev-17577decb2ddae28f5a449ddb79cf0ed3e2312c5.zip op-kernel-dev-17577decb2ddae28f5a449ddb79cf0ed3e2312c5.tar.gz |
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 <masami.hiramatsu.pt@hitachi.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20151209021129.10245.28710.stgit@localhost.localdomain
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'firmware/edgeport')
0 files changed, 0 insertions, 0 deletions