Changeset 53679 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace
- Timestamp:
- Jan 2, 2015 12:35:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c
r53677 r53679 7582 7582 VM_BESTFIT | VM_SLEEP); 7583 7583 probe = kmem_zalloc(sizeof (dtrace_probe_t), KM_SLEEP); 7584 SUPR0Printf("dtrace_probe_create: %s id=%u %p\n", name, id, probe);7585 7584 7586 7585 probe->dtpr_id = id; … … 7630 7629 } 7631 7630 7632 SUPR0Printf("dtrace_probe_create: dtrace_nprobes=%u\n", dtrace_nprobes);7633 7631 ASSERT(id - 1 < dtrace_nprobes); 7634 7632 } … … 14872 14870 14873 14871 ASSERT(MUTEX_HELD(&cpu_lock)); 14874 SUPR0Printf("dtrace_attach: IF=%RTbool #1\n", ASMIntAreEnabled());14875 14872 14876 14873 #ifndef VBOX /* Reduce the area a bit just to be sure our vmem fake doesn't blow up. */ … … 14881 14878 NULL, NULL, NULL, 0, VM_SLEEP | VMC_IDENTIFIER); 14882 14879 #endif 14883 SUPR0Printf("dtrace_attach: IF=%RTbool #2\n", ASMIntAreEnabled());14884 14880 #ifndef VBOX 14885 14881 dtrace_minor = vmem_create("dtrace_minor", (void *)DTRACEMNRN_CLONE, … … 14895 14891 14896 14892 ASSERT(MUTEX_HELD(&cpu_lock)); 14897 SUPR0Printf("dtrace_attach: IF=%RTbool #3\n", ASMIntAreEnabled());14898 14893 dtrace_bymod = dtrace_hash_create(offsetof(dtrace_probe_t, dtpr_mod), 14899 14894 offsetof(dtrace_probe_t, dtpr_nextmod), 14900 14895 offsetof(dtrace_probe_t, dtpr_prevmod)); 14901 SUPR0Printf("dtrace_attach: IF=%RTbool #4\n", ASMIntAreEnabled());14902 14896 14903 14897 dtrace_byfunc = dtrace_hash_create(offsetof(dtrace_probe_t, dtpr_func), … … 14927 14921 * pseudo provider. 14928 14922 */ 14929 SUPR0Printf("dtrace_attach: IF=%RTbool #5\n", ASMIntAreEnabled());14930 14923 (void) dtrace_register("dtrace", &dtrace_provider_attr, 14931 14924 DTRACE_PRIV_NONE, 0, &dtrace_provider_ops, NULL, &id); 14932 SUPR0Printf("dtrace_attach: IF=%RTbool #6\n", ASMIntAreEnabled());14933 14925 14934 14926 ASSERT(dtrace_provider != NULL); … … 14937 14929 dtrace_probeid_begin = dtrace_probe_create((dtrace_provider_id_t) 14938 14930 dtrace_provider, NULL, NULL, "BEGIN", 0, NULL); 14939 SUPR0Printf("dtrace_attach: IF=%RTbool #7\n", ASMIntAreEnabled());14940 14931 dtrace_probeid_end = dtrace_probe_create((dtrace_provider_id_t) 14941 14932 dtrace_provider, NULL, NULL, "END", 0, NULL); … … 14947 14938 #endif 14948 14939 mutex_exit(&cpu_lock); 14949 SUPR0Printf("dtrace_attach: IF=%RTbool #8\n", ASMIntAreEnabled());14950 14940 14951 14941 /*
Note:
See TracChangeset
for help on using the changeset viewer.