summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2014-01-27 14:08:51 +0400
committerGabby Lee <galee@nvidia.com>2014-02-12 20:47:25 -0800
commitdbd2e0e3392861eeffff087b577cda0fa501a36b (patch)
tree28b7a400583c624472c216d68862c90fe537bae5 /include
parentbbbdb78281524c75706d6b4162182a514355a1a0 (diff)
misc: tegra-profiler: reduce size of sample
Tegra Profiler: reduce size of sample magic number was removed Bug 1447839 Change-Id: I14a23f668eab575add872daa35f27653eff643ff Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/365904 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Daniel Horowitz <dhorowitz@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_profiler.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h
index 15205e777550..9a7299e457ed 100644
--- a/include/linux/tegra_profiler.h
+++ b/include/linux/tegra_profiler.h
@@ -19,7 +19,7 @@
#include <linux/ioctl.h>
-#define QUADD_SAMPLES_VERSION 20
+#define QUADD_SAMPLES_VERSION 21
#define QUADD_IO_VERSION 9
#define QUADD_IO_VERSION_DYNAMIC_RB 5
@@ -236,12 +236,10 @@ struct quadd_header_data {
u16 extra_length;
};
-#define QUADD_RECORD_MAGIC 0x335577aa
-
struct quadd_record_data {
- u32 magic; /* temporary, it will be removed later */
u8 record_type;
+ /* sample: it should be the biggest size */
union {
struct quadd_sample_data sample;
struct quadd_mmap_data mmap;