2023-12-17 20:01:40 +00:00
|
|
|
c_scheds = ['scx_simple', 'scx_qmap', 'scx_central', 'scx_pair', 'scx_flatcg', 'scx_userland', 'scx_nest']
|
2023-11-28 00:47:04 +00:00
|
|
|
|
|
|
|
foreach sched: c_scheds
|
2023-12-15 22:07:51 +00:00
|
|
|
thread_dep = dependency('threads')
|
2023-11-28 00:47:04 +00:00
|
|
|
bpf_o = gen_bpf_o.process(sched + '.bpf.c', extra_args: bpf_includes)
|
|
|
|
bpf_skel = gen_bpf_skel.process(bpf_o)
|
|
|
|
executable(sched, [bpf_skel, sched + '.c'],
|
|
|
|
include_directories: [user_c_includes],
|
2024-04-04 09:38:10 +01:00
|
|
|
dependencies: [kernel_dep, libbpf_dep, thread_dep],
|
2023-12-01 23:37:28 +00:00
|
|
|
install: true)
|
2023-11-28 00:47:04 +00:00
|
|
|
endforeach
|