Searched refs:oncpu (Results 1 – 11 of 11) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | get_stackid_cannot_attach.c | 30 bpf_program__set_perf_event(skel->progs.oncpu); in test_get_stackid_cannot_attach() 49 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 51 ASSERT_ERR_PTR(skel->links.oncpu, "attach_perf_event_no_callchain"); in test_get_stackid_cannot_attach() 65 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 67 ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event_callchain"); in test_get_stackid_cannot_attach() 81 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 83 ASSERT_ERR_PTR(skel->links.oncpu, "attach_perf_event_exclude_callchain_kernel"); in test_get_stackid_cannot_attach()
|
A D | stacktrace_build_id_nmi.c | 45 bpf_program__set_perf_event(skel->progs.oncpu); in test_stacktrace_build_id_nmi() 63 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_stacktrace_build_id_nmi() 65 if (!ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event")) { in test_stacktrace_build_id_nmi()
|
A D | perf_event_stackmap.c | 98 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_perf_event_stackmap() 100 if (!ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event")) { in test_perf_event_stackmap()
|
/linux/samples/bpf/ |
A D | offwaketime_kern.c | 125 int oncpu(struct sched_switch_args *ctx) function 131 int oncpu(struct pt_regs *ctx)
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | test_tracepoint.c | 20 int oncpu(struct sched_switch_args *ctx) in oncpu() function
|
A D | perf_event_stackmap.c | 31 int oncpu(void *ctx) in oncpu() function
|
A D | test_stacktrace_build_id.c | 51 int oncpu(struct random_urandom_args *args) in oncpu() function
|
A D | test_stacktrace_map.c | 54 int oncpu(struct sched_switch_args *ctx) in oncpu() function
|
/linux/kernel/events/ |
A D | core.c | 2286 event->oncpu = -1; in event_sched_out() 2534 WRITE_ONCE(event->oncpu, smp_processor_id()); in event_sched_in() 2561 event->oncpu = -1; in event_sched_in() 3066 if (READ_ONCE(event->oncpu) != smp_processor_id()) in __perf_event_stop() 3106 ret = cpu_function_call(READ_ONCE(event->oncpu), in perf_event_stop() 4461 if (event->attr.pinned && event->oncpu != smp_processor_id()) { in perf_event_read_local() 4471 if (event->oncpu == smp_processor_id()) in perf_event_read_local() 4512 event_cpu = READ_ONCE(event->oncpu); in perf_event_read() 6696 if (WARN_ON_ONCE(READ_ONCE(sampler->oncpu) != smp_processor_id())) in perf_prepare_sample_aux() 7768 cpu = READ_ONCE(iter->oncpu); in perf_pmu_output_stop() [all …]
|
/linux/include/linux/ |
A D | perf_event.h | 719 int oncpu; member
|
/linux/kernel/trace/ |
A D | bpf_trace.c | 638 if (unlikely(event->oncpu != cpu)) in __bpf_perf_event_output()
|
Completed in 41 milliseconds