diff options
author | Dean Michael Berris <dberris@google.com> | 2018-07-13 05:38:22 +0000 |
---|---|---|
committer | Dean Michael Berris <dberris@google.com> | 2018-07-13 05:38:22 +0000 |
commit | 10141261e1c18c07772ed3c96eecbe2e467d161c (patch) | |
tree | 9980444d3f6b2cc14ecbfd23c7c91b646a2843b1 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 2ab325ba23833b35ba137257378faf2cde7c13d0 (diff) | |
download | llvm-10141261e1c18c07772ed3c96eecbe2e467d161c.zip llvm-10141261e1c18c07772ed3c96eecbe2e467d161c.tar.gz llvm-10141261e1c18c07772ed3c96eecbe2e467d161c.tar.bz2 |
[XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode
Summary:
llvm-xray changes:
- account-mode - process-id {...} shows after thread-id
- convert-mode - process {...} shows after thread
- parses FDR and basic mode pid entries
- Checks version number for FDR log parsing.
Basic logging changes:
- Update header version from 2 -> 3
FDR logging changes:
- Update header version from 2 -> 3
- in writeBufferPreamble, there is an additional PID Metadata record (after thread id record and tsc record)
Test cases changes:
- fdr-mode.cc, fdr-single-thread.cc, fdr-thread-order.cc modified to catch process id output in the log.
Reviewers: dberris
Reviewed By: dberris
Subscribers: hiraditya, llvm-commits, #sanitizers
Differential Revision: https://reviews.llvm.org/D49153
llvm-svn: 336974
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions