We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4b80f2 commit 1180babCopy full SHA for 1180bab
main.go
@@ -139,6 +139,13 @@ func main() {
139
}
140
141
142
+ // Skip the skb funcs when --filter-trace-only-bpf is enabled
143
+ if flags.FilterTraceOnlyBpf {
144
+ for i := 1; i <= 5; i++ {
145
+ delete(bpfSpec.Programs, fmt.Sprintf("kprobe_skb_%d", i))
146
+ delete(bpfSpec.Programs, fmt.Sprintf("kprobe_multi_skb_%d", i))
147
+ }
148
149
for name, program := range bpfSpec.Programs {
150
// Skip the skb-tracking ones that should not inject pcap-filter.
151
switch name {
0 commit comments