Lines Matching refs:perf_event_context

158 __get_cpu_context(struct perf_event_context *ctx)  in __get_cpu_context()
164 struct perf_event_context *ctx) in perf_ctx_lock()
172 struct perf_event_context *ctx) in perf_ctx_unlock()
206 struct perf_event_context *, void *);
218 struct perf_event_context *ctx = event->ctx; in event_function()
220 struct perf_event_context *task_ctx = cpuctx->task_ctx; in event_function()
262 struct perf_event_context *ctx = event->ctx; in event_function_call()
315 struct perf_event_context *ctx = event->ctx; in event_function_local()
318 struct perf_event_context *task_ctx = NULL; in event_function_local()
580 static void update_context_time(struct perf_event_context *ctx);
682 struct perf_event_context *ctx = event->ctx; in perf_cgroup_match()
769 struct perf_event_context *ctx) in perf_cgroup_set_timestamp()
993 perf_cgroup_event_enable(struct perf_event *event, struct perf_event_context *ctx) in perf_cgroup_event_enable()
1027 perf_cgroup_event_disable(struct perf_event *event, struct perf_event_context *ctx) in perf_cgroup_event_disable()
1092 struct perf_event_context *ctx) in perf_cgroup_set_timestamp()
1112 perf_cgroup_event_enable(struct perf_event *event, struct perf_event_context *ctx) in perf_cgroup_event_enable()
1117 perf_cgroup_event_disable(struct perf_event *event, struct perf_event_context *ctx) in perf_cgroup_event_disable()
1218 static void perf_event_ctx_activate(struct perf_event_context *ctx) in perf_event_ctx_activate()
1229 static void perf_event_ctx_deactivate(struct perf_event_context *ctx) in perf_event_ctx_deactivate()
1238 static void get_ctx(struct perf_event_context *ctx) in get_ctx()
1259 struct perf_event_context *ctx; in free_ctx()
1261 ctx = container_of(head, struct perf_event_context, rcu_head); in free_ctx()
1266 static void put_ctx(struct perf_event_context *ctx) in put_ctx()
1343 static struct perf_event_context *
1346 struct perf_event_context *ctx; in perf_event_ctx_lock_nested()
1367 static inline struct perf_event_context *
1374 struct perf_event_context *ctx) in perf_event_ctx_unlock()
1385 static __must_check struct perf_event_context *
1386 unclone_ctx(struct perf_event_context *ctx) in unclone_ctx()
1388 struct perf_event_context *parent_ctx = ctx->parent_ctx; in unclone_ctx()
1446 static struct perf_event_context *
1449 struct perf_event_context *ctx; in perf_lock_task_context()
1502 static struct perf_event_context *
1505 struct perf_event_context *ctx; in perf_pin_task_context()
1516 static void perf_unpin_context(struct perf_event_context *ctx) in perf_unpin_context()
1528 static void update_context_time(struct perf_event_context *ctx) in update_context_time()
1538 struct perf_event_context *ctx = event->ctx; in perf_event_time()
1548 struct perf_event_context *ctx = event->ctx; in get_event_type()
1581 get_event_groups(struct perf_event *event, struct perf_event_context *ctx) in get_event_groups()
1703 add_event_to_groups(struct perf_event *event, struct perf_event_context *ctx) in add_event_to_groups()
1729 del_event_from_groups(struct perf_event *event, struct perf_event_context *ctx) in del_event_from_groups()
1790 list_add_event(struct perf_event *event, struct perf_event_context *ctx) in list_add_event()
1988 list_del_event(struct perf_event *event, struct perf_event_context *ctx) in list_del_event()
2040 struct perf_event_context *ctx);
2044 struct perf_event_context *ctx = event->ctx; in perf_put_aux_event()
2125 struct perf_event_context *ctx = event->ctx; in get_event_list()
2137 struct perf_event_context *ctx = event->ctx; in perf_remove_sibling_event()
2148 struct perf_event_context *ctx = event->ctx; in perf_group_detach()
2266 struct perf_event_context *ctx) in event_sched_out()
2310 struct perf_event_context *ctx) in group_sched_out()
2342 struct perf_event_context *ctx, in __perf_remove_from_context()
2381 struct perf_event_context *ctx = event->ctx; in perf_remove_from_context()
2407 struct perf_event_context *ctx, in __perf_event_disable()
2443 struct perf_event_context *ctx = event->ctx; in _perf_event_disable()
2466 struct perf_event_context *ctx; in perf_event_disable()
2482 struct perf_event_context *ctx) in perf_set_shadow_time()
2523 struct perf_event_context *ctx) in event_sched_in()
2585 struct perf_event_context *ctx) in group_sched_in()
2662 struct perf_event_context *ctx) in add_event_to_ctx()
2668 static void ctx_sched_out(struct perf_event_context *ctx,
2672 ctx_sched_in(struct perf_event_context *ctx,
2678 struct perf_event_context *ctx, in task_ctx_sched_out()
2691 struct perf_event_context *ctx, in perf_event_sched_in()
2718 struct perf_event_context *task_ctx, in ctx_resched()
2756 struct perf_event_context *task_ctx = cpuctx->task_ctx; in perf_pmu_resched()
2772 struct perf_event_context *ctx = event->ctx; in __perf_install_in_context()
2774 struct perf_event_context *task_ctx = cpuctx->task_ctx; in __perf_install_in_context()
2829 struct perf_event_context *ctx);
2837 perf_install_in_context(struct perf_event_context *ctx, in perf_install_in_context()
2949 struct perf_event_context *ctx, in __perf_event_enable()
2953 struct perf_event_context *task_ctx; in __perf_event_enable()
3000 struct perf_event_context *ctx = event->ctx; in _perf_event_enable()
3037 struct perf_event_context *ctx; in perf_event_enable()
3170 struct perf_event_context *ctx; in perf_event_refresh()
3231 static void ctx_sched_out(struct perf_event_context *ctx, in ctx_sched_out()
3309 static int context_equiv(struct perf_event_context *ctx1, in context_equiv()
3310 struct perf_event_context *ctx2) in context_equiv()
3377 static void perf_event_sync_stat(struct perf_event_context *ctx, in perf_event_sync_stat()
3378 struct perf_event_context *next_ctx) in perf_event_sync_stat()
3406 struct perf_event_context *ctx = task->perf_event_ctxp[ctxn]; in perf_event_context_sched_out()
3407 struct perf_event_context *next_ctx; in perf_event_context_sched_out()
3408 struct perf_event_context *parent, *next_parent; in perf_event_context_sched_out()
3735 struct perf_event_context *ctx = event->ctx; in merge_sched_in()
3766 ctx_pinned_sched_in(struct perf_event_context *ctx, in ctx_pinned_sched_in()
3780 ctx_flexible_sched_in(struct perf_event_context *ctx, in ctx_flexible_sched_in()
3794 ctx_sched_in(struct perf_event_context *ctx, in ctx_sched_in()
3840 struct perf_event_context *ctx = &cpuctx->ctx; in cpu_ctx_sched_in()
3845 static void perf_event_context_sched_in(struct perf_event_context *ctx, in perf_event_context_sched_in()
3909 struct perf_event_context *ctx; in __perf_event_task_sched_in()
4047 static void perf_adjust_freq_unthr_context(struct perf_event_context *ctx, in perf_adjust_freq_unthr_context()
4117 static void rotate_ctx(struct perf_event_context *ctx, struct perf_event *event) in rotate_ctx()
4132 ctx_event_to_rotate(struct perf_event_context *ctx) in ctx_event_to_rotate()
4158 struct perf_event_context *task_ctx = NULL; in perf_rotate_context()
4206 struct perf_event_context *ctx, *tmp; in perf_event_task_tick()
4220 struct perf_event_context *ctx) in event_enable_on_exec()
4240 struct perf_event_context *ctx, *clone_ctx = NULL; in perf_event_enable_on_exec()
4280 struct perf_event_context *ctx);
4288 struct perf_event_context *ctx, *clone_ctx = NULL; in perf_event_remove_on_exec()
4359 struct perf_event_context *ctx = event->ctx; in __perf_event_read()
4540 struct perf_event_context *ctx = event->ctx; in perf_event_read()
4571 static void __perf_event_init_context(struct perf_event_context *ctx) in __perf_event_init_context()
4584 static struct perf_event_context *
4587 struct perf_event_context *ctx; in alloc_perf_context()
4589 ctx = kzalloc(sizeof(struct perf_event_context), GFP_KERNEL); in alloc_perf_context()
4624 static struct perf_event_context *
4628 struct perf_event_context *ctx, *clone_ctx = NULL; in find_get_context()
4928 struct perf_event_context *ctx) in exclusive_event_installable()
5086 struct perf_event_context *ctx = event->ctx; in perf_event_release_kernel()
5236 struct perf_event_context *ctx; in perf_event_read_value()
5250 struct perf_event_context *ctx = leader->ctx; in __perf_read_group_add()
5298 struct perf_event_context *ctx = leader->ctx; in perf_read_group()
5407 struct perf_event_context *ctx; in perf_read()
5454 struct perf_event_context *ctx; in perf_event_pause()
5492 struct perf_event_context *ctx = event->ctx; in perf_event_for_each()
5506 struct perf_event_context *ctx, in __perf_event_period()
5570 struct perf_event_context *ctx; in perf_event_period()
5721 struct perf_event_context *ctx; in perf_ioctl()
5760 struct perf_event_context *ctx; in perf_event_task_enable()
5776 struct perf_event_context *ctx; in perf_event_task_disable()
7569 perf_iterate_ctx(struct perf_event_context *ctx, in perf_iterate_ctx()
7617 struct perf_event_context *task_ctx) in perf_iterate_sb()
7619 struct perf_event_context *ctx; in perf_iterate_sb()
7682 struct perf_event_context *ctx; in perf_event_exec()
7790 struct perf_event_context *task_ctx;
7854 struct perf_event_context *task_ctx, in perf_event_task()
8525 struct perf_event_context *ctx; in perf_addr_filters_adjust()
9747 struct perf_event_context *ctx; in perf_tp_event()
10551 struct perf_event_context *ctx = event->ctx; in perf_event_set_filter()
11229 struct perf_event_context *ctx = NULL; in perf_try_init_event()
11953 static struct perf_event_context *
11955 struct perf_event_context *ctx) in __perf_event_ctx_lock_double()
11957 struct perf_event_context *gctx; in __perf_event_ctx_lock_double()
12027 struct perf_event_context *ctx, *gctx; in SYSCALL_DEFINE5()
12482 struct perf_event_context *ctx; in perf_event_create_kernel_counter()
12558 struct perf_event_context *src_ctx; in perf_pmu_migrate_context()
12559 struct perf_event_context *dst_ctx; in perf_pmu_migrate_context()
12646 perf_event_exit_event(struct perf_event *event, struct perf_event_context *ctx) in perf_event_exit_event()
12697 struct perf_event_context *child_ctx, *clone_ctx = NULL; in perf_event_exit_task_context()
12794 struct perf_event_context *ctx) in perf_free_event()
12823 struct perf_event_context *ctx; in perf_event_free_task()
12918 struct perf_event_context *parent_ctx, in inherit_event()
12921 struct perf_event_context *child_ctx) in inherit_event()
13033 struct perf_event_context *parent_ctx, in inherit_group()
13035 struct perf_event_context *child_ctx) in inherit_group()
13076 struct perf_event_context *parent_ctx, in inherit_task_group()
13081 struct perf_event_context *child_ctx; in inherit_task_group()
13121 struct perf_event_context *child_ctx, *parent_ctx; in perf_event_init_context()
13122 struct perf_event_context *cloned_ctx; in perf_event_init_context()
13278 struct perf_event_context *ctx = __info; in __perf_event_exit_context()
13292 struct perf_event_context *ctx; in perf_event_exit_cpu_context()
13317 struct perf_event_context *ctx; in perf_event_init_cpu()