Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/samples/bpf/
H A Dcpustat_user.c22 static int cstate_map_fd, pstate_map_fd; variable
185 cpu_stat_update(cstate_map_fd, pstate_map_fd); in int_exit()
218 pstate_map_fd = bpf_object__find_map_fd_by_name(obj, "pstate_duration"); in main()
219 if (cstate_map_fd < 0 || pstate_map_fd < 0) { in main()
243 cpu_stat_update(cstate_map_fd, pstate_map_fd); in main()
/kernel/linux/linux-6.6/samples/bpf/
H A Dcpustat_user.c21 static int cstate_map_fd, pstate_map_fd; variable
184 cpu_stat_update(cstate_map_fd, pstate_map_fd); in int_exit()
217 pstate_map_fd = bpf_object__find_map_fd_by_name(obj, "pstate_duration"); in main()
218 if (cstate_map_fd < 0 || pstate_map_fd < 0) { in main()
242 cpu_stat_update(cstate_map_fd, pstate_map_fd); in main()

Completed in 1 milliseconds