-
Notifications
You must be signed in to change notification settings - Fork 566
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#7180: Add drmemtrace support for stdin via "-infile -"
Adds support for reading a single drmemtrace file from stdin when "-infile -" is specified. The file can be uncompressed or in gzip format. Adds a UNIX-only test which was easiest to create directly using bash. Fixes #7180
- Loading branch information
1 parent
e034f37
commit 6e3a93f
Showing
5 changed files
with
52 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Output format: | ||
<--record#-> <--instr#->: <---tid---> <record details> | ||
------------------------------------------------------------ | ||
1 0: 1257596 <marker: version 4> | ||
2 0: 1257596 <marker: filetype 0x10e40> | ||
3 0: 1257596 <marker: cache line size 64> | ||
4 0: 1257596 <marker: chunk instruction count 10000000> | ||
5 0: 1257596 <marker: page size 4096> | ||
6 0: 1257596 <marker: timestamp 13331862027607247> | ||
7 0: 1257596 <marker: tid 1257596 on core 8> | ||
8 1: 1257596 ifetch 4 byte\(s\) @ 0x00007f3e429fce35 48 8b 45 f8 mov -0x08\(%rbp\), %rax | ||
9 1: 1257596 read 8 byte\(s\) @ 0x00007ffefb03e128 by PC 0x00007f3e429fce35 | ||
10 2: 1257596 ifetch 8 byte\(s\) @ 0x00007f3e429fce39 48 8d 14 c5 00 00 00 lea 0x00\(,%rax,8\), %rdx | ||
10 2: 1257596 00 | ||
View tool results: | ||
2 : total instructions |
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