Home
last modified time | relevance | path

Searched refs:bpf_perf_event_value (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/tools/perf/util/bpf_skel/
Dbpf_prog_profiler.bpf.c18 __uint(value_size, sizeof(struct bpf_perf_event_value));
26 __uint(value_size, sizeof(struct bpf_perf_event_value));
36 struct bpf_perf_event_value *ptr; in BPF_PROG()
53 fexit_update_maps(struct bpf_perf_event_value *after) in fexit_update_maps()
55 struct bpf_perf_event_value *before, diff; in fexit_update_maps()
61 struct bpf_perf_event_value *accum; in fexit_update_maps()
79 struct bpf_perf_event_value reading; in BPF_PROG()
Dbperf_leader.bpf.c17 __uint(value_size, sizeof(struct bpf_perf_event_value));
24 __uint(value_size, sizeof(struct bpf_perf_event_value));
31 struct bpf_perf_event_value val, *prev_val, *diff_val; in BPF_PROG()
Dbperf_follower.bpf.c11 __uint(value_size, sizeof(struct bpf_perf_event_value));
18 __uint(value_size, sizeof(struct bpf_perf_event_value));
34 struct bpf_perf_event_value *diff_val, *accum_val; in BPF_PROG()
Dbperf_cgroup.bpf.c35 __uint(value_size, sizeof(struct bpf_perf_event_value));
43 __uint(value_size, sizeof(struct bpf_perf_event_value));
149 struct bpf_perf_event_value val, delta, *prev_val, *cgrp_val; in bperf_cgroup_count()
/linux-6.1.9/tools/bpf/bpftool/skeleton/
Dprofiler.bpf.c18 __uint(value_size, sizeof(struct bpf_perf_event_value));
25 __uint(value_size, sizeof(struct bpf_perf_event_value));
42 struct bpf_perf_event_value *ptrs[MAX_NUM_MATRICS]; in BPF_PROG()
56 struct bpf_perf_event_value reading; in BPF_PROG()
71 fexit_update_maps(u32 id, struct bpf_perf_event_value *after) in fexit_update_maps()
73 struct bpf_perf_event_value *before, diff; in fexit_update_maps()
78 struct bpf_perf_event_value *accum; in fexit_update_maps()
96 struct bpf_perf_event_value readings[MAX_NUM_MATRICS]; in BPF_PROG()
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_pe_preserve_elems.c25 struct bpf_perf_event_value val; in BPF_PROG()
33 struct bpf_perf_event_value val; in BPF_PROG()
/linux-6.1.9/samples/bpf/
Dtracex6_kern.c23 __type(value, struct bpf_perf_event_value);
52 struct bpf_perf_event_value *val, buf; in bpf_prog2()
Dtrace_event_kern.c45 struct bpf_perf_event_value value_buf; in bpf_prog1()
62 ret = bpf_perf_prog_read_value(ctx, (void *)&value_buf, sizeof(struct bpf_perf_event_value)); in bpf_prog1()
Dtracex6_user.c27 struct bpf_perf_event_value value2; in check_on_cpu()
/linux-6.1.9/tools/perf/util/
Dbpf_counter_cgroup.c238 struct bpf_perf_event_value *values; in bperf_cgrp__read()
Dbpf_counter.c231 struct bpf_perf_event_value values[num_cpu_bpf]; in bpf_program_profiler__read()
632 struct bpf_perf_event_value values[num_cpu_bpf]; in bperf__read()
/linux-6.1.9/kernel/trace/
Dbpf_trace.c596 struct bpf_perf_event_value *, buf, u32, size) in BPF_CALL_4() argument
600 if (unlikely(size != sizeof(struct bpf_perf_event_value))) in BPF_CALL_4()
1676 struct bpf_perf_event_value *, buf, u32, size) in BPF_CALL_3() argument
1680 if (unlikely(size != sizeof(struct bpf_perf_event_value))) in BPF_CALL_3()
/linux-6.1.9/tools/bpf/bpftool/
Dprog.c1872 struct bpf_perf_event_value val;
2016 struct bpf_perf_event_value values[num_cpu]; in profile_read_values()
2062 struct bpf_perf_event_value *val = &metrics[m].val; in profile_print_readings_plain()
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h6645 struct bpf_perf_event_value { struct
/linux-6.1.9/include/uapi/linux/
Dbpf.h6645 struct bpf_perf_event_value { struct