Date: Sun, 15 Sep 2013 14:27:58 -0500 From: Pedro Giffuni <pfg@FreeBSD.org> To: dtrace@FreeBSD.org Subject: vmem(9) use in Dtrace Message-ID: <52360A3E.40804@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
Hi; Just noticed this, in the old DtraceTODO wiki: https://wiki.freebsd.org/DTraceTODO There is mention of some use that Dtrace makes of Solaris's vmem allocator, specifically vmem_create(), vmem_destroy(), vmem_alloc(), and vmem_free(). These functions (not exact but similar ones) have been brought to FreeBSD 10 (r252330). According to opengrok we may just have to uncomment some Solaris code in sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c This would reduce differences with the Solaris code but it has to be examined carefully as I think John Birrell had already solved the issue by providing the resource id's natively (kmem). Just thought I would point it out ... It may be that it is not worth spending too much time on it since the existing code should just work. Pedro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52360A3E.40804>