Searched refs:oncpu (Results 1 - 13 of 13) 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"); 68 bpf_link__destroy(skel->links.oncpu); 82 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, [all...] |
H A D | perf_event_stackmap.c | 99 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, 101 if (!ASSERT_OK_PTR(skel->links.oncpu, "attach_perf_event")) {
|
H A D | stacktrace_build_id_nmi.c | 29 bpf_program__set_type(skel->progs.oncpu, BPF_PROG_TYPE_PERF_EVENT); 47 skel->links.oncpu = bpf_program__attach_perf_event(skel->progs.oncpu, 49 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 | 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
|
H A D | test_stacktrace_map.c | 54 int oncpu(struct sched_switch_args *ctx) function
|
/linux-master/samples/bpf/ |
H A D | offwaketime.bpf.c | 108 int oncpu(struct trace_event_raw_sched_switch *ctx) function 114 int oncpu(struct pt_regs *ctx) function
|
/linux-master/kernel/sched/ |
H A D | psi.c | 44 * CPU, productive means an oncpu task. 221 static bool test_state(unsigned int *tasks, enum psi_states state, bool oncpu) argument 234 return unlikely(tasks[NR_RUNNING] > oncpu); 236 return unlikely(tasks[NR_RUNNING] && !oncpu);
|
/linux-master/kernel/events/ |
H A D | core.c | 2278 event->oncpu = -1; 2529 WRITE_ONCE(event->oncpu, smp_processor_id()); 2531 * Order event::oncpu write to happen before the ACTIVE state is 2533 * ->oncpu if it sees ACTIVE. 2554 event->oncpu = -1; 3057 if (READ_ONCE(event->oncpu) != smp_processor_id()) 3094 * inactive here (event->oncpu==-1), there's nothing more to do; 3097 ret = cpu_function_call(READ_ONCE(event->oncpu), 4595 event_oncpu = __perf_event_read_cpu(event, event->oncpu); 4614 * oncpu [all...] |
/linux-master/include/linux/ |
H A D | perf_event.h | 761 int oncpu; member in struct:perf_event
|
/linux-master/kernel/trace/ |
H A D | bpf_trace.c | 645 if (unlikely(event->oncpu != cpu))
|
Completed in 268 milliseconds