diff options
author | Igor Nabirushkin <inabirushkin@nvidia.com> | 2013-09-24 18:22:09 +0400 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2013-10-31 03:27:34 -0700 |
commit | 82f4bb8ec2707f0b59cd74ba0113c40c3cb70e56 (patch) | |
tree | ffa23218c69e4439ce2eb4a6645ff78498848386 /include/linux/tegra_profiler.h | |
parent | 56eaf2dab14ae953b3a03ab34ac70f85ae5ca70c (diff) |
misc: tegra-profiler: add /proc/quadd/status
Add /proc/quadd/status
It allows users to see current status of the Tegra Profiler.
Bug 1374376
Change-Id: I6b770b38c31b5a46ce287ad5107707adb39bd253
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/298733
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Diffstat (limited to 'include/linux/tegra_profiler.h')
-rw-r--r-- | include/linux/tegra_profiler.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/tegra_profiler.h b/include/linux/tegra_profiler.h index 823b05e5a6f8..1fda9594ce94 100644 --- a/include/linux/tegra_profiler.h +++ b/include/linux/tegra_profiler.h @@ -20,10 +20,11 @@ #include <linux/ioctl.h> #define QUADD_SAMPLES_VERSION 17 -#define QUADD_IO_VERSION 6 +#define QUADD_IO_VERSION 7 #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_SAMPLE_VERSION_THUMB_MODE_FLAG 17 @@ -289,8 +290,12 @@ struct quadd_comm_cap { enum { QUADD_MOD_STATE_IDX_RB_MAX_FILL_COUNT = 0, + QUADD_MOD_STATE_IDX_STATUS, }; +#define QUADD_MOD_STATE_STATUS_IS_ACTIVE (1 << 0) +#define QUADD_MOD_STATE_STATUS_IS_AUTH_OPEN (1 << 1) + struct quadd_module_state { u64 nr_all_samples; u64 nr_skipped_samples; |