]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: convert FBT blacklist to RB-tree
authorKris Van Hees <kris.van.hees@oracle.com>
Mon, 12 Jun 2017 13:29:16 +0000 (09:29 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Mon, 26 Jun 2017 22:18:55 +0000 (18:18 -0400)
commit8327218a6c7495cf2387ba970aa8bac7e8a500de
tree7e35c0614008f3263712df2cd80a6e3bd187e011
parent0acae1e00534802b6a019db33cdde6540473ea72
dtrace: convert FBT blacklist to RB-tree

The blacklist for FBT was implemented as a sorted list, populated from
a static list of functions.  In order to allow functions to be added
from other places (i.e. programmatically), it has been converted to an
RB-tree with an API to add functions and to traverse the list.  It is
still possible to add functions by address or to add them by symbol
name, to be resolved into the corresponding address.

Orabug: 26190412
Signed-off-by: Tomas Jedlicka <tomas.jedlicka@oracle.com>
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: Nick Alcock <nick.alcock@oracle.com>
arch/sparc/kernel/dtrace_fbt.c
arch/x86/kernel/dtrace_fbt.c
arch/x86/kernel/fbt_blacklist.h
include/linux/dtrace_fbt.h
kernel/dtrace/Makefile
kernel/dtrace/dtrace_fbt_core.c [new file with mode: 0644]