You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aya/test/integration-ebpf/src/two_progs.rs

17 lines
360 B
Rust

#![no_std]
#![no_main]
#![expect(unused_crate_dependencies, reason = "used in other bins")]
use aya_ebpf::{macros::tracepoint, programs::TracePointContext};
#[cfg(not(test))]
extern crate ebpf_panic;
#[tracepoint]
fn test_tracepoint_one(_ctx: TracePointContext) -> u32 {
0
}
#[tracepoint]
fn test_tracepoint_two(_ctx: TracePointContext) -> u32 {
0
}