summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2014-01-27 01:28:57 +0400
committerRiham Haidar <rhaidar@nvidia.com>2014-02-19 16:09:40 -0800
commitdc6c3f57c97814269da805492139e95056c48579 (patch)
tree1be36ec5fc4320df71c8c46407ed1224344c45c8 /include
parent7e3458cef594184e0244627a3f40f4a22cfeedf5 (diff)
misc: tegra-profiler: add thread state field
Tegra Profiler: state, in_interrupt fields were added into samples Bug 1447655 Change-Id: I082b63ff854da34df45160a6f07dbe5ee73ca7f7 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/365867 (cherry picked from commit 868545a99d8385a850fc87a4ad97dc8fb44a6e76) Reviewed-on: http://git-master/r/368212 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 277fc93241e4..28924f51eaf8 100644
--- a/include/linux/tegra_profiler.h
+++ b/include/linux/tegra_profiler.h
@@ -19,7 +19,7 @@
#include <linux/ioctl.h>
-#define QUADD_SAMPLES_VERSION 18
+#define QUADD_SAMPLES_VERSION 19
#define QUADD_IO_VERSION 9
#define QUADD_IO_VERSION_DYNAMIC_RB 5
@@ -30,6 +30,7 @@
#define QUADD_SAMPLE_VERSION_THUMB_MODE_FLAG 17
#define QUADD_SAMPLE_VERSION_GROUP_SAMPLES 18
+#define QUADD_SAMPLE_VERSION_THREAD_STATE_FLD 19
#define QUADD_MAX_COUNTERS 32
#define QUADD_MAX_PROCESS 64
@@ -140,7 +141,9 @@ struct quadd_sample_data {
user_mode:1,
lp_mode:1,
thumb_mode:1,
- reserved:7;
+ state:1,
+ in_interrupt:1,
+ reserved:5;
u8 callchain_nr;
u32 events_flags;