summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2014-01-27 01:28:57 +0400
committerGabby Lee <galee@nvidia.com>2014-02-12 20:46:41 -0800
commit868545a99d8385a850fc87a4ad97dc8fb44a6e76 (patch)
treeefc445bfebe68ebf22bbf4e0ba61c2f6e4c83ff4 /include
parentf926e880ddaf6197e988b024ad9ef962748efc5e (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 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Daniel Horowitz <dhorowitz@nvidia.com> Reviewed-by: Gabby Lee <galee@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;