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

i#5505 kernel trace: Add drpt2trace to decode PT traces

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged qidongzhao requested to merge i5505-kernel-memtrace into master Jun 03, 2022
  • Overview 309
  • Commits 68
  • Pipelines 0
  • Changes 13

Adds a PT raw traces decoding library and a command-line tool for testing it:

  • Adds drpt2ir. It is a static library that can decode PT raw traces. The next PR will support converting PT raw traces to DynamoRIO's IR(instr_t).
  • Adds drpt2trace. It is a command-line tool that invokes drpt2ir and is used to test drpt2ir's decoding APIs. The current version can decode the PT raw traces and count the number of instructions.
  • Updates clients/drcachesim/CMakeLists.txt to support building drpt2ir and drpt2trace.
  • Updates suite/tests/CMakeLists.txt to add a simple test for drpt2trace. The simple trace data is recorded by perf.

Issue: #5505

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i5505-kernel-memtrace