Re: bt.5: Fix time() description

2020-03-18 Thread Ingo Schwarze
Hi Martin, hi Klemens, Martin Pieuchot wrote on Wed, Mar 18, 2020 at 09:06:24PM +0100: > On 18/03/20(Wed) 20:45, Klemens Nanni wrote: >> It takes a format string, e.g. >> >> syscall:sysctl:entry { >> time("%+\n") >> } I can't comment on the content of bt(5). > This is in

Re: bt.5: Fix time() description

2020-03-18 Thread Klemens Nanni
On Wed, Mar 18, 2020 at 09:06:24PM +0100, Martin Pieuchot wrote: > This is indeed an improvement, thanks! I don't know how to point that > 'format' or 'timefmt' is the same as describe in strftime(3). Does that > mean strftime(3) should appear in SEE ALSO? I see no value in adding it to that sect

Re: bt.5: Fix time() description

2020-03-18 Thread Martin Pieuchot
On 18/03/20(Wed) 20:45, Klemens Nanni wrote: > It takes a format string, e.g. > > syscall:sysctl:entry { > time("%+\n") > } > This is indeed an improvement, thanks! I don't know how to point that 'format' or 'timefmt' is the same as describe in strftime(3). Does that

bt.5: Fix time() description

2020-03-18 Thread Klemens Nanni
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.527 Jan