[Darshan-commits] [Git][darshan/darshan][dev-modular] back out unregister of modules at shutdown

Shane Snyder xgitlab at cels.anl.gov
Fri Jan 29 10:16:42 CST 2016


Shane Snyder pushed to branch dev-modular at darshan / darshan


Commits:
e37c25df by Shane Snyder at 2016-01-29T10:16:38-06:00
back out unregister of modules at shutdown

- - - - -


6 changed files:

- darshan-runtime/lib/darshan-bgq.c
- darshan-runtime/lib/darshan-hdf5.c
- darshan-runtime/lib/darshan-mpiio.c
- darshan-runtime/lib/darshan-null.c
- darshan-runtime/lib/darshan-pnetcdf.c
- darshan-runtime/lib/darshan-posix.c


Changes:

=====================================
darshan-runtime/lib/darshan-bgq.c
=====================================
--- a/darshan-runtime/lib/darshan-bgq.c
+++ b/darshan-runtime/lib/darshan-bgq.c
@@ -276,8 +276,6 @@ static void bgq_get_output_data(
 /* Shutdown the BGQ module by freeing up all data structures. */
 static void bgq_shutdown()
 {
-    darshan_core_unregister_module(DARSHAN_BGQ_MOD);
-
     if (bgq_runtime)
     {
         free(bgq_runtime);


=====================================
darshan-runtime/lib/darshan-hdf5.c
=====================================
--- a/darshan-runtime/lib/darshan-hdf5.c
+++ b/darshan-runtime/lib/darshan-hdf5.c
@@ -564,8 +564,6 @@ static void hdf5_shutdown()
 
     assert(hdf5_runtime);
 
-    darshan_core_unregister_module(DARSHAN_HDF5_MOD);
-
     HASH_ITER(hlink, hdf5_runtime->hid_hash, ref, tmp)
     {
         HASH_DELETE(hlink, hdf5_runtime->hid_hash, ref);


=====================================
darshan-runtime/lib/darshan-mpiio.c
=====================================
--- a/darshan-runtime/lib/darshan-mpiio.c
+++ b/darshan-runtime/lib/darshan-mpiio.c
@@ -1514,8 +1514,6 @@ static void mpiio_shutdown()
 
     assert(mpiio_runtime);
 
-    darshan_core_unregister_module(DARSHAN_MPIIO_MOD);
-
     HASH_ITER(hlink, mpiio_runtime->fh_hash, ref, tmp)
     {
         HASH_DELETE(hlink, mpiio_runtime->fh_hash, ref);


=====================================
darshan-runtime/lib/darshan-null.c
=====================================
--- a/darshan-runtime/lib/darshan-null.c
+++ b/darshan-runtime/lib/darshan-null.c
@@ -374,8 +374,6 @@ static void null_shutdown()
 {
     assert(null_runtime);
 
-    darshan_core_unregister_module(DARSHAN_NULL_MOD);
-
     HASH_CLEAR(hlink, null_runtime->record_hash); /* these hash entries are freed all at once below */
 
     free(null_runtime->runtime_record_array);


=====================================
darshan-runtime/lib/darshan-pnetcdf.c
=====================================
--- a/darshan-runtime/lib/darshan-pnetcdf.c
+++ b/darshan-runtime/lib/darshan-pnetcdf.c
@@ -576,8 +576,6 @@ static void pnetcdf_shutdown()
 
     assert(pnetcdf_runtime);
 
-    darshan_core_unregister_module(DARSHAN_PNETCDF_MOD);
-
     HASH_ITER(hlink, pnetcdf_runtime->ncid_hash, ref, tmp)
     {
         HASH_DELETE(hlink, pnetcdf_runtime->ncid_hash, ref);


=====================================
darshan-runtime/lib/darshan-posix.c
=====================================
--- a/darshan-runtime/lib/darshan-posix.c
+++ b/darshan-runtime/lib/darshan-posix.c
@@ -2249,8 +2249,6 @@ static void posix_shutdown()
 
     assert(posix_runtime);
 
-    darshan_core_unregister_module(DARSHAN_POSIX_MOD);
-
     HASH_ITER(hlink, posix_runtime->fd_hash, ref, tmp)
     {
         HASH_DELETE(hlink, posix_runtime->fd_hash, ref);



View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/e37c25dfadee839095feb7d6780f0beffcf27608
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20160129/cc5ae7f8/attachment-0001.html>


More information about the Darshan-commits mailing list