Skip to content

Commit 09ea232

Browse files
committed
examples: update library dependency
Update the library dependency, require Go 1.16 and regenerate the bpf2go examples.
1 parent fd47e5b commit 09ea232

16 files changed

+35
-23
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*.so
66
*.dylib
77
*.o
8+
!*_bpf*.o
89

910
# Test binary, build with `go test -c`
1011
*.test

cmd/bpf2go/.gitignore

-1
This file was deleted.

examples/go.mod

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/cilium/ebpf/examples
22

3-
go 1.15
3+
go 1.16
44

55
require (
6-
github.com/cilium/ebpf v0.6.1-0.20210610105443-1e7f01c7124c
6+
github.com/cilium/ebpf v0.6.3-0.20210824075127-fd47e5b9af5d
77
golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c
88
)

examples/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/cilium/ebpf v0.6.1-0.20210610105443-1e7f01c7124c h1:+osaDbf1nIejkhMPiX4xut6YHpMRbvTk1Wwz0czxUCU=
2-
github.com/cilium/ebpf v0.6.1-0.20210610105443-1e7f01c7124c/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs=
1+
github.com/cilium/ebpf v0.6.3-0.20210824075127-fd47e5b9af5d h1:ahYVESXSlkHrjQpFJq7BegoOHjHfIPa0SCvQ0+V5Rqk=
2+
github.com/cilium/ebpf v0.6.3-0.20210824075127-fd47e5b9af5d/go.mod h1:63zIkgzjGpMr5FsPcOqVbPQKVnNymtucTKwakaYF+lw=
33
github.com/frankban/quicktest v1.11.3 h1:8sXhOn0uLys67V8EsXLc6eszDs8VXWxL3iRvebPhedY=
44
github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k=
55
github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=

examples/kprobe/kprobeexample_bpfeb.go

+5-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/kprobe/kprobeexample_bpfeb.o

6.06 KB
Binary file not shown.

examples/kprobe/kprobeexample_bpfel.go

+5-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/kprobe/kprobeexample_bpfel.o

6.06 KB
Binary file not shown.

examples/kprobepin/kprobepinexample_bpfeb.go

+5-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
6.19 KB
Binary file not shown.

examples/kprobepin/kprobepinexample_bpfel.go

+5-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
6.19 KB
Binary file not shown.

examples/uretprobe/uretprobeexample_bpfeb.go

+5-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
7.05 KB
Binary file not shown.

examples/uretprobe/uretprobeexample_bpfel.go

+5-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
7.05 KB
Binary file not shown.

0 commit comments

Comments
 (0)