summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2013-09-24 17:34:09 +0400
committerRiham Haidar <rhaidar@nvidia.com>2013-11-07 12:11:59 -0800
commitea3db32491e642e368a3d856b06798e6e1a2b498 (patch)
treebe4cf06cb191544e926f1e4f69ab40e431c70e70 /include
parent1f15e805f697b97bdbf5225f9fcce07fe1058c29 (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/309637 (cherry picked from commit fb840196820effd627abe7779907db1e7db60101) Reviewed-on: http://git-master/r/326020 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@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,