]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: implement tracemem optional third arg (dyn size)
authorEugene Loh <eugene.loh@oracle>
Thu, 7 Sep 2017 15:40:16 +0000 (08:40 -0700)
committerTomas Jedlicka <tomas.jedlicka@oracle.com>
Thu, 14 Sep 2017 09:12:13 +0000 (11:12 +0200)
commit78ac89eca9304be623d4ec6fb89bef950162a171
treef7966b4ca7b59df3617d333c1a87b887a7a3207f
parent61ca8fd927ae7770deb7f1032a55afccaf957a0b
dtrace: implement tracemem optional third arg (dyn size)

Solaris DTrace added a third, optional argument, dynamic size.
Here we implement this for Linux, including introducing the
new user-visible arguments
DTRACE_TRACEMEM_STATIC
DTRACE_TRACEMEM_DYNAMIC
DTRACE_TRACEMEM_SIZE
DTRACE_TRACEMEM_SSIZE
as well as refactoring the
dt_print_bytes() raw label, making it its own function
dt_print_rawbytes().

Orabug: 26223475

Signed-off-by: Eugene Loh <eugene.loh@oracle.com>
Reviewed-by: Tomas Jedlicka <tomas.jedlicka@oracle.com>
dtrace/dtrace_ecb.c
dtrace/dtrace_probe.c
include/uapi/linux/dtrace/actions_defines.h