summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2014-01-27 13:38:05 +0400
committerGabby Lee <galee@nvidia.com>2014-02-12 20:47:15 -0800
commitbbbdb78281524c75706d6b4162182a514355a1a0 (patch)
tree2b0749b65ad0682f56052fa0e37c118d8a1bc93e /include
parent5cefbee263b6616ef748cbd848bb14752da36c52 (diff)
misc: tegra-profiler: add user_mode flag
Tegra Profiler: add user_mode flag into mmap sample Bug 1447904 Change-Id: Ieba1025abac78b2682c0445e608fd0137dbe2379 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/365901 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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h
index fd9a2b63946e..15205e777550 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 19
+#define QUADD_SAMPLES_VERSION 20
#define QUADD_IO_VERSION 9
#define QUADD_IO_VERSION_DYNAMIC_RB 5
@@ -151,10 +151,11 @@ struct quadd_sample_data {
struct quadd_mmap_data {
u32 pid;
+
u64 addr;
u64 len;
- u32 pgoff;
+ u8 user_mode:1;
u16 filename_length;
};