Searched refs:kpcd (Results 1 – 1 of 1) sorted by relevance
41 kperf_kpc_thread_sample(struct kpcdata *kpcd, int sample_config) in kperf_kpc_thread_sample() argument45 kpcd->running = kpc_get_running(); in kperf_kpc_thread_sample()47 kpcd->counterc = KPC_MAX_COUNTERS; in kperf_kpc_thread_sample()48 if (kpc_get_curthread_counters(&kpcd->counterc, in kperf_kpc_thread_sample()49 kpcd->counterv)) { in kperf_kpc_thread_sample()51 memset(kpcd->counterv, 0, in kperf_kpc_thread_sample()52 sizeof(uint64_t) * kpcd->counterc); in kperf_kpc_thread_sample()56 kpcd->configc = 0; in kperf_kpc_thread_sample()58 kpcd->configc = kpc_get_config_count(kpcd->running); in kperf_kpc_thread_sample()59 kpc_get_config(kpcd->running, kpcd->configv); in kperf_kpc_thread_sample()[all …]