summaryrefslogtreecommitdiff
path: root/include/linux/tegra_profiler.h
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2013-07-31 15:17:47 +0400
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-16 17:40:13 -0700
commit08728775b30545682a2886ba3a3b1fdc24e95c22 (patch)
tree4e7304d8bdbd5b6750d1942a8d01072925027621 /include/linux/tegra_profiler.h
parent29176b365c414322b642a2afdf6801978ef9eea5 (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 (cherry picked from commit 65234ad36d4c8eeef7753643d6cb2cf0c7f77976) Reviewed-on: http://git-master/r/268513 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com>
Diffstat (limited to 'include/linux/tegra_profiler.h')
-rw-r--r--include/linux/tegra_profiler.h8
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;