/* Determine whether a counter is active. Based on gcc magic. Doesn't change at run-time.  */
static int counter_active(struct gcov_info *info, unsigned int type)
/* Determine whether a counter is active. Based on gcc magic. Doesn't change at run-time.  */
static int counter_active(struct gcov_info *info, unsigned int type)
{
	return (1 << type) & info->ctr_mask;
}