]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: SDT cleanup and bring in line with kernel
authorKris Van Hees <kris.van.hees@oracle.com>
Sat, 17 Dec 2016 23:08:44 +0000 (18:08 -0500)
committerKris Van Hees <kris.van.hees@oracle.com>
Sat, 24 Dec 2016 06:27:19 +0000 (01:27 -0500)
commite2851b0ad93f7d95c0654ccfb7910ba368662c8c
treeb70b88436090ad75598a8b1505716ef0037d0fb2
parentc031f1c714bb9562e30ee12d7c0222abb46b49ea
dtrace: SDT cleanup and bring in line with kernel

This commit performs some cleanup on the SDT provider, removing some
housekeeping tasks that are no longer needed (such as the need for an
arch-specific sdt_provide_module_arch() function).

This commit also contains a fix for the loop used in enabling and
disabling probes.  It was failing to ensure that the enable/disable
function was being called with the correct SDT probe.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/include/sparc64/dtrace/sdt_arch.h
dtrace/include/x86_64/dtrace/sdt_arch.h
dtrace/sdt_dev.c
dtrace/sdt_sparc64.c
dtrace/sdt_x86_64.c