Skip to content

Fix compilation errors on android v5.4

Darryl Green requested to merge github/fork/qais-yousef/sched-tp-fixes into master

Created by: qais-yousef

This is a tricky one. sched_nr_running I believe is optional, but @ionela-voinescu reported that not including sched_util_est_{se,cfs} leads to these errors.

[2021-11-29 21:59:22,712][EXEKALL] ERROR  ValueError: Events are missing in the kernel. Enable kmod_auto_load=True to attempt setting them up: (sched_cpu_capacity and sched_cpu_capacity and sched_util_est_cfs and sched_util_est_cfs and sched_util_est_se and sched_util_est_se)

It's either we fail to build the module for these required events. Or make LISA less fussy about them being missing and just skip the tests that require them.

Merge request reports