Commit 8aba70e7 authored by Shane Snyder's avatar Shane Snyder

couple of small fixes for comments

parent 89437264
...@@ -82,6 +82,20 @@ struct darshan_fs_info ...@@ -82,6 +82,20 @@ struct darshan_fs_info
int mdt_count; int mdt_count;
}; };
/* darshan_instrument_fs_data()
*
* Allow file system-specific modules to instrument data for the file
* stored at 'path'. 'fs_type' is checked to determine the underlying
* filesystem and calls into the corresponding file system instrumentation
* module, if defined -- currently we only have a Lustre module. 'fd' is
* the file descriptor corresponding to the file, which may be needed by
* the file system to retrieve specific parameters.
*/
void darshan_instrument_fs_data(
int fs_type,
const char *path,
int fd);
/***************************************************** /*****************************************************
* darshan-core functions exported to darshan modules * * darshan-core functions exported to darshan modules *
*****************************************************/ *****************************************************/
...@@ -144,20 +158,6 @@ void *darshan_core_register_record( ...@@ -144,20 +158,6 @@ void *darshan_core_register_record(
int rec_len, int rec_len,
struct darshan_fs_info *fs_info); struct darshan_fs_info *fs_info);
/* darshan_instrument_fs_data()
*
* Allow file system-specific modules to instrument data for the file
* stored at 'path'. 'fs_type' is checked to determine the underlying
* filesystem and calls into the corresponding file system instrumentation
* module, if defined -- currently we only have a Lustre module. 'fd' is
* the file descriptor corresponding to the file, which may be needed by
* the file system to retrieve specific parameters.
*/
void darshan_instrument_fs_data(
int fs_type,
const char *path,
int fd);
/* darshan_core_wtime() /* darshan_core_wtime()
* *
* Returns the elapsed time relative to (roughly) the start of * Returns the elapsed time relative to (roughly) the start of
......
...@@ -87,13 +87,13 @@ struct darshan_mod_logutil_funcs ...@@ -87,13 +87,13 @@ struct darshan_mod_logutil_funcs
void *buf void *buf
); );
/* print the counters for a given log record /* print the counters for a given log record
* - 'file_rec' is the record's data buffer * - 'rec' is the record's data buffer
* - 'file_name' is the file path string for the record * - 'name' is the name string associated with this record (or NULL if there isn't one)
* - 'mnt-pt' is the file path mount point string * - 'mnt_pt' is the file path mount point string
* - 'fs_type' is the file system type string * - 'fs_type' is the file system type string
*/ */
void (*log_print_record)( void (*log_print_record)(
void *file_rec, void *rec,
char *file_name, char *file_name,
char *mnt_pt, char *mnt_pt,
char *fs_type char *fs_type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment