Changeset 47428 in vbox for trunk/src/VBox/Main/src-server
- Timestamp:
- Jul 26, 2013 4:19:03 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 87580
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/solaris/PerformanceSolaris.cpp
r46328 r47428 144 144 if (mZfsSo) 145 145 { 146 mZfsInit = (PFNZFSINIT) dlsym(mZfsSo, "libzfs_init");147 mZfsFini = (PFNZFSFINI) dlsym(mZfsSo, "libzfs_fini");148 mZfsOpen = (PFNZFSOPEN) dlsym(mZfsSo, "zfs_open");149 mZfsClose = (PFNZFSCLOSE) dlsym(mZfsSo, "zfs_close");150 mZfsPropGetInt = (PFNZFSPROPGETINT) dlsym(mZfsSo, "zfs_prop_get_int");151 mZpoolOpen = (PFNZPOOLOPEN) dlsym(mZfsSo, "zpool_open");152 mZpoolClose = (PFNZPOOLCLOSE) dlsym(mZfsSo, "zpool_close");153 mZpoolGetConfig = (PFNZPOOLGETCONFIG) dlsym(mZfsSo, "zpool_get_config");154 mZpoolVdevName = (PFNZPOOLVDEVNAME) dlsym(mZfsSo, "zpool_vdev_name");146 mZfsInit = (PFNZFSINIT)(uintptr_t)dlsym(mZfsSo, "libzfs_init"); 147 mZfsFini = (PFNZFSFINI)(uintptr_t)dlsym(mZfsSo, "libzfs_fini"); 148 mZfsOpen = (PFNZFSOPEN)(uintptr_t)dlsym(mZfsSo, "zfs_open"); 149 mZfsClose = (PFNZFSCLOSE)(uintptr_t)dlsym(mZfsSo, "zfs_close"); 150 mZfsPropGetInt = (PFNZFSPROPGETINT)(uintptr_t)dlsym(mZfsSo, "zfs_prop_get_int"); 151 mZpoolOpen = (PFNZPOOLOPEN)(uintptr_t)dlsym(mZfsSo, "zpool_open"); 152 mZpoolClose = (PFNZPOOLCLOSE)(uintptr_t)dlsym(mZfsSo, "zpool_close"); 153 mZpoolGetConfig = (PFNZPOOLGETCONFIG)(uintptr_t)dlsym(mZfsSo, "zpool_get_config"); 154 mZpoolVdevName = (PFNZPOOLVDEVNAME)(uintptr_t)dlsym(mZfsSo, "zpool_vdev_name"); 155 155 156 156 if ( mZfsInit … … 351 351 uint64_t CollectorSolaris::wrapCorrection(uint32_t cur, uint64_t prev, const char *name) 352 352 { 353 NOREF(name); 353 354 uint64_t corrected = (prev & 0xffffffff00000000) + cur; 354 355 if (cur < (prev & 0xffffffff))
Note:
See TracChangeset
for help on using the changeset viewer.