File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import (
29
29
"github.com/cilium/ebpf/rlimit"
30
30
)
31
31
32
- //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux -type event bpf fentry.c -- -I../headers
32
+ //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux bpf fentry.c -- -I../headers
33
33
34
34
func main () {
35
35
stopper := make (chan os.Signal , 1 )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import (
18
18
"github.com/cilium/ebpf/rlimit"
19
19
)
20
20
21
- //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux -type event bpf ringbuffer.c -- -I../headers
21
+ //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux bpf ringbuffer.c -- -I../headers
22
22
23
23
func main () {
24
24
// Name of the kernel function to trace.
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import (
30
30
"github.com/cilium/ebpf/rlimit"
31
31
)
32
32
33
- //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux -type event bpf tcprtt.c -- -I../headers
33
+ //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux bpf tcprtt.c -- -I../headers
34
34
35
35
func main () {
36
36
stopper := make (chan os.Signal , 1 )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import (
39
39
"golang.org/x/sys/unix"
40
40
)
41
41
42
- //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux -tags "linux" -type rtt_event bpf tcprtt_sockops.c -- -I../headers
42
+ //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux -tags "linux" bpf tcprtt_sockops.c -- -I../headers
43
43
44
44
func main () {
45
45
stopper := make (chan os.Signal , 1 )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
22
22
"github.com/cilium/ebpf/rlimit"
23
23
)
24
24
25
- //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux -target amd64 -type event bpf uretprobe.c -- -I../headers
25
+ //go:generate go run github.com/cilium/ebpf/cmd/bpf2go -tags linux -target amd64 bpf uretprobe.c -- -I../headers
26
26
27
27
const (
28
28
// The path to the ELF binary containing the function to trace.
You can’t perform that action at this time.
0 commit comments