bpf_ksym_exists
if (bpf_ksym_exists(scx_bpf_dsq_peek))
if (bpf_ksym_exists(scx_bpf_sub_dispatch___compat))
if (bpf_ksym_exists(scx_bpf_cid_override___compat))
(bpf_ksym_exists(scx_bpf_now) ? \
(bpf_ksym_exists(scx_bpf_events) ? \
(bpf_ksym_exists(scx_bpf_nr_node_ids) ? \
(bpf_ksym_exists(scx_bpf_cpu_node) ? \
(bpf_ksym_exists(scx_bpf_get_idle_cpumask_node) ? \
(bpf_ksym_exists(scx_bpf_task_cgroup___new) ? \
(bpf_ksym_exists(scx_bpf_get_idle_smtmask_node) ? \
(bpf_ksym_exists(scx_bpf_pick_idle_cpu_node) ? \
(bpf_ksym_exists(scx_bpf_pick_any_cpu_node) ? \
if (bpf_ksym_exists(scx_bpf_cpu_curr))
bpf_ksym_exists(scx_bpf_select_cpu_and___compat))
} else if (bpf_ksym_exists(scx_bpf_dsq_insert_vtime___compat)) {
if (bpf_ksym_exists(scx_bpf_dsq_insert___v2___compat)) {
} else if (bpf_ksym_exists(scx_bpf_dsq_insert___v1)) {
if (bpf_ksym_exists(scx_bpf_task_set_slice___new))
if (bpf_ksym_exists(scx_bpf_task_set_dsq_vtime___new))
return bpf_ksym_exists(scx_bpf_reenqueue_local___v2___compat);
return bpf_ksym_exists(scx_bpf_dsq_reenq___compat);
if (bpf_ksym_exists(scx_bpf_dsq_reenq___compat))
(bpf_ksym_exists(scx_bpf_dsq_move_to_local___v2) ? \
(bpf_ksym_exists(scx_bpf_dsq_move_to_local___v1) ? \
(bpf_ksym_exists(scx_bpf_dsq_move_set_slice___new) ? \
(bpf_ksym_exists(scx_bpf_dispatch_from_dsq_set_slice___old) ? \
(bpf_ksym_exists(scx_bpf_dsq_move_set_vtime___new) ? \
(bpf_ksym_exists(scx_bpf_dispatch_from_dsq_set_vtime___old) ? \
(bpf_ksym_exists(scx_bpf_dsq_move___new) ? \
(bpf_ksym_exists(scx_bpf_dispatch_from_dsq___old) ? \
(bpf_ksym_exists(scx_bpf_dsq_move_vtime___new) ? \
(bpf_ksym_exists(scx_bpf_dispatch_vtime_from_dsq___old) ? \
(bpf_ksym_exists(bpf_cpumask_populate) ? \
if (bpf_ksym_exists(&__preempt_count))
if (bpf_ksym_exists(bpf_task_acquire___two))
else if (bpf_ksym_exists(bpf_task_acquire___three))
if (!bpf_ksym_exists(bpf_task_acquire)) {
if (!bpf_ksym_exists(bpf_testmod_test_mod_kfunc)) {
if (bpf_ksym_exists(invalid_kfunc)) {
if (bpf_ksym_exists(bpf_task_acquire___one)) {
} else if (bpf_ksym_exists(bpf_task_acquire___two)) {
} else if (bpf_ksym_exists(bpf_task_acquire___three)) {
if (rq && bpf_ksym_exists(&runqueues))
if (!bpf_ksym_exists(bpf_task_acquire))
if (!bpf_ksym_exists(bpf_testmod_test_mod_kfunc))
if (bpf_ksym_exists(invalid_kfunc))
debug_ksym_exists = bpf_ksym_exists(scx_bpf_dsq_peek) ? 1 : 0;