From 81b7b62a3a5775bc3477741c8d05c1c1cfcdd6f6 Mon Sep 17 00:00:00 2001 From: Martynas Pumputis Date: Fri, 13 Sep 2024 10:57:49 +0200 Subject: [PATCH] Enable --output-tuple and --output-meta by default I haven't seen any investigation which did not use both. Signed-off-by: Martynas Pumputis --- internal/pwru/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/pwru/types.go b/internal/pwru/types.go index eb42333e..f7ec9a92 100644 --- a/internal/pwru/types.go +++ b/internal/pwru/types.go @@ -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")