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

i#5199 warmup trace: Add a mode for L0_filter

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open prasun3 requested to merge i5199-warmup-trace into master Nov 08, 2022
  • Overview 227
  • Commits 64
  • Pipelines 0
  • Changes 21

Add a separate L0_filter mode to enable switching from warmup/L0_filter mode to the unfiltered mode.

Added an option (-L0_filter_until_instrs) which specifies the number of instructions for warmup trace

In warmup mode, we filter accesses through the -L0{D,I}_filter caches. If neither -L0D_filter nor -L0I_filter are specified then both are assumed to be true. The size of these can be specified using -L0{D,I}_size.

The filter instructions come after the -trace_after_instrs count and before the instruction trace. This is intended to be used together with other trace options (e.g., -trace_for_instrs, -exit_after_tracing, -max_trace_size etc.) but with the difference that a filter trace is also collected. The filter trace and full trace are stored in a single file separated by a TRACE_MARKER_TYPE_FILTER_ENDPOINT marker.

When used with windows (i.e., -retrace_every_instrs), each window contains a filter trace and a full trace. When we have windows contained in a single-file, the TRACE_MARKER_TYPE_WINDOW_ID markers indicate start of filtered records.

Issue: #5199

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i5199-warmup-trace