<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/dev/dt, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/dt?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/dt?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-03-28T15:42:25Z</updated>
<entry>
<title>Export the number of arguments exposed by a probe to userland.</title>
<updated>2020-03-28T15:42:25Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-03-28T15:42:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=238295763ced58d84d82653d6eb4cda9b1927b27'/>
<id>urn:sha1:238295763ced58d84d82653d6eb4cda9b1927b27</id>
<content type='text'>
Also make the syscall provider exports the number of syscall
arguments.  This will allow for stricter checks when parsing
`argN' and future `args-&gt;name'.

This is an ABI change, don't forget to keep btrace(8) and your
kernel in sync.
</content>
</entry>
<entry>
<title>Introduce stacktrace_save_at() and make use of it in dt(4).</title>
<updated>2020-03-25T14:59:23Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-03-25T14:59:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ecfa01e02ef35102b8a3242b3b6394ca528f935e'/>
<id>urn:sha1:ecfa01e02ef35102b8a3242b3b6394ca528f935e</id>
<content type='text'>
This variant of stacktrace_save() takes an aditionnal argument to skip
an arbitrary number of frame.  This allows to skip recording frames used
to execute the profiling code and produces outputs easier to understand.

Inputs from and ok visa@
</content>
</entry>
<entry>
<title>Replace msleep(9) by sleep_setup/setup_signal/finish() dance.</title>
<updated>2020-02-04T10:56:15Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-02-04T10:56:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1159b64969d2758308ac09b677e99fb50a97ca6a'/>
<id>urn:sha1:1159b64969d2758308ac09b677e99fb50a97ca6a</id>
<content type='text'>
This handrolled cond_wait() dealing with signals prevents a lock
ordering problem when executing probes inside the scheduler code.

That means we stop relying on a mutex for synchronisation and instead
rely on the sleep_* internals, currently the SCHED_LOCK().

From kettenis@
</content>
</entry>
<entry>
<title>Improve use of SMR in dt(4) by changing the time when smr_barrier()</title>
<updated>2020-01-27T17:13:33Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-01-27T17:13:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0e146e1b7bfd98a4826341ccc1fd28b5a1f1026c'/>
<id>urn:sha1:0e146e1b7bfd98a4826341ccc1fd28b5a1f1026c</id>
<content type='text'>
is invoked. This enables threads to continue gathering events without
interruption when another thread starts or stops recording.

OK mpi@
</content>
</entry>
<entry>
<title>New `kern.allowdt' button must be set to open(2) /dev/dt.</title>
<updated>2020-01-24T14:00:31Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-01-24T14:00:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c4318b7540a1c4c503732a1e40da9aaf95e3d46b'/>
<id>urn:sha1:c4318b7540a1c4c503732a1e40da9aaf95e3d46b</id>
<content type='text'>
dt(4) exposes kernel internals, addresses and content of states to
userland.  As such its interface shouldn't be available without
enabling it consciously.

ok millert@, deraadt@
</content>
</entry>
<entry>
<title>Import dt(4) a driver and framework for Dynamic Profiling.</title>
<updated>2020-01-21T16:16:22Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-01-21T16:16:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=91b2ecf67e2a667ccefd071f95f44a8068f1bbc4'/>
<id>urn:sha1:91b2ecf67e2a667ccefd071f95f44a8068f1bbc4</id>
<content type='text'>
The design is fairly simple: events, in the form of descriptors on a
ring, are being produced in any kernel context and being consumed by
a userland process reading /dev/dt.

Code and hooks are all guarded under '#if NDT &gt; 0' so this commit
shouldn't introduce any change as long as dt(4) is disable in GENERIC.

ok kettenis@, visa@, jasper@, deraadt@
</content>
</entry>
</feed>
