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

i#4187 sym perf: Add -record_dynsym_only to drcachesim

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4187-functrace-dynsym-only into master Mar 18, 2020
  • Overview 4
  • Commits 2
  • Pipelines 0
  • Changes 4

Adds a new option -record_dynsym_only to drcachesim which causes -record_function and -record_heap to only look in .dynsym, avoiding drsyms and the main symbol table entirely. This is to avoid overhead issues with two scenarios: very large applications with millions of symbol table entries, and applications with thousands of libraries where setting up and tearing down drsyms and DWARF information adds up across all of those libraries. Quite often the target functions to trace are in .dynsym, making this a reasonable solution.

Tested manually on both scenarios.

Issue: #4187 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4187-functrace-dynsym-only