]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/dev/i386/fbt_x86.c
xnu-2782.10.72.tar.gz
[apple/xnu.git] / bsd / dev / i386 / fbt_x86.c
index 750a024cf02a2a48757020477787f1e56e1b31f3..93c19c56113d63e351521c3924a0c8619cf21d7e 100644 (file)
@@ -1046,6 +1046,8 @@ fbt_provide_module(void *arg, struct modctl *ctl)
        if (MOD_HAS_USERSPACE_SYMBOLS(ctl)) {
                __user_syms_provide_module(arg, ctl);
                ctl->mod_flags |= MODCTL_FBT_PROBES_PROVIDED;
        if (MOD_HAS_USERSPACE_SYMBOLS(ctl)) {
                __user_syms_provide_module(arg, ctl);
                ctl->mod_flags |= MODCTL_FBT_PROBES_PROVIDED;
+               if (MOD_FBT_PROVIDE_PRIVATE_PROBES(ctl))
+                       ctl->mod_flags |= MODCTL_FBT_PRIVATE_PROBES_PROVIDED;
                return;
        }       
 }
                return;
        }       
 }