Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[XRay] A tool for Comparing xray function call graphs
Summary: This is a tool for comparing the function graphs produced by the llvm-xray graph too. It takes the form of a new subcommand of the llvm-xray tool 'graph-diff'. This initial version of the patch is very rough, but it is close to feature complete. Depends on D29363 Reviewers: dblaikie, dberris Reviewed By: dberris Subscribers: mgorny, llvm-commits Differential Revision: https://reviews.llvm.org/D29320 llvm-svn: 301160
- Loading branch information
1 parent
fc03d2d
commit ca780b5
Showing
11 changed files
with
1,087 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
header: | ||
version: 1 | ||
type: 0 | ||
constant-tsc: true | ||
nonstop-tsc: true | ||
cycle-frequency: 1 | ||
records: | ||
- { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 } | ||
- { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10010 } | ||
- { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 } | ||
- { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10120 } | ||
- { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10200 } | ||
- { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10230 } | ||
- { type: 0, func-id: 4, cpu: 1, thread: 111, kind: function-enter, tsc: 10300 } | ||
- { type: 0, func-id: 4, cpu: 1, thread: 111, kind: function-exit, tsc: 10340 } | ||
- { type: 0, func-id: 5, cpu: 1, thread: 111, kind: function-enter, tsc: 10400 } | ||
- { type: 0, func-id: 5, cpu: 1, thread: 111, kind: function-exit, tsc: 10450 } | ||
- { type: 0, func-id: 6, cpu: 1, thread: 111, kind: function-enter, tsc: 10500 } | ||
- { type: 0, func-id: 6, cpu: 1, thread: 111, kind: function-exit, tsc: 10560 } | ||
- { type: 0, func-id: 7, cpu: 1, thread: 111, kind: function-enter, tsc: 10600 } | ||
- { type: 0, func-id: 7, cpu: 1, thread: 111, kind: function-exit, tsc: 10670 } | ||
- { type: 0, func-id: 8, cpu: 1, thread: 111, kind: function-enter, tsc: 10700 } | ||
- { type: 0, func-id: 8, cpu: 1, thread: 111, kind: function-exit, tsc: 10780 } | ||
- { type: 0, func-id: 9, cpu: 1, thread: 111, kind: function-enter, tsc: 10800 } | ||
- { type: 0, func-id: 9, cpu: 1, thread: 111, kind: function-exit, tsc: 10890 } | ||
- { type: 0, func-id: 11, cpu: 1, thread: 111, kind: function-enter, tsc: 10900 } | ||
- { type: 0, func-id: 11, cpu: 1, thread: 111, kind: function-exit, tsc: 10910 } | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
header: | ||
version: 1 | ||
type: 0 | ||
constant-tsc: true | ||
nonstop-tsc: true | ||
cycle-frequency: 1 | ||
records: | ||
- { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-enter, tsc: 10000 } | ||
- { type: 0, func-id: 1, cpu: 1, thread: 111, kind: function-exit, tsc: 10090 } | ||
- { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-enter, tsc: 10100 } | ||
- { type: 0, func-id: 2, cpu: 1, thread: 111, kind: function-exit, tsc: 10180 } | ||
- { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-enter, tsc: 10200 } | ||
- { type: 0, func-id: 3, cpu: 1, thread: 111, kind: function-exit, tsc: 10270 } | ||
- { type: 0, func-id: 4, cpu: 1, thread: 111, kind: function-enter, tsc: 10300 } | ||
- { type: 0, func-id: 4, cpu: 1, thread: 111, kind: function-exit, tsc: 10360 } | ||
- { type: 0, func-id: 5, cpu: 1, thread: 111, kind: function-enter, tsc: 10400 } | ||
- { type: 0, func-id: 5, cpu: 1, thread: 111, kind: function-exit, tsc: 10450 } | ||
- { type: 0, func-id: 6, cpu: 1, thread: 111, kind: function-enter, tsc: 10500 } | ||
- { type: 0, func-id: 6, cpu: 1, thread: 111, kind: function-exit, tsc: 10540 } | ||
- { type: 0, func-id: 7, cpu: 1, thread: 111, kind: function-enter, tsc: 10600 } | ||
- { type: 0, func-id: 7, cpu: 1, thread: 111, kind: function-exit, tsc: 10630 } | ||
- { type: 0, func-id: 8, cpu: 1, thread: 111, kind: function-enter, tsc: 10700 } | ||
- { type: 0, func-id: 8, cpu: 1, thread: 111, kind: function-exit, tsc: 10720 } | ||
- { type: 0, func-id: 9, cpu: 1, thread: 111, kind: function-enter, tsc: 10800 } | ||
- { type: 0, func-id: 9, cpu: 1, thread: 111, kind: function-exit, tsc: 10810 } | ||
- { type: 0, func-id: 10, cpu: 1, thread: 111, kind: function-enter, tsc: 10900 } | ||
- { type: 0, func-id: 10, cpu: 1, thread: 111, kind: function-exit, tsc: 10910 } | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.