Prints requested rows each time probe is fired
skbtrace dump -P PROBE... [flags]
dump -6 -P free -F 'dst == 2a02:6b8:...' -K -o ipv6
--context-filter RawFilters Filters. Use 'fields' subcommand to list available fields.
--context-key string Key to be used to map context probe firings to normal probe firings (default "tid")
-C, --context-probe strings Probe names that trigger normal probe execution. Use 'probes' subcommand to list available probes.
-F, --filter RawFilters Filters. Use 'fields' subcommand to list available fields.
-h, --help help for dump
-i, --iface string Interface device name. Shortcut for '$netdev->name == "Device"' filter.
-K, --kstack Dump kernel stack on each probe.
-P, --probe strings Probe names to generate. Use 'probes' subcommand to list available probes.
-o, --row strings Rows to be dumped. Use 'rows' helper to show available rows.
--time-mode TimeMode Time mode: 'time' for absolute wall time clock, 'delta' for elapsed time from previous probe firing or 'nsecs'/'elapsed' raw bpftrace global variables. (default time)
-U, --ustack Dump userspace stack on each probe.
--bpftrace string Path to bpftrace binary (default "bpftrace")
-D, --dump Dump bpftrace command instead of running it
-e, --encap string Type of encapsulation: 'gre' or 'udp' (default "gre")
-p, --hint strings Protocol hints for weak field aliases such as 'tcp' for 'sport'.
-6, --inet6 If specified, skbtrace assumes that inner header is IPv6.
--struct-keyword string Use struct keyword in casts: "" - do not use, "struct" - use, "auto" - deduce based on bpftrace version. (default "auto")
-T, --timeout duration Execution timeout for resulting bpftrace script (default 1m0s)
--unit string Time unit using for measurements: 'sec', 'ms', 'us' - default or 'ns' (default "us")
- skbtrace - A thin wrapper around bpftrace which allows to trace socket buffer contents