+20
−0
+3
−0
+140
−0
Loading
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8OIT1 CVE: NA -------------------------------- Support kfunc for BPF_PROG_TYPE_SCHED. And add the helper functions to get cpu statistics, as follows: 1.acquire cfs/rt/irq cpu load statitic. 2.acquire multiple types of nr_running statitic. 3.acquire cpu idle statitic. 4.acquire cpu capacity. Based on CPU statistics in different dimensions, specific scheduling policies can be implemented in bpf program. Signed-off-by:Chen Hui <judy.chenhui@huawei.com> Signed-off-by:
Hui Tang <tanghui20@huawei.com>