Skip to content

Commit

Permalink
Enable --output-tuple and --output-meta by default
Browse files Browse the repository at this point in the history
I haven't seen any investigation which did not use both.

Signed-off-by: Martynas Pumputis <[email protected]>
  • Loading branch information
brb committed Sep 13, 2024
1 parent ca38cef commit 81b7b62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/pwru/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ func (f *Flags) SetFlags() {
flag.StringVar(&f.FilterIfname, "filter-ifname", "", "filter skb ifname in --filter-netns (if not specified, use current netns)")
flag.UintVar(&f.FilterKprobeBatch, "filter-kprobe-batch", 10, "batch size for kprobe attaching/detaching")
flag.StringVar(&f.OutputTS, "timestamp", "none", "print timestamp per skb (\"current\", \"relative\", \"absolute\", \"none\")")
flag.BoolVar(&f.OutputMeta, "output-meta", false, "print skb metadata")
flag.BoolVar(&f.OutputTuple, "output-tuple", false, "print L4 tuple")
flag.BoolVar(&f.OutputMeta, "output-meta", true, "print skb metadata")
flag.BoolVar(&f.OutputTuple, "output-tuple", true, "print L4 tuple")
flag.BoolVar(&f.OutputSkb, "output-skb", false, "print skb")
flag.BoolVar(&f.OutputShinfo, "output-skb-shared-info", false, "print skb shared info")
flag.BoolVar(&f.OutputStack, "output-stack", false, "print stack")
Expand Down

0 comments on commit 81b7b62

Please sign in to comment.