Home
last modified time | relevance | path

Searched refs:profile_obj (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dprog.c1898 static struct profiler_bpf *profile_obj; variable
1977 profile_close_perf_events(profile_obj); in profile_print_and_cleanup()
1978 profile_read_values(profile_obj); in profile_print_and_cleanup()
1980 profiler_bpf__destroy(profile_obj); in profile_print_and_cleanup()
2031 profile_obj = profiler_bpf__open(); in do_profile()
2032 if (!profile_obj) { in do_profile()
2037 profile_obj->rodata->num_cpu = num_cpu; in do_profile()
2038 profile_obj->rodata->num_metric = num_metric; in do_profile()
2041 bpf_map__resize(profile_obj->maps.events, num_metric * num_cpu); in do_profile()
2042 bpf_map__resize(profile_obj in do_profile()
[all...]
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dprog.c2246 static struct profiler_bpf *profile_obj; variable
2325 profile_close_perf_events(profile_obj); in profile_print_and_cleanup()
2326 profile_read_values(profile_obj); in profile_print_and_cleanup()
2328 profiler_bpf__destroy(profile_obj); in profile_print_and_cleanup()
2379 profile_obj = profiler_bpf__open(); in do_profile()
2380 if (!profile_obj) { in do_profile()
2385 profile_obj->rodata->num_cpu = num_cpu; in do_profile()
2386 profile_obj->rodata->num_metric = num_metric; in do_profile()
2389 bpf_map__set_max_entries(profile_obj->maps.events, num_metric * num_cpu); in do_profile()
2390 bpf_map__set_max_entries(profile_obj in do_profile()
[all...]

Completed in 5 milliseconds