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

i#4274 kernel pc: Export version number in final trace

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4274-trace-version into master Jun 30, 2021
  • Overview 4
  • Commits 3
  • Pipelines 0
  • Changes 8

The version number in a drmemtrace trace is currently hidden in a header that the reader hides from analysis tools. Here we add a new marker type that exports the version number so that analysis tools can handle legacy traces.

Adds version awareness to the view tool.

Tested by manually running the view tool: $ bin64/drrun -t drcachesim -verbose 3 -- suite/tests/bin/allasm_repstr ::4152878.4152878:: marker type 12 value 2 ::4152878.4152878:: marker type 9 value 64 ::4152878.4152878:: marker type 10 value 64 ... $ bin64/drrun -t drcachesim -offline -- suite/tests/bin/allasm_repstr $ bin64/drrun -t drcachesim -simulator_type view -indir drmemtrace.allasm_repstr.*.dir <marker: version 2> <marker: filetype 40> <marker: cache line size 64> <marker: timestamp 13269494545173426> <marker: tid 4152931 on core 2> 0x0000000000401000 48 83 e4 f0 and $0xf0, %rsp ...

Issue: #4274 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4274-trace-version