Commit Graph

2 Commits (2efbea04f2a8ae744586a4d5d12f10478a5926ec)

Author SHA1 Message Date
Tamir Duberstein 2efbea04f2
integration-test: compile Rust probes using build.rs 2 years ago
Tamir Duberstein 721bb123dd
integration-test: compile C probes using build.rs
- Add libbpf as a submodule. This prevents having to plumb its location
  around (which can't be passed to Cargo build scripts) and also
  controls the version against which codegen has run.
- Move bpf written in C to the integration-test crate and define
  constants for each probe.
- Remove magic; each C source file must be directly enumerated in the
  build script and in lib.rs.
2 years ago