llvm-mirror/tools/llvm-xray
Dean Michael Berris aab4e8c7ac [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
2018-07-13 05:38:22 +00:00
..
CMakeLists.txt Inline contents of LLVM_XRAY_TOOLS variable into its only use. 2018-05-09 00:42:17 +00:00
func-id-helper.cpp
func-id-helper.h
llvm-xray.cpp
trie-node.h
xray-account.cpp [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode 2018-07-13 05:38:22 +00:00
xray-account.h Clean up some code in Program. 2018-06-08 15:16:25 +00:00
xray-color-helper.cpp
xray-color-helper.h
xray-converter.cpp [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode 2018-07-13 05:38:22 +00:00
xray-converter.h
xray-extract.cpp
xray-graph-diff.cpp
xray-graph-diff.h
xray-graph.cpp
xray-graph.h Clean up some code in Program. 2018-06-08 15:16:25 +00:00
xray-registry.cpp
xray-registry.h
xray-stacks.cpp