The die notifier is crucial for implementing safe memory access in
DTrace. To avoid other handlers potentially causing interference, we
set the priority of our handler at the highest level.
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Acked-by: David Mc Lean <david.mclean@oracle.com>
#include <linux/binfmts.h>
#include <linux/dtrace_cpu.h>
+#include <linux/dtrace_fbt.h>
#include <linux/dtrace_os.h>
#include <linux/dtrace_sdt.h>
#include <linux/fs.h>
\*---------------------------------------------------------------------------*/
static struct notifier_block dtrace_die = {
.notifier_call = dtrace_die_notifier,
+ .priority = 0x7fffffff
};
static int dtrace_enabled = 0;