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

i#5538 memtrace seek, part 5: Add schedule index files

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i5538-schedule-file into master Oct 31, 2022
  • Overview 10
  • Commits 8
  • Pipelines 0
  • Changes 23

Adds two new files generated by raw2trace, each containing 4-entry records of <tid, timestamp, cpuid, instr_count>. These are used to take a global or per-cpu target instruction count and determine the corresponding instruction count within each software thread, for seeking within each trace file. One file is globally sorted by timestamp, and the other is a zip file with a separate component for each cpuid holding entries sorted by timestamp for that cpu.

Adds new invariant_checker tests for each file by passing them in for test_mode. The invariant_checker re-constructs the same sorted sequences using the trace data and confirms it matches the data in the files. This involves adding a new zipfile_stream_t interface for a simple continuous stream of each zipfile component in turn.

Issue: #5538

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i5538-schedule-file