Home
last modified time | relevance | path

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

/openbmc/linux/tools/bpf/bpftool/
H A Dprog.c2260 static struct profiler_bpf *profile_obj; variable
2339 profile_close_perf_events(profile_obj); in profile_print_and_cleanup()
2340 profile_read_values(profile_obj); in profile_print_and_cleanup()
2342 profiler_bpf__destroy(profile_obj); in profile_print_and_cleanup()
2393 profile_obj = profiler_bpf__open(); in do_profile()
2394 if (!profile_obj) { in do_profile()
2399 profile_obj->rodata->num_cpu = num_cpu; in do_profile()
2400 profile_obj->rodata->num_metric = num_metric; in do_profile()
2403 bpf_map__set_max_entries(profile_obj->maps.events, num_metric * num_cpu); in do_profile()
2404 bpf_map__set_max_entries(profile_obj->maps.fentry_readings, num_metric); in do_profile()
[all …]