1234567891011121314151617 |
- // Two programs in the same ELF section
- #![no_std]
- #![no_main]
- use aya_ebpf::{macros::tracepoint, programs::TracePointContext};
- #[cfg(not(test))]
- extern crate ebpf_panic;
- #[tracepoint]
- pub fn test_tracepoint_one(_ctx: TracePointContext) -> u32 {
- 0
- }
- #[tracepoint]
- pub fn test_tracepoint_two(_ctx: TracePointContext) -> u32 {
- 0
- }
|