summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2013-09-24 17:34:09 +0400
committerHarry Hong <hhong@nvidia.com>2013-12-10 16:22:05 -0800
commit1e5922b8fb4bfe1a766391fdf9a9803b0dd68827 (patch)
tree8777b703d3622218be54c017f14c5cbcfea87496 /include
parentc593b1898f2bb6b5dac3e9cccafebad2c97c9f85 (diff)
misc: tegra-profiler: add thumb flag into samples
Tegra Profiler misc driver: thumb mode flag was added into samples Bug 1374335 Change-Id: If1a6b7e57071f6c9d645bc790e24cd1e3e405b6f Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/324082 (cherry picked from commit 293d786bcb5211333e269f61d8d23e286ee3c28b) Reviewed-on: http://git-master/r/340012 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.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h
index 2efa9c185e6c..823b05e5a6f8 100644
--- a/include/linux/tegra_profiler.h
+++ b/include/linux/tegra_profiler.h
@@ -19,12 +19,14 @@
#include <linux/ioctl.h>
-#define QUADD_SAMPLES_VERSION 16
+#define QUADD_SAMPLES_VERSION 17
#define QUADD_IO_VERSION 6
#define QUADD_IO_VERSION_DYNAMIC_RB 5
#define QUADD_IO_VERSION_RB_MAX_FILL_COUNT 6
+#define QUADD_SAMPLE_VERSION_THUMB_MODE_FLAG 17
+
#define QUADD_MAX_COUNTERS 32
#define QUADD_MAX_PROCESS 64
@@ -66,7 +68,8 @@
#define QUADD_HRT_SCHED_IN_FUNC "finish_task_switch"
-#define QM_TEGRA_POWER_CLUSTER_LP (1 << 29) /* LP CPU */
+#define QUADD_CPUMODE_TEGRA_POWER_CLUSTER_LP (1 << 29) /* LP CPU */
+#define QUADD_CPUMODE_THUMB (1 << 30) /* thumb mode */
enum quadd_events_id {
QUADD_EVENT_TYPE_CPU_CYCLES = 0,