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

i#4893: Delay function tracing with address tracing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4893-delay-func-tracing into master May 12, 2021
  • Overview 4
  • Commits 3
  • Pipelines 0
  • Changes 6

In drcachesim, the -trace_after_instrs delayed-tracing feature fails to delay function tracing. We fix that here by leaving the function wrapping in place from the start and simply ignoring i/o until the trigger point.

Delaying the function wrapping is complicated by being unable to hold locks during the whole module load event. Locks are needed to delay that event, as we need to enable it and then iterate existing modules. This is why we instead opt to not delay function wrapping.

Adds documentation to drwrap_wrap* that event-blocking locks cannot be held.

Adds a new test that delays all tracing and ensures there are zero function markers.

Fixes #4893 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4893-delay-func-tracing