Re: dt: add kernel function boundary tracing provider

2020-11-19 Thread Martin Pieuchot
Hello Tom, Thanks for sharing your work, that's awesome! On 14/11/20(Sat) 13:13, Tom Rollet wrote: > Here is a diff for dynamic tracing of kernel's functions boundaries. > It's implemented as one of the dt's provider on i386 and amd64. > To activate it, DDBPROF and pseudo device dt must be

Re: dt: add kernel function boundary tracing provider

2020-11-16 Thread Tom Rollet
As requested by Philip Guenther here is more information on how to use this new dt provider. After applying the diff you need to add to /etc/sysctl.conf ddb.profile=1 kern.allowdt=1 kern.allowkmem=1 There are two way to start the tracing. The first one is to use kgmon that will instantiate all

dt: add kernel function boundary tracing provider

2020-11-14 Thread Tom Rollet
Hi, Here is a diff for dynamic tracing of kernel's functions boundaries. It's implemented as one of the dt's provider on i386 and amd64. To activate it, DDBPROF and pseudo device dt must be activated on GENERIC. For now it's working like DTRACE fbt(function boundaries tracing). We replace the