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

i#2843 trace cpus: add cpu and timestamp trace markers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i2843-trace-cpu into master Feb 23, 2018
  • Overview 1
  • Commits 2
  • Pipelines 0
  • Changes 16

Adds a timestamp marker and a cpu marker to the trace buffer header for each thread's buffer unit output. The timestamp was already in the raw offline trace format, but now it is in the final trace for both offline and online as a new marker type. The cpu is completely new and specifies which core that thread executed on at the granularity of the buffer unit.

Refactors the initial and per-output buffer headers to fix warts in the tracer: now the initial buffer's timestamp is from output time rather than thread init time; the initial header is more cleanly skipped for virt2phys; header uses are more normalized and easier to understand.

Updates the basic_counts tool to separate these new scheduling marks from kernel transfer and other markers. Updates the corresponding documentation.

A forthcoming change will update the cache simulator to schedule threads based on executed cores rather than a thread round-robin scheme.

Issue: #2843 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i2843-trace-cpu