/* gcov_info_reset - reset profiling data to zero @info: profiling data set  */
void gcov_info_reset(struct gcov_info *info)
/* gcov_info_reset - reset profiling data to zero @info: profiling data set  */
void gcov_info_reset(struct gcov_info *info)
{
	unsigned int active = num_counter_active(info);
	unsigned int i;
	for (i = 0; i < active; i++) {
		memset(info->counts[i].values, 0,
		       info->counts[i].num * sizeof(gcov_type));
	}
}