[PATCH] D24377: [XRay] Implement the `llvm-xray account` subcommand

Dean Michael Berris via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 23:01:10 PDT 2016


dberris created this revision.
dberris added reviewers: dblaikie, echristo.
dberris added a subscriber: llvm-commits.
dberris added a dependency: D24376: [XRay] Implement `llvm-xray convert` -- trace file conversion.
Herald added subscribers: beanz, dberris, mehdi_amini.

This is the third of a multi-part change to implement subcommands for
the `llvm-xray` tool.

Here we define the `account` subcommand which does simple function call
accounting, generating basic statistics on function calls we find in an
XRay log/trace. We support text output and csv output for this
subcommand.

Depends on D24376.

https://reviews.llvm.org/D24377

Files:
  test/tools/llvm-xray/X86/account-deduce-tail-call.yaml
  test/tools/llvm-xray/X86/account-simple-case.yaml
  tools/llvm-xray/CMakeLists.txt
  tools/llvm-xray/func-id-helper.h
  tools/llvm-xray/llvm-xray.cc
  tools/llvm-xray/xray-account.cc
  tools/llvm-xray/xray-account.h
  tools/llvm-xray/xray-converter.h
  tools/llvm-xray/xray-log-reader.h
  tools/llvm-xray/xray-record-yaml.h
  tools/llvm-xray/xray-record.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24377.70788.patch
Type: text/x-patch
Size: 24231 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160909/069750f7/attachment-0001.bin>


More information about the llvm-commits mailing list