diff options
| author | Igor Nabirushkin <inabirushkin@nvidia.com> | 2013-09-24 09:34:09 -0400 |
|---|---|---|
| committer | Igor Nabirushkin <inabirushkin@nvidia.com> | 2017-07-13 10:18:39 -0400 |
| commit | 1e8f234fcaf37c92e7ee95edcf90864aa53530d3 (patch) | |
| tree | d351e7544c6b620d93c1bad0b216c044d58d06fd /include/linux/tegra_profiler.h | |
| parent | 6e3a8c2427702aa34ed753d3aac6ce4908b4be20 (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
(cherry picked from commit 2513883dece333fa10f656dc3d354030c32dbfaa)
Diffstat (limited to 'include/linux/tegra_profiler.h')
| -rw-r--r-- | include/linux/tegra_profiler.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h index 2efa9c185..823b05e5a 100644 --- a/include/linux/tegra_profiler.h +++ b/include/linux/tegra_profiler.h | |||
| @@ -19,12 +19,14 @@ | |||
| 19 | 19 | ||
| 20 | #include <linux/ioctl.h> | 20 | #include <linux/ioctl.h> |
| 21 | 21 | ||
| 22 | #define QUADD_SAMPLES_VERSION 16 | 22 | #define QUADD_SAMPLES_VERSION 17 |
| 23 | #define QUADD_IO_VERSION 6 | 23 | #define QUADD_IO_VERSION 6 |
| 24 | 24 | ||
| 25 | #define QUADD_IO_VERSION_DYNAMIC_RB 5 | 25 | #define QUADD_IO_VERSION_DYNAMIC_RB 5 |
| 26 | #define QUADD_IO_VERSION_RB_MAX_FILL_COUNT 6 | 26 | #define QUADD_IO_VERSION_RB_MAX_FILL_COUNT 6 |
| 27 | 27 | ||
| 28 | #define QUADD_SAMPLE_VERSION_THUMB_MODE_FLAG 17 | ||
| 29 | |||
| 28 | #define QUADD_MAX_COUNTERS 32 | 30 | #define QUADD_MAX_COUNTERS 32 |
| 29 | #define QUADD_MAX_PROCESS 64 | 31 | #define QUADD_MAX_PROCESS 64 |
| 30 | 32 | ||
| @@ -66,7 +68,8 @@ | |||
| 66 | 68 | ||
| 67 | #define QUADD_HRT_SCHED_IN_FUNC "finish_task_switch" | 69 | #define QUADD_HRT_SCHED_IN_FUNC "finish_task_switch" |
| 68 | 70 | ||
| 69 | #define QM_TEGRA_POWER_CLUSTER_LP (1 << 29) /* LP CPU */ | 71 | #define QUADD_CPUMODE_TEGRA_POWER_CLUSTER_LP (1 << 29) /* LP CPU */ |
| 72 | #define QUADD_CPUMODE_THUMB (1 << 30) /* thumb mode */ | ||
| 70 | 73 | ||
| 71 | enum quadd_events_id { | 74 | enum quadd_events_id { |
| 72 | QUADD_EVENT_TYPE_CPU_CYCLES = 0, | 75 | QUADD_EVENT_TYPE_CPU_CYCLES = 0, |
