diff options
author | Igor Nabirushkin <inabirushkin@nvidia.com> | 2013-09-24 15:46:16 +0400 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2013-10-25 01:12:29 -0700 |
commit | 98cde35dc30f9b00c79fac7b20f13fa7da869008 (patch) | |
tree | efa6c1e14208c74b56d036efba734442ccb154cf /include/linux/tegra_profiler.h | |
parent | 53860cb47fc86a3469e52dbf4477b5a9135ce78b (diff) |
misc: tegra-profiler: send buffer fill count
Tegra Profiler misc driver: transmit the maximum buffer
occupancy to the user space.
Bug 1374266
Change-Id: Id078083a5493552c1f3bb697a1d3e4a5504e3f82
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/298725
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/linux/tegra_profiler.h')
-rw-r--r-- | include/linux/tegra_profiler.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h index 5840ba3a8824..2efa9c185e6c 100644 --- a/include/linux/tegra_profiler.h +++ b/include/linux/tegra_profiler.h @@ -20,9 +20,10 @@ #include <linux/ioctl.h> #define QUADD_SAMPLES_VERSION 16 -#define QUADD_IO_VERSION 5 +#define QUADD_IO_VERSION 6 -#define QUADD_IO_VERSION_DYNAMIC_RB 5 +#define QUADD_IO_VERSION_DYNAMIC_RB 5 +#define QUADD_IO_VERSION_RB_MAX_FILL_COUNT 6 #define QUADD_MAX_COUNTERS 32 #define QUADD_MAX_PROCESS 64 @@ -283,6 +284,10 @@ struct quadd_comm_cap { u32 reserved[16]; /* reserved fields for future extensions */ }; +enum { + QUADD_MOD_STATE_IDX_RB_MAX_FILL_COUNT = 0, +}; + struct quadd_module_state { u64 nr_all_samples; u64 nr_skipped_samples; |