summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2014-03-06 12:59:39 +0400
committerGabby Lee <galee@nvidia.com>2014-04-24 18:14:40 -0700
commit2c2b7e2d82825f04b07f437aa75eb2c35d9bb654 (patch)
treeade42e3cd6eb990201e56cdb2c4457b2071b8cdc /include
parent3f28f2000334956c7548b0259a56d0988e35ede1 (diff)
misc: tegra-profiler: Add t132 support
Tegra Profiler: add support for t132. Bug 1475730 Change-Id: Id54fe70713c038757e3dfab9fa8b35682f50da73 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/378297 (cherry picked from commit a4d17db2f23bb9cd542f70a83fce8cb31a4b2565) Reviewed-on: http://git-master/r/398122 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/tegra_profiler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h
index 9f849a46fd3a..d56cf0f288eb 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 22
+#define QUADD_SAMPLES_VERSION 23
#define QUADD_IO_VERSION 10
#define QUADD_IO_VERSION_DYNAMIC_RB 5
@@ -33,6 +33,7 @@
#define QUADD_SAMPLE_VERSION_GROUP_SAMPLES 18
#define QUADD_SAMPLE_VERSION_THREAD_STATE_FLD 19
#define QUADD_SAMPLE_VERSION_BT_UNWIND_TABLES 22
+#define QUADD_SAMPLE_VERSION_SUPPORT_IP64 23
#define QUADD_MAX_COUNTERS 32
#define QUADD_MAX_PROCESS 64
@@ -132,8 +133,6 @@ enum quadd_cpu_mode {
QUADD_CPU_MODE_NONE,
};
-typedef u32 quadd_bt_addr_t;
-
#pragma pack(push, 1)
#define QUADD_SAMPLE_UNW_METHOD_SHIFT 0
@@ -162,6 +161,8 @@ enum {
QUADD_URC_UNSUPPORTED_PR,
};
+#define QUADD_SAMPLE_ED_IP64 (1 << 0)
+
struct quadd_sample_data {
u64 ip;
u32 pid;