Searched refs:oncpu (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
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 CHECK(!IS_ERR(skel->links.oncpu), "attach_perf_event_no_callchain", in test_get_stackid_cannot_attach() 66 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 68 CHECK(IS_ERR(skel->links.oncpu), "attach_perf_event_callchain", in test_get_stackid_cannot_attach() 69 "err: %ld\n", PTR_ERR(skel->links.oncpu)); in test_get_stackid_cannot_attach() 83 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_get_stackid_cannot_attach() 85 CHECK(!IS_ERR(skel->links.oncpu), "attach_perf_event_exclude_callchain_kernel", in test_get_stackid_cannot_attach()
|
D | perf_event_stackmap.c | 98 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, in test_perf_event_stackmap() 100 if (CHECK(IS_ERR(skel->links.oncpu), "attach_perf_event", in test_perf_event_stackmap() 101 "err %ld\n", PTR_ERR(skel->links.oncpu))) { in test_perf_event_stackmap()
|
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 (CHECK(IS_ERR(skel->links.oncpu), "attach_perf_event", in test_stacktrace_build_id_nmi() 66 "err %ld\n", PTR_ERR(skel->links.oncpu))) { in test_stacktrace_build_id_nmi()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | offwaketime_kern.c | 124 int oncpu(struct sched_switch_args *ctx) function 130 int oncpu(struct pt_regs *ctx)
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_tracepoint.c | 20 int oncpu(struct sched_switch_args *ctx) in oncpu() function
|
D | perf_event_stackmap.c | 31 int oncpu(void *ctx) in oncpu() function
|
D | test_stacktrace_map.c | 54 int oncpu(struct sched_switch_args *ctx) in oncpu() function
|
D | test_stacktrace_build_id.c | 51 int oncpu(struct random_urandom_args *args) in oncpu() function
|
/kernel/linux/linux-5.10/kernel/events/ |
D | core.c | 2361 event->oncpu = -1; in event_sched_out() 2579 WRITE_ONCE(event->oncpu, smp_processor_id()); in event_sched_in() 2604 event->oncpu = -1; in event_sched_in() 3109 if (READ_ONCE(event->oncpu) != smp_processor_id()) in __perf_event_stop() 3149 ret = cpu_function_call(READ_ONCE(event->oncpu), in perf_event_stop() 4452 if (event->attr.pinned && event->oncpu != smp_processor_id()) { in perf_event_read_local() 4462 if (event->oncpu == smp_processor_id()) in perf_event_read_local() 4502 event_cpu = READ_ONCE(event->oncpu); in perf_event_read() 6676 if (WARN_ON_ONCE(READ_ONCE(sampler->oncpu) != smp_processor_id())) in perf_prepare_sample_aux() 7650 cpu = READ_ONCE(iter->oncpu); in perf_pmu_output_stop() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | perf_event.h | 705 int oncpu; member
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | bpf_trace.c | 900 if (unlikely(event->oncpu != cpu)) in __bpf_perf_event_output()
|