Skip to content

chen-keinan/ebpf-vagrantfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ebpf-vagrantfile

vagrant file to be used for ebpf program developments, file include :

  • centos/8
  • bpf tools
  • golang tools
  • dlv for remote debug

Quick Start

# git clone git@github.com:chen-keinan/ebpf-vagrantfile.git
# cd ebpf-vagrantfile
# vagrant up
# vagrant ssh

Compile binary with debug params

GOOS=linux GOARCH=amd64 go build -v -gcflags='-N -l' demo.go

Run debug on remote machine

dlv --listen=:2345 --headless=true --api-version=2 --accept-multiclient exec ./demo

Tear down

 vagrant destroy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages