[Darshan-commits] [Git][darshan/darshan][master] null driver wasn't actually updating new records
Rob Latham
xgitlab at cels.anl.gov
Fri Mar 2 15:52:38 CST 2018
Rob Latham pushed to branch master at darshan / darshan
Commits:
6d49a2c4 by Rob Latham at 2018-03-02T15:52:22-06:00
null driver wasn't actually updating new records
- - - - -
1 changed file:
- darshan-runtime/lib/darshan-null.c
Changes:
=====================================
darshan-runtime/lib/darshan-null.c
=====================================
--- a/darshan-runtime/lib/darshan-null.c
+++ b/darshan-runtime/lib/darshan-null.c
@@ -141,7 +141,7 @@ static int my_rank = -1;
/* look up a record reference for this record id using darshan rec_ref interface */ \
rec_ref = darshan_lookup_record_ref(null_runtime->rec_id_hash, &rec_id, sizeof(darshan_record_id)); \
/* if no reference was found, track a new one for this record */ \
- if(!rec_ref) null_track_new_record(rec_id, __name); \
+ if(!rec_ref) rec_ref = null_track_new_record(rec_id, __name); \
/* if we still don't have a valid reference, back out */ \
if(!rec_ref) break; \
/* increment counter indicating number of calls to 'foo' */ \
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/6d49a2c40fd2a1d7589b4ad9567c27f14b33e4af
---
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/6d49a2c40fd2a1d7589b4ad9567c27f14b33e4af
You're receiving this email because of your account on xgitlab.cels.anl.gov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20180302/2a45737e/attachment.html>
More information about the Darshan-commits
mailing list