scx_lavd/
bpf_skel.rs

1// SPDX-License-Identifier: GPL-2.0
2//
3// Copyright (c) 2024 Valve Corporation.
4// Author: Changwoo Min <changwoo@igalia.com>
5
6// This software may be used and distributed according to the terms of the
7// GNU General Public License version 2.
8
9// We can't directly include the generated skeleton in main.rs as it may
10// contain compiler attributes that can't be `include!()`ed via macro and we
11// can't use the `#[path = "..."]` because `concat!(env!("OUT_DIR"),
12// "/bpf.skel.rs")` does not work inside the path attribute yet (see
13// https://github.com/rust-lang/rust/pull/83366).
14
15include!(concat!(env!("OUT_DIR"), "/bpf_skel.rs"));