diff options
author | Igor Nabirushkin <inabirushkin@nvidia.com> | 2013-10-24 17:23:11 +0400 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-11-07 12:12:12 -0800 |
commit | 22b4513dd20785fa718250f8bd0e84711acf2cd5 (patch) | |
tree | 1d26d10fde5c84ca75da45bdbc63669b936ce7f3 /include | |
parent | 14239d7105ab0d71cf307d3ef7a88a195f63408d (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/309778
(cherry picked from commit 1a4a86d3faf8cd9a38cf80ed06f6a760264638be)
Reviewed-on: http://git-master/r/326028
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_profiler.h | 9 |
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, |