diff options
author | Igor Nabirushkin <inabirushkin@nvidia.com> | 2013-10-24 15:12:53 +0400 |
---|---|---|
committer | Riham Haidar <rhaidar@nvidia.com> | 2013-11-07 12:12:09 -0800 |
commit | 14239d7105ab0d71cf307d3ef7a88a195f63408d (patch) | |
tree | bef763f3edf32eaa9dcb459b7327a041bf7d5de2 /include/linux | |
parent | a47bc6fd9fd38e7139f36f2686d9d8ad9e32eab3 (diff) |
misc: tegra-profiler: backtraces from the kernel context
Tegra Profiler: collect backtraces from the kernel context
Bug 1394804
Change-Id: I1db7435c9e1fc753dd8c02252076287572f5f5af
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/309768
(cherry picked from commit b5c40f131509f89609283a645f6e9d0b4abed365)
Reviewed-on: http://git-master/r/326027
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/tegra_profiler.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h index 1fda9594ce94..ed21f75e9556 100644 --- a/include/linux/tegra_profiler.h +++ b/include/linux/tegra_profiler.h @@ -20,11 +20,12 @@ #include <linux/ioctl.h> #define QUADD_SAMPLES_VERSION 17 -#define QUADD_IO_VERSION 7 +#define QUADD_IO_VERSION 8 #define QUADD_IO_VERSION_DYNAMIC_RB 5 #define QUADD_IO_VERSION_RB_MAX_FILL_COUNT 6 #define QUADD_IO_VERSION_MOD_STATE_STATUS_FIELD 7 +#define QUADD_IO_VERSION_BT_KERNEL_CTX 8 #define QUADD_SAMPLE_VERSION_THUMB_MODE_FLAG 17 @@ -275,6 +276,12 @@ struct quadd_events_cap { l2_icache_misses:1; }; +enum { + QUADD_COMM_CAP_IDX_EXTRA = 0, +}; + +#define QUADD_COMM_CAP_EXTRA_BT_KERNEL_CTX (1 << 0) + struct quadd_comm_cap { u32 pmu:1, power_rate:1, |