zero-cost SDT probes
Andriy Gapon
avg at FreeBSD.org
Thu Nov 26 07:36:50 UTC 2015
On 26/11/2015 01:25, Mark Johnston wrote:
> On Wed, Nov 25, 2015 at 03:15:33PM +0200, Konstantin Belousov wrote:
>> Several variations of the approach allow to control each probe site
>> individually, while still avoiding jumps and reducing the cache consumption.
>> And, of course, the biggest advantage is avoiding the need to change the
>> text at runtime.
[snip]
> I see. I think this could be made to work, but there's still the
> complication of passing arguments to the probe. Copying them into some
> block in curthread is one way to do this, but it seems more expensive
> than the standard calling convention on amd64 at least.
Besides, the FBT probes are not going anywhere and they require the run-time
text modification.
--
Andriy Gapon
More information about the freebsd-arch
mailing list