Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D darshan
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 72
    • Issues 72
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • darshan
  • darshan
  • Issues
  • #193

Closed
Open
Created Jun 08, 2016 by Shane Snyder@ssnyderOwner

make logutils API allocate records for caller

Currently, darshan logutils API expects an input buffer to be passed in to store module records it reads from the log file. The problem is that the caller might not always know how big the record it is about to extract is, particularly in cases where a module's records are variable-length (in which case one would need to sift through the data to determine the record size).

It would probably be better to just have the logutils API malloc memory for the current buffer it is extracting rather than relying on the caller to ensure there is enough space. This buffer can then be returned to the user where it will eventually need to be freed up.

Assignee
Assign to
Time tracking