Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dcpustat_user.c25 #define MAX_CSTATE_ENTRIES 3 macro
33 unsigned long cstate[MAX_CSTATE_ENTRIES];
52 for (i = 0; i < MAX_CSTATE_ENTRIES; i++) { in cpu_stat_print()
68 for (i = 0; i < MAX_CSTATE_ENTRIES; i++) in cpu_stat_print()
84 for (i = 0; i < MAX_CSTATE_ENTRIES; i++) { in cpu_stat_update()
85 key = c * MAX_CSTATE_ENTRIES + i; in cpu_stat_update()
H A Dcpustat_kern.c23 #define MAX_CSTATE_ENTRIES 3 macro
66 __uint(max_entries, MAX_CPU * MAX_CSTATE_ENTRIES);
198 key = cpu * MAX_CSTATE_ENTRIES + prev_state; in bpf_prog1()