llvm-project/llvm/tools/llvm-xray
Dean Michael Berris 10141261e1 [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 [XRay][tools] Rename llvm-xray filenames from .cc -> .cpp (NFC) 2018-05-02 00:43:17 +00:00
func-id-helper.h [XRay] cache symbolized function names for a repeatedly queried function ID 2018-03-01 01:59:24 +00:00
llvm-xray.cpp [XRay][tools] Rename llvm-xray filenames from .cc -> .cpp (NFC) 2018-05-02 00:43:17 +00:00
trie-node.h [XRay] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00
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][tools] Rename llvm-xray filenames from .cc -> .cpp (NFC) 2018-05-02 00:43:17 +00:00
xray-color-helper.h [XRay] A tool for Comparing xray function call graphs 2017-04-24 05:54:33 +00:00
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] Minimal tool to convert xray traces to Chrome's Trace Event Format. 2017-11-07 00:28:28 +00:00
xray-extract.cpp [XRay][tools] Rename llvm-xray filenames from .cc -> .cpp (NFC) 2018-05-02 00:43:17 +00:00
xray-graph-diff.cpp [XRay][tools] Rename llvm-xray filenames from .cc -> .cpp (NFC) 2018-05-02 00:43:17 +00:00
xray-graph-diff.h [XRay][tools] Fixup for pedantic and permissive errors/warnings 2017-04-24 06:15:53 +00:00
xray-graph.cpp [XRay][tools] Rename llvm-xray filenames from .cc -> .cpp (NFC) 2018-05-02 00:43:17 +00:00
xray-graph.h Clean up some code in Program. 2018-06-08 15:16:25 +00:00
xray-registry.cpp [XRay][tools] Rename llvm-xray filenames from .cc -> .cpp (NFC) 2018-05-02 00:43:17 +00:00
xray-registry.h [XRay] Implement `llvm-xray extract`, start of the llvm-xray tool 2016-10-26 04:14:34 +00:00
xray-stacks.cpp [XRay][tools] Rename llvm-xray filenames from .cc -> .cpp (NFC) 2018-05-02 00:43:17 +00:00