diff --git a/darshan-runtime/darshan.h b/darshan-runtime/darshan.h index 243fab0c81b3f010d7d2ed72c50883daf2938ae3..114d3d5f573fe180609dc1fbc75e27521b6c355b 100644 --- a/darshan-runtime/darshan.h +++ b/darshan-runtime/darshan.h @@ -82,6 +82,20 @@ struct darshan_fs_info 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 * *****************************************************/ @@ -144,20 +158,6 @@ void *darshan_core_register_record( int rec_len, 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() * * Returns the elapsed time relative to (roughly) the start of diff --git a/darshan-util/darshan-logutils.h b/darshan-util/darshan-logutils.h index 5818cb272e81d68acdc82784a106b6ca05727a6d..f0cabb4aef56cececf706fc74e999ccb72a39932 100644 --- a/darshan-util/darshan-logutils.h +++ b/darshan-util/darshan-logutils.h @@ -87,13 +87,13 @@ struct darshan_mod_logutil_funcs void *buf ); /* print the counters for a given log record - * - 'file_rec' is the record's data buffer - * - 'file_name' is the file path string for the record - * - 'mnt-pt' is the file path mount point string + * - 'rec' is the record's data buffer + * - '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 * - 'fs_type' is the file system type string */ void (*log_print_record)( - void *file_rec, + void *rec, char *file_name, char *mnt_pt, char *fs_type