Handle separate functons for retrieving core stats and info.

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk
2019-09-02 09:14:53 -04:00
parent 1abb1e7c72
commit 39a3d04c93
5 changed files with 12 additions and 13 deletions

View File

@@ -1909,7 +1909,7 @@ int cache_mngt_get_core_info(struct kcas_core_info *info)
goto unlock;
}
result = ocf_core_get_stats(core, &info->stats);
result = ocf_core_get_info(core, &info->info);
if (result)
goto unlock;