Home
last modified time | relevance | path

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

/openbmc/linux/kernel/events/
H A Dcore.c158 static void perf_ctx_lock(struct perf_cpu_context *cpuctx, in perf_ctx_lock() argument
161 raw_spin_lock(&cpuctx->ctx.lock); in perf_ctx_lock()
166 static void perf_ctx_unlock(struct perf_cpu_context *cpuctx, in perf_ctx_unlock() argument
171 raw_spin_unlock(&cpuctx->ctx.lock); in perf_ctx_unlock()
205 * If ctx->nr_events, then ctx->is_active and cpuctx->task_ctx are set.
222 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); in event_function() local
223 struct perf_event_context *task_ctx = cpuctx->task_ctx; in event_function()
228 perf_ctx_lock(cpuctx, task_ctx); in event_function()
248 * And since we have ctx->is_active, cpuctx->task_ctx must in event_function()
253 WARN_ON_ONCE(&cpuctx in event_function()
267 struct perf_cpu_context *cpuctx; event_function_call() local
323 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); event_function_local() local
722 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); perf_cgroup_match() local
783 update_cgrp_time_from_cpuctx(struct perf_cpu_context * cpuctx,bool final) update_cgrp_time_from_cpuctx() argument
823 perf_cgroup_set_timestamp(struct perf_cpu_context * cpuctx) perf_cgroup_set_timestamp() argument
853 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); perf_cgroup_switch() local
893 struct perf_cpu_context *cpuctx; perf_cgroup_ensure_storage() local
974 struct perf_cpu_context *cpuctx; perf_cgroup_event_enable() local
996 struct perf_cpu_context *cpuctx; perf_cgroup_event_disable() local
1035 update_cgrp_time_from_cpuctx(struct perf_cpu_context * cpuctx,bool final) update_cgrp_time_from_cpuctx() argument
1048 perf_cgroup_set_timestamp(struct perf_cpu_context * cpuctx) perf_cgroup_set_timestamp() argument
2345 __perf_remove_from_context(struct perf_event * event,struct perf_cpu_context * cpuctx,struct perf_event_context * ctx,void * info) __perf_remove_from_context() argument
2433 __perf_event_disable(struct perf_event * event,struct perf_cpu_context * cpuctx,struct perf_event_context * ctx,void * info) __perf_event_disable() argument
2662 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); task_ctx_sched_out() local
2673 perf_event_sched_in(struct perf_cpu_context * cpuctx,struct perf_event_context * ctx) perf_event_sched_in() argument
2704 ctx_resched(struct perf_cpu_context * cpuctx,struct perf_event_context * task_ctx,enum event_type_t event_type) ctx_resched() argument
2746 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); perf_pmu_resched() local
2764 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); __perf_install_in_context() local
2940 __perf_event_enable(struct perf_event * event,struct perf_cpu_context * cpuctx,struct perf_event_context * ctx,void * info) __perf_event_enable() argument
3283 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); ctx_sched_out() local
3621 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); __perf_pmu_sched_task() local
3643 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); perf_pmu_sched_task() local
3739 struct perf_cpu_context *cpuctx = NULL; visit_groups_merge() local
3897 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); ctx_sched_in() local
3943 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); perf_event_context_sched_in() local
4271 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); perf_rotate_context() local
4330 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); perf_event_task_tick() local
4372 struct perf_cpu_context *cpuctx; perf_event_enable_on_exec() local
4486 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); __perf_event_read() local
4772 struct perf_cpu_context *cpuctx; find_get_context() local
5808 __perf_event_period(struct perf_event * event,struct perf_cpu_context * cpuctx,struct perf_event_context * ctx,void * info) __perf_event_period() argument
8152 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); __perf_pmu_output_stop() local
12632 struct perf_cpu_context *cpuctx = per_cpu_ptr(&perf_cpu_context, event->cpu); SYSCALL_DEFINE5() local
12921 struct perf_cpu_context *cpuctx = perf_event_create_kernel_counter() local
13676 struct perf_cpu_context *cpuctx; perf_event_init_all_cpus() local
13718 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context); __perf_event_exit_context() local
13731 struct perf_cpu_context *cpuctx; perf_event_exit_cpu_context() local
13754 struct perf_cpu_context *cpuctx; perf_event_init_cpu() local
[all...]