Searched refs:has_datasec (Results 1 – 1 of 1) sorted by relevance
1364 bool has_datasec = obj->caps.btf_datasec; in bpf_object__sanitize_btf() local1370 if (!obj->btf || (has_func && has_datasec)) in bpf_object__sanitize_btf()1376 if (!has_datasec && btf_is_var(t)) { in bpf_object__sanitize_btf()1386 } else if (!has_datasec && btf_is_datasec(t)) { in bpf_object__sanitize_btf()