]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: only sparc64 uses sdt_tab in pdata
authorKris Van Hees <kris.van.hees@oracle.com>
Wed, 8 Jul 2015 22:33:37 +0000 (18:33 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Tue, 21 Jul 2015 06:51:25 +0000 (02:51 -0400)
commit8bbb38ae2b104a16534c99a6f60abc1d37688143
tree74bb8f3f400f3566a7b98b6ad04a4f356b0c6bb0
parent23f6992d7477edb0f761d2cd21ec364b25758105
dtrace: only sparc64 uses sdt_tab in pdata

This commit introduces pdata_init() and pdata_cleanup() to allow
an architecture to perform arch-dependent operations on the pdata
information prior to assigning it to the module, and right before
getting rid of it (at module unloading time).

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: Nick Alcock <nick.alcock@oracle.com>
dtrace/dtrace_dev.c
dtrace/dtrace_isa_sparc64.c
dtrace/dtrace_isa_x86_64.c
dtrace/include/dtrace/dtrace_impl.h