Searched refs:task_ctx_data (Results 1 – 3 of 3) sorted by relevance
523 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()
1175 static void free_task_ctx_data(struct pmu *pmu, void *task_ctx_data) in free_task_ctx_data() argument1177 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() local4872 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 …]
890 void *task_ctx_data; /* pmu specific data */ member