summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-xray/xray-account.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix windows buildbots building llvm-xraySimon Pilgrim2017-01-121-3/+8
| | | | | | | | | | 2 issues: 1 - replaced unix-style pid_t with cross-platform llvm::sys::ProcessInfo::ProcessId 2 - fixed shadow variable warning in lambda expression Reviewed by @filcab llvm-svn: 291760
* [XRay] Implement the `llvm-xray account` subcommandDean Michael Berris2017-01-121-0/+104
Summary: 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. This change also supports sorting, summing, and filtering the top N results. Part of this tool will later be turned into a library that could be used for basic function call accounting. Depends on D24376. Reviewers: dblaikie, echristo Subscribers: mehdi_amini, dberris, beanz, llvm-commits Differential Revision: https://reviews.llvm.org/D24377 llvm-svn: 291749
OpenPOWER on IntegriCloud