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 e

dt: add kernel function boundary tracing provider

2020-11-14 Thread Tom Rollet
+  struct dt_probe *  dt_dev_alloc_probe(const char *func, const char *name, struct dt_provider *dtpv)  { @@ -493,6 +528,9 @@ dt_dev_alloc_probe(const char *func, const char *name, struct dt_provider *dtpv) dtp->dtp_func = func;      dtp->dtp_name = name; dtp->dtp_sysnum =

Re: Infinite loop in uvm protection mapping

2020-10-26 Thread Tom Rollet
On 26/10/2020 03:31, Tom Rollet wrote: On 20/10/2020 06:16, Philip Guenther wrote: On Mon, Oct 19, 2020 at 3:13 PM Tom Rollet <mailto:tom.rol...@epita.fr>> wrote: Hi, I'm starting to help in the development of the dt device. I'm stuck on permission handling of

Re: Infinite loop in uvm protection mapping

2020-10-25 Thread Tom Rollet
On 20/10/2020 06:16, Philip Guenther wrote: On Mon, Oct 19, 2020 at 3:13 PM Tom Rollet <mailto:tom.rol...@epita.fr>> wrote: Hi, I'm starting to help in the development of the dt device. I'm stuck on permission handling of memory. I'm trying to allocate a

Infinite loop in uvm protection mapping

2020-10-19 Thread Tom Rollet
hout error message, I can't launch the kernel debugger and I don't know how debug it further. Does anyone have an idea how to fix this issue? Thanks -- Tom Rollet