It takes a format string, e.g.

        syscall:sysctl:entry {
                time("%+\n")
        }

OK?


Index: bt.5
===================================================================
RCS file: /cvs/src/usr.sbin/btrace/bt.5,v
retrieving revision 1.2
diff -u -p -r1.2 bt.5
--- bt.5        27 Jan 2020 14:15:25 -0000      1.2
+++ bt.5        18 Mar 2020 19:42:16 -0000
@@ -117,8 +117,9 @@ Print all (key, value) pairs from map
 .It Fn printf "fmt" ...
 print formatted string
 .Va fmt
-.It Fn time
-print formatted time
+.It Fn time timefmt
+print timestamps using
+.Xr strftime 3
 .El
 .Sh SEE ALSO
 .Xr awk 1 ,

Reply via email to