Searched refs:kpcd (Results 1 – 1 of 1) sorted by relevance
49 kperf_kpc_thread_sample(struct kpcdata *kpcd, int sample_config) in kperf_kpc_thread_sample() argument53 kpcd->running = kpc_get_running(); in kperf_kpc_thread_sample()55 kpcd->counterc = KPC_MAX_COUNTERS; in kperf_kpc_thread_sample()56 if (kpc_get_curthread_counters(&kpcd->counterc, in kperf_kpc_thread_sample()57 kpcd->counterv)) { in kperf_kpc_thread_sample()59 memset(kpcd->counterv, 0, in kperf_kpc_thread_sample()60 sizeof(uint64_t) * kpcd->counterc); in kperf_kpc_thread_sample()64 kpcd->configc = 0; in kperf_kpc_thread_sample()66 kpcd->configc = kpc_get_config_count(kpcd->running); in kperf_kpc_thread_sample()67 kpc_get_config(kpcd->running, kpcd->configv); in kperf_kpc_thread_sample()[all …]