From: Kan Liang Date: Wed, 22 Oct 2014 19:02:41 +0000 (-0400) Subject: perf diff: Add missing hists__init() call at tool start X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~30^2~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab1f50876dbb8b962db058259be7aae920d4c25;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/1414004561-22096-1-git-send-email-kan.liang@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed