Skip to content

Commit

Permalink
for test purpose only: Remove opensnoop gadget.
Browse files Browse the repository at this point in the history
It fails to build with this error message:
Error: can't write /gadget/pkg/gadgets/opensnoop/tracer/core/opensnoop_bpfel.go: can't generate types: template: common:19:4: executing "common" at <$.TypeDeclaration>: error calling TypeDeclaration: struct#13["args_t"]: field 0: type pointer#14[target=#15]: not supported
exit status 1
../tracer.go:39: running "sh": exit status 1
make[1]: *** [Makefile:3: all] Error 1

Signed-off-by: Francis Laniel <flaniel@linux.microsoft.com>
  • Loading branch information
eiffel-fl committed Feb 22, 2022
1 parent 2912838 commit a4efbb2
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 979 deletions.
148 changes: 0 additions & 148 deletions cmd/kubectl-gadget/opensnoop.go

This file was deleted.

2 changes: 0 additions & 2 deletions pkg/gadget-collection/gadget-collection.go
Expand Up @@ -23,7 +23,6 @@ import (
"github.com/kinvolk/inspektor-gadget/pkg/gadgets/filetop"
networkpolicyadvisor "github.com/kinvolk/inspektor-gadget/pkg/gadgets/networkpolicy"
"github.com/kinvolk/inspektor-gadget/pkg/gadgets/oomkill"
"github.com/kinvolk/inspektor-gadget/pkg/gadgets/opensnoop"
processcollector "github.com/kinvolk/inspektor-gadget/pkg/gadgets/process-collector"
"github.com/kinvolk/inspektor-gadget/pkg/gadgets/seccomp"
"github.com/kinvolk/inspektor-gadget/pkg/gadgets/snisnoop"
Expand All @@ -38,7 +37,6 @@ func TraceFactories() map[string]gadgets.TraceFactory {
"dns": dns.NewFactory(),
"execsnoop": execsnoop.NewFactory(),
"filetop": filetop.NewFactory(),
"opensnoop": opensnoop.NewFactory(),
"network-policy-advisor": networkpolicyadvisor.NewFactory(),
"oomkill": oomkill.NewFactory(),
"process-collector": processcollector.NewFactory(),
Expand Down
147 changes: 0 additions & 147 deletions pkg/gadgets/opensnoop/gadget.go

This file was deleted.

6 changes: 0 additions & 6 deletions pkg/gadgets/opensnoop/tracer/core/bpf/Makefile

This file was deleted.

0 comments on commit a4efbb2

Please sign in to comment.