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
  • !3293

i#3230 split traces: refactor readers for interleaving

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i3230-drmemtrace-reader-interleave into master Dec 06, 2018
  • Overview 1
  • Commits 5
  • Pipelines 0
  • Changes 20

Refactors the drcachesim trace file_reader to interleave separate thread files in timestamp order. It also supports a legacy already-interleaved single file. (Until raw2trace is changed to generate separate files, this legacy support is the regular mode.) The new split-file interface will support parallelization in the future.

The refactoring involves templatizing file_reader_t for the split into gzFile and std::ifstream. Side improvements include passing -verbose into each class.

Adds a cross-platform directory iterator utility.

Adds a legacy trace file test with a checked-in trace file.

Makes file_reader_t::is_complete() work for now but it may have to be removed once the refactoring is complete, due to lack of support for gzFile.

Issue: #3230 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i3230-drmemtrace-reader-interleave