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

i#4083 func trace: Add func_view tool

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4083-func-view into master Mar 03, 2020
  • Overview 13
  • Commits 5
  • Pipelines 0
  • Changes 18

Adds a new func_view tool for visualizing and analyzing function calls recorded in a drcachesim trace. It does two things in its initial form: it reports the summary count of calls and returns for every function traced, and if a new option op_show_func_trace is set (on by default), it prints a linear sequence of every call and return with return addresses, argument values, and return values. Each is indented to enable a clear picture of the call sequence.

Adds a new option op_funclist_file to specify the file's path, though normally it will be auto-found.

Adds raw2trace_directory_t support for parsing the funclist file.

Adds example output for the new tool to the docs. Adds a brief section to the docs on function tracing in general, which was previously missing.

Adds a func_view test which runs fib(5) and ensures we get the nested function trace correct.

Fixes #4083 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4083-func-view