Added tracing functionality

Signed-off-by: Tomasz Rybicki <tomasz.rybicki@intel.com>
This commit is contained in:
Tomasz Rybicki
2018-12-20 14:10:21 +01:00
parent 2af3b81370
commit 1156531590
11 changed files with 537 additions and 16 deletions

View File

@@ -17,6 +17,12 @@ struct ocf_queue {
struct list_head io_list;
env_spinlock io_list_lock;
/* Tracing reference counter */
env_atomic64 trace_ref_cntr;
/* Tracing stop request */
env_atomic trace_stop;
void *priv;
};