Home
last modified time | relevance | path

Searched refs:sched_in (Results 1 – 13 of 13) sorted by relevance

/linux/arch/x86/events/amd/
H A Dbrs.c384 void amd_pmu_brs_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in) in amd_pmu_brs_sched_task() argument
397 if (sched_in) in amd_pmu_brs_sched_task()
H A Dlbr.c374 void amd_pmu_lbr_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in) in amd_pmu_lbr_sched_task() argument
383 if (cpuc->lbr_users && sched_in) in amd_pmu_lbr_sched_task()
/linux/tools/perf/
H A Dbuiltin-sched.c1128 struct thread *sched_out, *sched_in; in latency_switch_event()
1148 sched_in = machine__findnew_thread(machine, -1, next_pid); in latency_switch_event()
1149 if (sched_out == NULL || sched_in == NULL) in latency_switch_event()
1165 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid); in latency_switch_event()
1167 if (thread_atoms_insert(sched, sched_in)) in latency_switch_event()
1169 in_events = thread_atoms_search(&sched->atom_root, sched_in, &sched->cmp_pid); in latency_switch_event()
1185 thread__put(sched_in); in latency_runtime_event()
1628 struct thread *sched_in, *sched_out; in map_switch_event()
1669 sched_in = map__findnew_thread(sched, machine, -1, next_pid); in map_switch_event()
1671 if (sched_in in map_switch_event()
1116 struct thread *sched_out, *sched_in; latency_switch_event() local
1616 struct thread *sched_in, *sched_out; map_switch_event() local
[all...]
/linux/arch/x86/events/
H A Dperf_event.h857 bool sched_in);
1382 void amd_pmu_lbr_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in);
1436 void amd_pmu_brs_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in);
1461 static inline void amd_pmu_brs_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in) in amd_pmu_brs_sched_task() argument
1627 void intel_pmu_pebs_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in);
1642 void intel_pmu_lbr_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in);
H A Dcore.c2629 static void x86_pmu_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in) in x86_pmu_sched_task() argument
2631 static_call_cond(x86_pmu_sched_task)(pmu_ctx, sched_in); in x86_pmu_sched_task()
/linux/include/linux/
H A Dpreempt.h338 void (*sched_in)(struct preempt_notifier *notifier, int cpu); member
/linux/arch/x86/events/intel/
H A Dlbr.c542 void intel_pmu_lbr_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in) in intel_pmu_lbr_sched_task() argument
557 if (sched_in) in intel_pmu_lbr_sched_task()
570 if (sched_in) in intel_pmu_lbr_sched_task()
H A Dds.c1243 void intel_pmu_pebs_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in) in intel_pmu_pebs_sched_task() argument
1247 if (!sched_in && pebs_needs_sched_cb(cpuc)) in intel_pmu_pebs_sched_task()
H A Dcore.c5112 bool sched_in) in intel_pmu_sched_task() argument
5114 intel_pmu_pebs_sched_task(pmu_ctx, sched_in); in intel_pmu_sched_task()
5115 intel_pmu_lbr_sched_task(pmu_ctx, sched_in); in intel_pmu_sched_task()
/linux/arch/powerpc/perf/
H A Dcore-book3s.c135 static void power_pmu_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in) {} in power_pmu_sched_task() argument
447 static void power_pmu_sched_task(struct perf_event_pmu_context *pmu_ctx, bool sched_in) in power_pmu_sched_task() argument
452 if (sched_in) in power_pmu_sched_task()
/linux/kernel/events/
H A Dcore.c3561 static void perf_ctx_sched_task_cb(struct perf_event_context *ctx, bool sched_in) in perf_ctx_sched_task_cb() argument
3570 pmu_ctx->pmu->sched_task(pmu_ctx, sched_in); in perf_ctx_sched_task_cb()
3705 static void __perf_pmu_sched_task(struct perf_cpu_pmu_context *cpc, bool sched_in) in __perf_pmu_sched_task() argument
3719 pmu->sched_task(cpc->task_epc, sched_in); in __perf_pmu_sched_task()
3727 bool sched_in) in perf_pmu_sched_task() argument
3737 __perf_pmu_sched_task(cpc, sched_in); in perf_pmu_sched_task()
3741 struct task_struct *next_prev, bool sched_in);
9234 struct task_struct *next_prev, bool sched_in) in perf_event_switch()
9246 .misc = sched_in ? 0 : PERF_RECORD_MISC_SWITCH_OUT, in perf_event_switch()
9254 if (!sched_in in perf_event_switch()
9235 perf_event_switch(struct task_struct * task,struct task_struct * next_prev,bool sched_in) perf_event_switch() argument
[all...]
/linux/virt/kvm/
H A Dkvm_main.c6510 kvm_preempt_ops.sched_in = kvm_sched_in; in kvm_init()
/linux/kernel/sched/
H A Dcore.c4879 notifier->ops->sched_in(notifier, raw_smp_processor_id()); in __fire_sched_in_preempt_notifiers()