FreeBSD/sys/dev/hwpmc/hwpmc_amd.c
/*
 * Retrieve a configured PMC pointer from hardware state.
 */
Retrieve a configured PMC pointer from hardware state.
Retrieve a configured PMC pointer from hardware state .
static int
amd_get_config(int cpu, int ri, struct pmc **ppm)
{
	*ppm = amd_pcpu[cpu]->pc_amdpmcs[ri].phw_pmc;
	return 0;
}
static int amd_get_config ( int cpu , int ri , struct pmc * * ppm ) { * ppm = amd_pcpu [ cpu ] -> pc_amdpmcs [ ri ] . phw_pmc ; return 0 ; }
Retrieve a configured PMC pointer from hardware state.
Retrieve a configured PMC pointer from hardware state .