• Shane Snyder's avatar
    update how module & record registration · d3fae782
    Shane Snyder authored
    - modules now receive a memory buffer after successfully
    registering with darshan-core. modules can request a specific
    memory amount, but may not be honored depending on the configured
    darshan memory limit
    - split the previous register_record function into 2 parts:
        * lookup() -> lookup darshan_record_id corresp. to path name
        * register() -> register record_id & name with darshan-core
    - register_record now returns true if the record added; false
    otherwise (if module was out of memory or darshan is out of memory
    for storing id->name mappings)
darshan-core.c 53.9 KB