Searched refs:bpf_enable_stats (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Denable_stats.c17 stats_fd = bpf_enable_stats(BPF_STATS_RUN_TIME);
H A Dprog_run_opts.c38 stats_fd = bpf_enable_stats(BPF_STATS_RUN_TIME);
/linux-master/tools/testing/selftests/bpf/
H A Dtest_cpp.cpp121 fd = bpf_enable_stats(BPF_STATS_RUN_TIME);
/linux-master/tools/lib/bpf/
H A Dbpf.h627 * instead define bpf_enable_stats() as accepting int as an input
629 LIBBPF_API int bpf_enable_stats(int type);
632 LIBBPF_API int bpf_enable_stats(enum bpf_stats_type type);
H A Dbpf.c1270 int bpf_enable_stats(enum bpf_stats_type type) function
/linux-master/kernel/bpf/
H A Dsyscall.c5499 static int bpf_enable_stats(union bpf_attr *attr) function
5743 err = bpf_enable_stats(&attr);

Completed in 209 milliseconds