Searched refs:oncpu (Results 1 - 12 of 12) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | get_stackid_cannot_attach.c | 30 bpf_program__set_type(skel->progs.oncpu, BPF_PROG_TYPE_PERF_EVENT); 49 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, 51 ASSERT_ERR_PTR(skel->links.oncpu, "attach_perf_event_no_callchain"); 65 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, 67 ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event_callchain"); 81 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, 83 ASSERT_ERR_PTR(skel->links.oncpu, "attach_perf_event_exclude_callchain_kerne [all...] |
H A D | perf_event_stackmap.c | 98 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, 100 if (!ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event")) {
|
H A D | stacktrace_build_id_nmi.c | 45 bpf_program__set_type(skel->progs.oncpu, BPF_PROG_TYPE_PERF_EVENT); 63 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, 65 if (!ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event")) {
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_tracepoint.c | 20 int oncpu(struct sched_switch_args *ctx) function
|
H A D | perf_event_stackmap.c | 31 int oncpu(void *ctx) function
|
H A D | test_stacktrace_map.c | 54 int oncpu(struct sched_switch_args *ctx) function
|
H A D | stacktrace_map_skip.c | 36 int oncpu(struct trace_event_raw_sched_switch *ctx) function
|
H A D | test_stacktrace_build_id.c | 43 int oncpu(struct pt_regs *args) function
|
/linux-master/samples/bpf/ |
H A D | offwaketime_kern.c | 125 int oncpu(struct sched_switch_args *ctx) function 131 int oncpu(struct pt_regs *ctx) function
|
/linux-master/kernel/events/ |
H A D | core.c | 2269 event->oncpu = -1; 2490 WRITE_ONCE(event->oncpu, smp_processor_id()); 2492 * Order event::oncpu write to happen before the ACTIVE state is 2494 * ->oncpu if it sees ACTIVE. 2515 event->oncpu = -1; 3021 if (READ_ONCE(event->oncpu) != smp_processor_id()) 3058 * inactive here (event->oncpu==-1), there's nothing more to do; 3061 ret = cpu_function_call(READ_ONCE(event->oncpu), 4445 if (event->attr.pinned && event->oncpu != smp_processor_id()) { 4453 * oncpu [all...] |
/linux-master/include/linux/ |
H A D | perf_event.h | 719 int oncpu; member in struct:perf_event
|
/linux-master/kernel/trace/ |
H A D | bpf_trace.c | 644 if (unlikely(event->oncpu != cpu))
|
Completed in 128 milliseconds