diff options
| author | Houston Hoffman <hhoffman@codeaurora.org> | 2017-01-13 12:43:48 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-01-30 20:09:35 -0800 |
| commit | e19920972e4f59abaad256d769ae7f46e0930a97 (patch) | |
| tree | 66e0f001f043e6a1b42539c155dd82f069b7dded | |
| parent | 9875826d52d06aa7c38e87ec6180a873815f7738 (diff) | |
qcacld-3.0: Initialize lock-stats feature
The lock stats feature will keep track of all initialized spinlocks.
The initialization and deinitialization functions are needed for
creating the tracking structures.
Change-Id: I69e08e85cb5105c9d5f3dae8b24121e2cb5726ff
CRs-Fixed: 1117098
| -rw-r--r-- | core/cds/src/cds_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/cds/src/cds_api.c b/core/cds/src/cds_api.c index bcf37ebba039..f94bb9fe8b41 100644 --- a/core/cds/src/cds_api.c +++ b/core/cds/src/cds_api.c @@ -89,6 +89,7 @@ void cds_sys_probe_thread_cback(void *pUserData); v_CONTEXT_t cds_init(void) { qdf_debugfs_init(); + qdf_lock_stats_init(); qdf_mem_init(); qdf_mc_timer_manager_init(); @@ -121,6 +122,7 @@ void cds_deinit(void) qdf_mc_timer_manager_exit(); qdf_mem_exit(); + qdf_lock_stats_deinit(); qdf_debugfs_exit(); gp_cds_context->qdf_ctx = NULL; |
