redbpf_probes/kprobe/
prelude.rs

1// Copyright 2019-2020 Authors of Red Sift
2//
3// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
4// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
5// http://opensource.org/licenses/MIT>, at your option. This file may not be
6// copied, modified, or distributed except according to those terms.
7
8//! The Kprobe Prelude
9//!
10//! The purpose of this module is to alleviate imports of the common kprobe types
11//! by adding a glob import to the top of kprobe programs:
12//!
13//! ```
14//! use redbpf_probes::kprobe::prelude::*;
15//! ```
16pub use crate::bindings::*;
17pub use crate::helpers::*;
18pub use crate::maps::*;
19pub use crate::registers::*;
20pub use cty::*;
21pub use redbpf_macros::{kprobe, kretprobe, map, program};