VirtualBox

Changeset 53679 in vbox for trunk


Ignore:
Timestamp:
Jan 2, 2015 12:35:16 PM (10 years ago)
Author:
vboxsync
Message:

VBoxDTrace: Drop the debug printfs. (r57)

Location:
trunk/src/VBox/ExtPacks/VBoxDTrace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/VBoxDTraceR0/VBoxDTraceR0.cpp

    r53678 r53679  
    18321832DECLEXPORT(void) ModuleTerm(void *hMod)
    18331833{
    1834 SUPR0Printf("ModuleTerm: IF=%RTbool#1\n", ASMIntAreEnabled());
    18351834    SUPR0TracerDeregisterImpl(hMod, NULL);
    1836 SUPR0Printf("ModuleTerm: IF=%RTbool#2\n", ASMIntAreEnabled());
    18371835    dtrace_detach();
    1838 SUPR0Printf("ModuleTerm: IF=%RTbool#3\n", ASMIntAreEnabled());
    18391836}
    18401837
     
    18471844DECLEXPORT(int)  ModuleInit(void *hMod)
    18481845{
    1849 SUPR0Printf("ModuleInit: IF=%RTbool#1\n", ASMIntAreEnabled());
    1850 
    18511846    int rc = dtrace_attach();
    18521847    if (rc == DDI_SUCCESS)
    18531848    {
    1854 SUPR0Printf("ModuleInit: IF=%RTbool #2\n", ASMIntAreEnabled());
    18551849        rc = SUPR0TracerRegisterImpl(hMod, NULL, &g_VBoxDTraceReg, &g_pVBoxDTraceHlp);
    18561850        if (RT_SUCCESS(rc))
    18571851        {
    1858 SUPR0Printf("ModuleInit: IF=%RTbool #3\n", ASMIntAreEnabled());
    18591852            return rc;
    18601853        }
  • trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/uts/common/dtrace/dtrace.c

    r53677 r53679  
    75827582            VM_BESTFIT | VM_SLEEP);
    75837583        probe = kmem_zalloc(sizeof (dtrace_probe_t), KM_SLEEP);
    7584 SUPR0Printf("dtrace_probe_create: %s id=%u %p\n", name, id, probe);
    75857584
    75867585        probe->dtpr_id = id;
     
    76307629                }
    76317630
    7632 SUPR0Printf("dtrace_probe_create: dtrace_nprobes=%u\n", dtrace_nprobes);
    76337631                ASSERT(id - 1 < dtrace_nprobes);
    76347632        }
     
    1487214870
    1487314871        ASSERT(MUTEX_HELD(&cpu_lock));
    14874 SUPR0Printf("dtrace_attach: IF=%RTbool #1\n", ASMIntAreEnabled());
    1487514872
    1487614873#ifndef VBOX /* Reduce the area a bit just to be sure our vmem fake doesn't blow up. */
     
    1488114878            NULL, NULL, NULL, 0, VM_SLEEP | VMC_IDENTIFIER);
    1488214879#endif
    14883 SUPR0Printf("dtrace_attach: IF=%RTbool #2\n", ASMIntAreEnabled());
    1488414880#ifndef VBOX
    1488514881        dtrace_minor = vmem_create("dtrace_minor", (void *)DTRACEMNRN_CLONE,
     
    1489514891
    1489614892        ASSERT(MUTEX_HELD(&cpu_lock));
    14897 SUPR0Printf("dtrace_attach: IF=%RTbool #3\n", ASMIntAreEnabled());
    1489814893        dtrace_bymod = dtrace_hash_create(offsetof(dtrace_probe_t, dtpr_mod),
    1489914894            offsetof(dtrace_probe_t, dtpr_nextmod),
    1490014895            offsetof(dtrace_probe_t, dtpr_prevmod));
    14901 SUPR0Printf("dtrace_attach: IF=%RTbool #4\n", ASMIntAreEnabled());
    1490214896
    1490314897        dtrace_byfunc = dtrace_hash_create(offsetof(dtrace_probe_t, dtpr_func),
     
    1492714921         * pseudo provider.
    1492814922         */
    14929 SUPR0Printf("dtrace_attach: IF=%RTbool #5\n", ASMIntAreEnabled());
    1493014923        (void) dtrace_register("dtrace", &dtrace_provider_attr,
    1493114924            DTRACE_PRIV_NONE, 0, &dtrace_provider_ops, NULL, &id);
    14932 SUPR0Printf("dtrace_attach: IF=%RTbool #6\n", ASMIntAreEnabled());
    1493314925
    1493414926        ASSERT(dtrace_provider != NULL);
     
    1493714929        dtrace_probeid_begin = dtrace_probe_create((dtrace_provider_id_t)
    1493814930            dtrace_provider, NULL, NULL, "BEGIN", 0, NULL);
    14939 SUPR0Printf("dtrace_attach: IF=%RTbool #7\n", ASMIntAreEnabled());
    1494014931        dtrace_probeid_end = dtrace_probe_create((dtrace_provider_id_t)
    1494114932            dtrace_provider, NULL, NULL, "END", 0, NULL);
     
    1494714938#endif
    1494814939        mutex_exit(&cpu_lock);
    14949 SUPR0Printf("dtrace_attach: IF=%RTbool #8\n", ASMIntAreEnabled());
    1495014940
    1495114941        /*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette