Enable BPF shared objects (#2012)

* Switch to BPF ELF shared objects (.so)
This commit is contained in:
jackcmay
2018-12-04 22:03:32 -08:00
committed by GitHub
parent 209040e80e
commit 0cb5ae41c6
7 changed files with 220 additions and 129 deletions

View File

@ -26,7 +26,7 @@ use std::path::PathBuf;
/// BPF program file extension
#[cfg(feature = "bpf_c")]
const PLATFORM_FILE_EXTENSION_BPF: &str = "o";
const PLATFORM_FILE_EXTENSION_BPF: &str = "so";
/// Create a BPF program file name
#[cfg(feature = "bpf_c")]
fn create_bpf_path(name: &str) -> PathBuf {