Searched refs:task_context_opt (Results 1 – 2 of 2) sorted by relevance
509 if (task_context_opt(ctx)->lbr_callstack_users == 0 || in __intel_pmu_lbr_restore()510 task_context_opt(ctx)->lbr_stack_state == LBR_NONE) { in __intel_pmu_lbr_restore()521 (task_context_opt(ctx)->log_id == cpuc->last_log_id) && in __intel_pmu_lbr_restore()523 task_context_opt(ctx)->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore()529 task_context_opt(ctx)->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_restore()586 if (task_context_opt(ctx)->lbr_callstack_users == 0) { in __intel_pmu_lbr_save()587 task_context_opt(ctx)->lbr_stack_state = LBR_NONE; in __intel_pmu_lbr_save()593 task_context_opt(ctx)->lbr_stack_state = LBR_VALID; in __intel_pmu_lbr_save()596 cpuc->last_log_id = ++task_context_opt(ctx)->log_id; in __intel_pmu_lbr_save()618 swap(task_context_opt(prev_ctx_data)->lbr_callstack_users, in intel_pmu_lbr_swap_task_ctx()[all …]
905 static __always_inline struct x86_perf_task_context_opt *task_context_opt(void *ctx) in task_context_opt() function