[Darshan-commits] [Darshan] branch, dev-modular, updated. darshan-2.3.1-53-ge47a391
Service Account
git at mcs.anl.gov
Wed Mar 18 14:57:02 CDT 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, dev-modular has been updated
via e47a391ca48676c5a7e0f4392d023bab9d92fe12 (commit)
from b4a0aed40c78cfa4904b3b0134defc8ed0c04181 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e47a391ca48676c5a7e0f4392d023bab9d92fe12
Author: Shane Snyder <ssnyder at mcs.anl.gov>
Date: Wed Mar 18 14:56:38 2015 -0500
update docs to mention byte swap functionality
-----------------------------------------------------------------------
Summary of changes:
doc/darshan-modularization.txt | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
Diff of changes:
diff --git a/doc/darshan-modularization.txt b/doc/darshan-modularization.txt
index 0d9eb5b..40a70f6 100644
--- a/doc/darshan-modularization.txt
+++ b/doc/darshan-modularization.txt
@@ -357,6 +357,12 @@ and store in `moddat_buf`. This function may be repeatedly called to retrieve se
from a given Darshan file descriptor. This function returns `1` if `moddat_buf_sz` bytes were read
successfully, `0` if no more data is available for this module, and `-1` otherwise.
+*NOTE*: Darshan use a reader makes right conversion strategy to rectify endianness issues
+between the machine a log was generated on and a machine analyzing the log. Accordingly,
+module-specific log utility functions will need to check the `swap_flag` variable of the Darshan
+file descriptor to determine if byte swapping is necessary. 32-bit and 64-bit byte swapping
+macros (DARSHAN_BSWAP32/DARSHAN_BSWAP64) are provided in `darshan-logutils.h`.
+
[source,c]
void darshan_log_close(darshan_fd fd);
hooks/post-receive
--
More information about the Darshan-commits
mailing list