diff options
author | Kan Liang <kan.liang@intel.com> | 2014-10-22 21:02:41 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-10-22 21:31:06 +0200 |
commit | 9ab1f50876dbb8b962db058259be7aae920d4c25 (patch) | |
tree | 942723e8fb014c5bb0f74afb630d033ff36fd0b6 /tools/cgroup | |
parent | Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
download | linux-9ab1f50876dbb8b962db058259be7aae920d4c25.tar.xz linux-9ab1f50876dbb8b962db058259be7aae920d4c25.zip |
perf diff: Add missing hists__init() call at tool start
It also uses hists/hist_entries, hists__init() should be called before
creating any evsels.
Otherwise no extra space will be allocated per perf_evsel nor this space
will be initialized when allocating a new perf_evsel instance, resulting
in reads/writes to non allocated space, oops. Fix it.
Signed-off-by: Kan Liang <kan.liang@intel.com>
Link: http://lkml.kernel.org/r/1414004561-22096-1-git-send-email-kan.liang@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/cgroup')
0 files changed, 0 insertions, 0 deletions