VirtualBox

Changeset 40839 in vbox for trunk/src/bldprogs


Ignore:
Timestamp:
Apr 9, 2012 2:18:19 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77354
Message:

VBoxTpG: Drop the file name in the probe location, it isn't useful to DTrace. Also use FUNCTION instead of PRETTY_FUNCTION to note down the name of the enclosing function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/VBoxTpG.cpp

    r40830 r40839  
    489489                    "                ;0         1         2         3\n"
    490490                    "                ;012345678901234567890123456789012\n"
    491                     "    db          'VTG Object Header v1.0', 0, 0\n"
     491                    "    db          'VTG Object Header v1.1', 0, 0\n"
    492492                    "    dd          %u\n"
    493493                    "    dd          0\n"
     
    958958                            "        { \\\n"
    959959                            "            VTG_DECL_VTGPROBELOC(s_VTGProbeLoc) = \\\n"
    960                             "            { __LINE__, 0, UINT32_MAX, __PRETTY_FUNCTION__, __FILE__, &g_VTGProbeData_%s_%s }; \\\n"
     960                            "            { __LINE__, 0, UINT32_MAX, __FUNCTION__, &g_VTGProbeData_%s_%s }; \\\n"
    961961                            "            VTGProbeStub_%s_%s(&s_VTGProbeLoc",
    962962                            pProv->pszName, pProbe->pszMangledName,
Note: See TracChangeset for help on using the changeset viewer.

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