]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - tools/perf/util/session.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[karo-tx-linux.git] / tools / perf / util / session.c
index 002ebbf59f48e84aa69898de786b6227e2402ad7..9412e3b05f6888c9504c7ab6b3dd0effe73de627 100644 (file)
@@ -140,6 +140,7 @@ struct perf_session *perf_session__new(const char *filename, int mode,
        INIT_LIST_HEAD(&self->ordered_samples.sample_cache);
        INIT_LIST_HEAD(&self->ordered_samples.to_free);
        machine__init(&self->host_machine, "", HOST_KERNEL_ID);
+       hists__init(&self->hists);
 
        if (mode == O_RDONLY) {
                if (perf_session__open(self, force) < 0)