summaryrefslogtreecommitdiff
path: root/include/linux/tegra_profiler.h
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2013-09-24 17:34:09 +0400
committerBharat Nihalani <bnihalani@nvidia.com>2013-10-31 03:27:16 -0700
commit56eaf2dab14ae953b3a03ab34ac70f85ae5ca70c (patch)
treed5272dcd1894904dd3e26fcde638832f7ce6c8cd /include/linux/tegra_profiler.h
parent391b4d9f0ce9dc2d0295db6e5bdcddb87119c2a1 (diff)
misc: tegra-profiler: add thumb flag into samples
Tegra Profiler misc driver: thumb mode flag was added into samples Bug 1374335 Change-Id: Ie80e6508ed2a35b73ca5e65fd31d41f99220a252 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/298731 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com>
Diffstat (limited to 'include/linux/tegra_profiler.h')
-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,