diff options
author | Igor Nabirushkin <inabirushkin@nvidia.com> | 2013-07-31 15:17:47 +0400 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2013-08-12 18:40:07 -0700 |
commit | 65234ad36d4c8eeef7753643d6cb2cf0c7f77976 (patch) | |
tree | c00a6fb3ba9b0644be8068f559ea840226e6e44e /include | |
parent | 377760a49243382f6397b17ea799fc9cd2dbc79b (diff) |
misc: tegra-profiler: allocate memory on demand
Tegra Profiler misc driver:
allocate memory on demand from the user space, not on boot.
Bug 1312406
Change-Id: Idc5e8365e38b7faca236e011d9e665f53ac992e6
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/256309
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/tegra_profiler.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h index 609a78feadfe..e8f17ad75792 100644 --- a/include/linux/tegra_profiler.h +++ b/include/linux/tegra_profiler.h @@ -20,7 +20,9 @@ #include <linux/ioctl.h> #define QUADD_SAMPLES_VERSION 16 -#define QUADD_IO_VERSION 4 +#define QUADD_IO_VERSION 5 + +#define QUADD_IO_VERSION_DYNAMIC_RB 5 #define QUADD_MAX_COUNTERS 32 #define QUADD_MAX_PROCESS 64 @@ -227,6 +229,10 @@ struct quadd_record_data { #define QUADD_MAX_PACKAGE_NAME 320 +enum { + QUADD_PARAM_IDX_SIZE_OF_RB = 0, +}; + struct quadd_parameters { u32 freq; u32 ma_freq; |