Searched refs:oncpu (Results 1 - 12 of 12) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dget_stackid_cannot_attach.c30 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 Dperf_event_stackmap.c98 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu,
100 if (!ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event")) {
H A Dstacktrace_build_id_nmi.c45 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 Dtest_tracepoint.c20 int oncpu(struct sched_switch_args *ctx) function
H A Dperf_event_stackmap.c31 int oncpu(void *ctx) function
H A Dtest_stacktrace_map.c54 int oncpu(struct sched_switch_args *ctx) function
H A Dstacktrace_map_skip.c36 int oncpu(struct trace_event_raw_sched_switch *ctx) function
H A Dtest_stacktrace_build_id.c43 int oncpu(struct pt_regs *args) function
/linux-master/samples/bpf/
H A Doffwaketime_kern.c125 int oncpu(struct sched_switch_args *ctx) function
131 int oncpu(struct pt_regs *ctx) function
/linux-master/kernel/events/
H A Dcore.c2269 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 Dperf_event.h719 int oncpu; member in struct:perf_event
/linux-master/kernel/trace/
H A Dbpf_trace.c644 if (unlikely(event->oncpu != cpu))

Completed in 128 milliseconds