Lines Matching refs:perf_cpu_context

158 static void perf_ctx_lock(struct perf_cpu_context *cpuctx,
166 static void perf_ctx_unlock(struct perf_cpu_context *cpuctx,
181 static DEFINE_PER_CPU(struct perf_cpu_context, perf_cpu_context);
186 return this_cpu_ptr(&perf_cpu_context)->task_ctx;
208 typedef void (*event_f)(struct perf_event *, struct perf_cpu_context *,
222 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
319 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
718 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
779 static inline void update_cgrp_time_from_cpuctx(struct perf_cpu_context *cpuctx, bool final)
819 perf_cgroup_set_timestamp(struct perf_cpu_context *cpuctx)
849 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
889 struct perf_cpu_context *cpuctx;
901 cpuctx = per_cpu_ptr(&perf_cpu_context, cpu);
970 struct perf_cpu_context *cpuctx;
981 cpuctx = container_of(ctx, struct perf_cpu_context, ctx);
992 struct perf_cpu_context *cpuctx;
1003 cpuctx = container_of(ctx, struct perf_cpu_context, ctx);
1031 static inline void update_cgrp_time_from_cpuctx(struct perf_cpu_context *cpuctx,
1044 perf_cgroup_set_timestamp(struct perf_cpu_context *cpuctx)
2344 struct perf_cpu_context *cpuctx,
2418 __perf_remove_from_context(event, this_cpu_ptr(&perf_cpu_context),
2432 struct perf_cpu_context *cpuctx,
2661 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
2672 static void perf_event_sched_in(struct perf_cpu_context *cpuctx,
2703 static void ctx_resched(struct perf_cpu_context *cpuctx,
2745 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
2763 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
2939 struct perf_cpu_context *cpuctx,
3282 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
3620 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
3642 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
3738 struct perf_cpu_context *cpuctx = NULL;
3749 cpuctx = this_cpu_ptr(&perf_cpu_context);
3896 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
3942 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
4266 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
4325 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
4367 struct perf_cpu_context *cpuctx;
4379 cpuctx = this_cpu_ptr(&perf_cpu_context);
4484 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
4779 struct perf_cpu_context *cpuctx;
4789 cpuctx = per_cpu_ptr(&perf_cpu_context, event->cpu);
5776 struct perf_cpu_context *cpuctx,
8117 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
12590 * We use the perf_cpu_context::ctx::mutex to serialize against
12593 struct perf_cpu_context *cpuctx = per_cpu_ptr(&perf_cpu_context, event->cpu);
12879 * We use the perf_cpu_context::ctx::mutex to serialize against
12882 struct perf_cpu_context *cpuctx =
12883 container_of(ctx, struct perf_cpu_context, ctx);
12998 src_ctx = &per_cpu_ptr(&perf_cpu_context, src_cpu)->ctx;
12999 dst_ctx = &per_cpu_ptr(&perf_cpu_context, dst_cpu)->ctx;
13628 struct perf_cpu_context *cpuctx;
13642 cpuctx = per_cpu_ptr(&perf_cpu_context, cpu);
13670 struct perf_cpu_context *cpuctx = this_cpu_ptr(&perf_cpu_context);
13683 struct perf_cpu_context *cpuctx;
13688 cpuctx = per_cpu_ptr(&perf_cpu_context, cpu);
13706 struct perf_cpu_context *cpuctx;
13713 cpuctx = per_cpu_ptr(&perf_cpu_context, cpu);