summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2013-10-24 17:23:11 +0400
committerHarry Hong <hhong@nvidia.com>2013-12-10 16:23:17 -0800
commit0b550db040aab353f7c8c998e042f797e81179d9 (patch)
tree12199f59a61a40181510ae90700550b4c7c4dee8 /include
parentb8d7347b29a301713bac8f044bfbfa30ae1c6d31 (diff)
misc: tegra-profiler: send mapped memory regions
Tegra Profiler: send information about mapped memory regions (on demand). Bug 1394970 Change-Id: Idf9a3c5d2d9fac0fd622f99bd226632c810a8ab6 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/324093 (cherry picked from commit 9b684c4808301c89c8d479d562afc5830ff3835a) Reviewed-on: http://git-master/r/340018 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_profiler.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h
index ed21f75e9556..b122b97dd521 100644
--- a/include/linux/tegra_profiler.h
+++ b/include/linux/tegra_profiler.h
@@ -20,12 +20,13 @@
#include <linux/ioctl.h>
#define QUADD_SAMPLES_VERSION 17
-#define QUADD_IO_VERSION 8
+#define QUADD_IO_VERSION 9
#define QUADD_IO_VERSION_DYNAMIC_RB 5
#define QUADD_IO_VERSION_RB_MAX_FILL_COUNT 6
#define QUADD_IO_VERSION_MOD_STATE_STATUS_FIELD 7
#define QUADD_IO_VERSION_BT_KERNEL_CTX 8
+#define QUADD_IO_VERSION_GET_MMAP 9
#define QUADD_SAMPLE_VERSION_THUMB_MODE_FLAG 17
@@ -236,9 +237,12 @@ struct quadd_record_data {
#define QUADD_MAX_PACKAGE_NAME 320
enum {
- QUADD_PARAM_IDX_SIZE_OF_RB = 0,
+ QUADD_PARAM_IDX_SIZE_OF_RB = 0,
+ QUADD_PARAM_IDX_EXTRA = 1,
};
+#define QUADD_PARAM_IDX_EXTRA_GET_MMAP (1 << 0)
+
struct quadd_parameters {
u32 freq;
u32 ma_freq;
@@ -281,6 +285,7 @@ enum {
};
#define QUADD_COMM_CAP_EXTRA_BT_KERNEL_CTX (1 << 0)
+#define QUADD_COMM_CAP_EXTRA_GET_MMAP (1 << 1)
struct quadd_comm_cap {
u32 pmu:1,