summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2013-08-05 17:22:35 +0400
committerGabby Lee <galee@nvidia.com>2013-08-20 18:29:40 -0700
commit0fbe177ed0b5663e63ba97d4107a69a176a136aa (patch)
tree8c9fc7bb7866206fa43d4db68a9286637aa15c4d /include
parent6a064a8d39e806aaa7f8f1149e9ddc4481366aff (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: Ic50e4e29a6066cee49c60cb435ab8f46c4748cbc Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/258202 GVS: Gerrit_Virtual_Submit Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com> 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.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;