]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/blobdiff - drivers/misc/tegra-profiler/comm.c
misc: tegra-profiler: add unwind reason codes
[sojka/nv-tegra/linux-3.10.git] / drivers / misc / tegra-profiler / comm.c
index 7c4b6fcb1a7af27a72e4eb10fb96d1baf5a7751e..2d70f6318d3e87d1ee587104a38ce3abd6547702 100644 (file)
@@ -370,6 +370,7 @@ init_mmap_hdr(struct quadd_mmap_rb_info *mmap_rb,
        mmap_hdr->magic = QUADD_MMAP_HEADER_MAGIC;
        mmap_hdr->version = QUADD_MMAP_HEADER_VERSION;
        mmap_hdr->cpu_id = cpu_id;
+       mmap_hdr->samples_version = QUADD_SAMPLES_VERSION;
 
        rb_hdr = (struct quadd_ring_buffer_hdr *)(mmap_hdr + 1);
        rb->rb_hdr = rb_hdr;