convert_dytc_to_profile
if (convert_dytc_to_profile(perfmode, &profile))
err = convert_dytc_to_profile(funcmode, perfmode, &profile);