Am Tue, May 04, 2021 at 03:38:14PM -0000 schrieb Stuart Henderson: > On 2021-05-04, Why 42? The lists account. <li...@y42.org> wrote: > > > > On Mon, May 03, 2021 at 12:59:27AM +0200, Patrick Wildt wrote: > >> > ... > >> > But when I do (as root): "sysctl kern.allowdt=1" it returns this error: > >> > sysctl: kern.allowdt: Operation not permitted > >> > >> Similarly to kern.allowkmem, you can only set it when the securelevel is > >> still 'low'. That's for security. You need to add kern.allowdt=1 to > >> sysctl.conf, and then reboot. Then it'll be enabled after reboot. > > > > Thanks Patrick! After the reboot I was able to experiment with btrace. > > > > Do you use it, do you have any examples that might help to get started? > > Here's one example: > https://marc.info/?l=openbsd-bugs&m=158583371404603&w=2
That's exactly the one I use. Though with varying hz (1-60)