Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !5450

i#3995 multi-window: Write separate raw files per window

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i3995-separate-raw into master Apr 06, 2022
  • Overview 3
  • Commits 5
  • Pipelines 0
  • Changes 19

Adds a drmemtrace feature under a new on-by-default -split_windows option to create a separate subdirectory with a separate set of raw files per traced window. This avoids disk space issues with a single file, and splitting at the raw stage is relatively simple for regular drmemtrace usage (though not as simple for external users of the file i/o redirection).

Files in raw/window.NNNN/ subdirectories are mirrored in trace/window.NNNN/ subdirectories upon being post-processed. Post-processing handles just the first window by default; the others must be explicitly passed as input directories in separate post-processing invocations.

This changes the non-window behavior to not create an output file until tracing starts, which necessitated changing the tool.drcacheoff.delay-func test to check for no output files as a slightly different type of test.

Adds a test of split-file offline windows.

Fixes an infinite loop bug in raw2trace hit when a file is truncated: hit while the windows were buggy and missing footers.

Issue: #3995

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i3995-separate-raw