15ff54dedSFeng Zhou // SPDX-License-Identifier: GPL-2.0
25ff54dedSFeng Zhou /* Copyright (c) 2023 Bytedance */
35ff54dedSFeng Zhou 
45ff54dedSFeng Zhou #include "vmlinux.h"
55ff54dedSFeng Zhou #include <bpf/bpf_helpers.h>
65ff54dedSFeng Zhou #include <bpf/bpf_tracing.h>
75ff54dedSFeng Zhou 
85ff54dedSFeng Zhou unsigned long span = 0;
95ff54dedSFeng Zhou 
10*5405807eSMartin KaFai Lau SEC("fentry/sched_balance_rq")
BPF_PROG(fentry_fentry,int this_cpu,struct rq * this_rq,struct sched_domain * sd)115ff54dedSFeng Zhou int BPF_PROG(fentry_fentry, int this_cpu, struct rq *this_rq,
125ff54dedSFeng Zhou 		struct sched_domain *sd)
135ff54dedSFeng Zhou {
145ff54dedSFeng Zhou 	span = sd->span[0];
155ff54dedSFeng Zhou 
165ff54dedSFeng Zhou 	return 0;
175ff54dedSFeng Zhou }
185ff54dedSFeng Zhou 
195ff54dedSFeng Zhou char _license[] SEC("license") = "GPL";
20