mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-29 06:00:23 +00:00
e9a9d32ab6
- combine c and kernel-examples as it's confusing to have both - rename 'rust-user' and 'c-user' to just 'rust' and 'c', which is simpler - update and fix sync-to-kernel.sh
19 lines
343 B
C
19 lines
343 B
C
#ifndef __SCX_NEST_H
|
|
#define __SCX_NEST_H
|
|
|
|
enum nest_stat_group {
|
|
STAT_GRP_WAKEUP,
|
|
STAT_GRP_NEST,
|
|
STAT_GRP_CONSUME,
|
|
};
|
|
|
|
#define NEST_STAT(__stat) BPFSTAT_##__stat
|
|
#define NEST_ST(__stat, __grp, __desc) NEST_STAT(__stat),
|
|
enum nest_stat_idx {
|
|
#include "scx_nest_stats_table.h"
|
|
NEST_ST(NR, 0, 0)
|
|
};
|
|
#undef NEST_ST
|
|
|
|
#endif /* __SCX_NEST_H */
|