added new DAPL_DBG_TYPE level of 0x2000000
that will print IA stats (non-zero) during dat_ia_close
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
if (g_dapl_dbg_type & DAPL_DBG_TYPE_DIAG_ERRS)
dapl_stop_diag_cntrs(dh);
+ if (g_dapl_dbg_type & DAPL_DBG_TYPE_IA_STATS)
+ dapl_print_counter_str(dh, DCNT_IA_ALL_COUNTERS, 1, "_IA");
if (g_dapl_dbg_type & DAPL_DBG_TYPE_CM_STATS)
dapl_print_counter_str(dh, DCNT_IA_ALL_COUNTERS, 1, "_CM");
else if (g_dapl_dbg_type & DAPL_DBG_TYPE_CM_ERRS)
DAPL_DBG_TYPE_DIAG_ERRS = 0x400000,
DAPL_DBG_TYPE_SYS_WARN = 0x800000,
DAPL_DBG_TYPE_VER = 0x1000000,
+ DAPL_DBG_TYPE_IA_STATS = 0x2000000,
} DAPL_DBG_TYPE;