Skip to content

Commit

Permalink
examples: update library dependency
Browse files Browse the repository at this point in the history
Update the library dependency, require Go 1.16 and regenerate
the bpf2go examples.
  • Loading branch information
lmb committed Aug 24, 2021
1 parent fd47e5b commit 09ea232
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.so
*.dylib
*.o
!*_bpf*.o

# Test binary, build with `go test -c`
*.test
Expand Down
1 change: 0 additions & 1 deletion cmd/bpf2go/.gitignore

This file was deleted.

4 changes: 2 additions & 2 deletions examples/go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/cilium/ebpf/examples

go 1.15
go 1.16

require (
github.com/cilium/ebpf v0.6.1-0.20210610105443-1e7f01c7124c
github.com/cilium/ebpf v0.6.3-0.20210824075127-fd47e5b9af5d
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c
)
4 changes: 2 additions & 2 deletions examples/go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/cilium/ebpf v0.6.1-0.20210610105443-1e7f01c7124c h1:+osaDbf1nIejkhMPiX4xut6YHpMRbvTk1Wwz0czxUCU=
github.com/cilium/ebpf v0.6.1-0.20210610105443-1e7f01c7124c/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs=
github.com/cilium/ebpf v0.6.3-0.20210824075127-fd47e5b9af5d h1:ahYVESXSlkHrjQpFJq7BegoOHjHfIPa0SCvQ0+V5Rqk=
github.com/cilium/ebpf v0.6.3-0.20210824075127-fd47e5b9af5d/go.mod h1:63zIkgzjGpMr5FsPcOqVbPQKVnNymtucTKwakaYF+lw=
github.com/frankban/quicktest v1.11.3 h1:8sXhOn0uLys67V8EsXLc6eszDs8VXWxL3iRvebPhedY=
github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k=
github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=
Expand Down
8 changes: 5 additions & 3 deletions examples/kprobe/kprobeexample_bpfeb.go

Large diffs are not rendered by default.

Binary file added examples/kprobe/kprobeexample_bpfeb.o
Binary file not shown.
8 changes: 5 additions & 3 deletions examples/kprobe/kprobeexample_bpfel.go

Large diffs are not rendered by default.

Binary file added examples/kprobe/kprobeexample_bpfel.o
Binary file not shown.
8 changes: 5 additions & 3 deletions examples/kprobepin/kprobepinexample_bpfeb.go

Large diffs are not rendered by default.

Binary file added examples/kprobepin/kprobepinexample_bpfeb.o
Binary file not shown.
8 changes: 5 additions & 3 deletions examples/kprobepin/kprobepinexample_bpfel.go

Large diffs are not rendered by default.

Binary file added examples/kprobepin/kprobepinexample_bpfel.o
Binary file not shown.
8 changes: 5 additions & 3 deletions examples/uretprobe/uretprobeexample_bpfeb.go

Large diffs are not rendered by default.

Binary file added examples/uretprobe/uretprobeexample_bpfeb.o
Binary file not shown.
8 changes: 5 additions & 3 deletions examples/uretprobe/uretprobeexample_bpfel.go

Large diffs are not rendered by default.

Binary file added examples/uretprobe/uretprobeexample_bpfel.o
Binary file not shown.

0 comments on commit 09ea232

Please sign in to comment.