Lines Matching refs:perfdata

37 void dump_pmc_struct(struct perfmon_struct *perfdata);
38 void dump_hardware_pmc_struct(void *perfdata);
40 int pmc_profile(struct perfmon_struct *perfdata);
41 int pmc_set_general(struct perfmon_struct *perfdata);
42 int pmc_set_user_general(struct perfmon_struct *perfdata);
44 int pmc_timeslice_enable(struct perfmon_struct *perfdata);
45 int pmc_timeslice_disable(struct perfmon_struct *perfdata);
46 int pmc_timeslice_set(struct perfmon_struct *perfdata);
47 void pmc_dump_timeslice(struct perfmon_struct *perfdata);
305 void dump_pmc_struct(struct perfmon_struct *perfdata) in dump_pmc_struct() argument
307 unsigned int cpu = perfdata->vdata.pmc_info.cpu, i; in dump_pmc_struct()
321 perfdata->vdata.pmc_info.mode = perfmon_base.state; in dump_pmc_struct()
323 perfdata->vdata.pmc_info.pmc_base[i] = paca[cpu].pmc[i]; in dump_pmc_struct()
326 perfdata->vdata.pmc_info.pmc_cumulative[i] = paca[cpu].pmcc[i]; in dump_pmc_struct()
329 void dump_hardware_pmc_struct(void *perfdata) in dump_hardware_pmc_struct() argument
458 int pmc_profile(struct perfmon_struct *perfdata) in pmc_profile() argument
460 struct pmc_struct *pdata = &(perfdata->vdata.pmc); in pmc_profile()
507 pmc_trace_rec_type(perfdata->header.vdata.type); in pmc_profile()
508 pmc_configure((void *)perfdata); in pmc_profile()
509 smp_call_function(pmc_configure, (void *)perfdata, 0, 0); in pmc_profile()
514 int pmc_set_general(struct perfmon_struct *perfdata) in pmc_set_general() argument
535 pmc_trace_rec_type(perfdata->header.vdata.type); in pmc_set_general()
536 pmc_configure((void *)perfdata); in pmc_set_general()
537 smp_call_function(pmc_configure, (void *)perfdata, 0, 0); in pmc_set_general()
542 int pmc_set_user_general(struct perfmon_struct *perfdata) in pmc_set_user_general() argument
545 struct pmc_struct *pdata = &(perfdata->vdata.pmc); in pmc_set_user_general()
547 int pid = perfdata->header.vdata.pid; in pmc_set_user_general()
587 pmc_trace_rec_type(perfdata->header.vdata.type); in pmc_set_user_general()
588 pmc_configure((void *)perfdata); in pmc_set_user_general()
589 smp_call_function(pmc_configure, (void *)perfdata, 0, 0); in pmc_set_user_general()
610 struct perfmon_struct *perfdata = (struct perfmon_struct *)data; in pmc_configure() local
611 struct pmc_struct *pdata = &(perfdata->vdata.pmc); in pmc_configure()
671 struct perfmon_struct perfdata; in pmc_timeslice_tick() local
690 perfdata.vdata.pmc.pmc[i] = 0; in pmc_timeslice_tick()
693 perfdata.vdata.pmc.pmc[i+8] = in pmc_timeslice_tick()
699 pmc_configure((void *)&perfdata); in pmc_timeslice_tick()
704 int pmc_timeslice_set(struct perfmon_struct *perfdata) in pmc_timeslice_set() argument
710 slice = perfdata->header.vdata.slice; in pmc_timeslice_set()
718 pmc_timeslice_config[slice * 5 + 0] = perfdata->vdata.pmc.pmc[0]; in pmc_timeslice_set()
719 pmc_timeslice_config[slice * 5 + 1] = perfdata->vdata.pmc.pmc[1]; in pmc_timeslice_set()
720 pmc_timeslice_config[slice * 5 + 2] = perfdata->vdata.pmc.pmc[2]; in pmc_timeslice_set()
721 pmc_timeslice_config[slice * 5 + 3] = perfdata->vdata.pmc.pmc[3]; in pmc_timeslice_set()
722 pmc_timeslice_config[slice * 5 + 4] = perfdata->vdata.pmc.pmc[4]; in pmc_timeslice_set()
725 int pmc_timeslice_enable(struct perfmon_struct *perfdata) in pmc_timeslice_enable() argument
786 int pmc_timeslice_disable(struct perfmon_struct *perfdata) in pmc_timeslice_disable() argument
791 void pmc_dump_timeslice(struct perfmon_struct *perfdata) in pmc_dump_timeslice() argument