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
  • Issues
  • #2039
Closed
Open
Issue created Oct 20, 2016 by Derek Bruening@derekbrueningContributor

[drcachesim] trim trace to avoid staggered attach and detach partial-thread anomalies at ends of trace

Xref #1729 (closed)

Due to the asynchronous nature of stopping all the threads on detach, some may run further and produce more data than we'd like for a bursty trace. I already added a new option -max_trace_size to put a cap on the per-thread trace size, but we probably also want a way to precisely throw out data past the detach timestamp.

On the burst-threads test, without the -max_trace_size cap, the secondary threads produce surprisingly large traces: 65MB, when the start/stop thread only ran 4 iters of its loop. It may be worth investigating further to ensure nothing is going wrong there: is it really just a few hundred more iters that adds up to 65MB??

Assignee
Assign to
Time tracking