diff options
| author | Kan Liang <[email protected]> | 2014-10-22 19:02:41 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-10-22 19:31:06 +0000 |
| commit | 9ab1f50876dbb8b962db058259be7aae920d4c25 (patch) | |
| tree | 942723e8fb014c5bb0f74afb630d033ff36fd0b6 /tools/perf/scripts/python/futex-contention.py | |
| parent | Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-9ab1f50876dbb8b962db058259be7aae920d4c25.tar.gz kernel-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 <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
