diff options
Diffstat (limited to 'progs')
-rw-r--r-- | progs/include/bpf_timeinstate.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/include/bpf_timeinstate.h b/progs/include/bpf_timeinstate.h index 7cb7baa..1065b6e 100644 --- a/progs/include/bpf_timeinstate.h +++ b/progs/include/bpf_timeinstate.h @@ -19,6 +19,10 @@ #define BPF_FS_PATH "/sys/fs/bpf/" +// Number of frequencies tracked in the array with total time. If some CPUs have +// more than 64 freqs +// // available, the overflow is stored in the last entry. +#define MAX_FREQS_FOR_TOTAL 64 // Number of frequencies for which a UID's times can be tracked in a single map entry. If some CPUs // have more than 32 freqs available, a single UID is tracked using 2 or more entries. #define FREQS_PER_ENTRY 32 |