diff options
author | Igor Nabirushkin <inabirushkin@nvidia.com> | 2013-10-24 15:12:53 +0400 |
---|---|---|
committer | Harry Hong <hhong@nvidia.com> | 2013-12-10 16:23:02 -0800 |
commit | b8d7347b29a301713bac8f044bfbfa30ae1c6d31 (patch) | |
tree | baf4863833b90771eae54fe3f2c02a5f65489108 /include | |
parent | 64bafeb857ee6da6a27aed623535b0a630da53eb (diff) |
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/324091
(cherry picked from commit f7213f6e694089f866ccfcbca02c1e61648048db)
Reviewed-on: http://git-master/r/340016
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Diffstat (limited to 'include')
-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, |