Home
last modified time | relevance | path

Searched refs:task_ctx_data (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/arch/x86/events/intel/
Dlbr.c523 swap(prev_epc->task_ctx_data, next_epc->task_ctx_data); in intel_pmu_lbr_swap_task_ctx()
531 prev_ctx_data = next_epc->task_ctx_data; in intel_pmu_lbr_swap_task_ctx()
532 next_ctx_data = prev_epc->task_ctx_data; in intel_pmu_lbr_swap_task_ctx()
554 task_ctx = pmu_ctx ? pmu_ctx->task_ctx_data : NULL; in intel_pmu_lbr_sched_task()
590 if (branch_user_callstack(cpuc->br_sel) && event->pmu_ctx->task_ctx_data) in intel_pmu_lbr_add()
591 task_context_opt(event->pmu_ctx->task_ctx_data)->lbr_callstack_users++; in intel_pmu_lbr_add()
667 event->pmu_ctx->task_ctx_data) in intel_pmu_lbr_del()
668 task_context_opt(event->pmu_ctx->task_ctx_data)->lbr_callstack_users--; in intel_pmu_lbr_del()
/linux-6.6.21/kernel/events/
Dcore.c1175 static void free_task_ctx_data(struct pmu *pmu, void *task_ctx_data) in free_task_ctx_data() argument
1177 if (pmu->task_ctx_cache && task_ctx_data) in free_task_ctx_data()
1178 kmem_cache_free(pmu->task_ctx_cache, task_ctx_data); in free_task_ctx_data()
3475 swap(prev_epc->task_ctx_data, next_epc->task_ctx_data); in perf_event_swap_task_ctx_data()
4841 void *task_ctx_data = NULL; in find_get_pmu_context() local
4872 task_ctx_data = alloc_task_ctx_data(pmu); in find_get_pmu_context()
4873 if (!task_ctx_data) { in find_get_pmu_context()
4906 if (task_ctx_data && !epc->task_ctx_data) { in find_get_pmu_context()
4907 epc->task_ctx_data = task_ctx_data; in find_get_pmu_context()
4908 task_ctx_data = NULL; in find_get_pmu_context()
[all …]
/linux-6.6.21/include/linux/
Dperf_event.h890 void *task_ctx_data; /* pmu specific data */ member