perf diff: Add missing hists__init() call at tool start
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 <6e4ed0645dbf05e706dc43d69b381839dca8944b@intel.com>
Link: http://lkml.kernel.org/r/1414004561-22096-1-git-send-email-6e4ed0645dbf05e706dc43d69b381839dca8944b@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <293abb6b76d7791c0732cc517d38c4b5c734b87f@redhat.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs