[PATCH] D49153: [XRay][compiler-rt] Add PID field to llvm-xray tool and add PID metadata record entry in FDR mode

Henry Zhu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 11 14:08:54 PDT 2018


Maknee updated this revision to Diff 155061.
Maknee edited the summary of this revision.
Maknee added a comment.

FDR/Basic changes:

- Updated header 2 -> 3

llvm-xray changes:

- Now parses basic logs
- Accounts for version differences when parsing through FDR metadata
- Updated testcases to expect a version 3 instead of 2
- Updated fork_basic_logging.cc to expect the updated log format


https://reviews.llvm.org/D49153

Files:
  compiler-rt/lib/xray/tests/unit/fdr_logging_test.cc
  compiler-rt/lib/xray/xray_basic_logging.cc
  compiler-rt/lib/xray/xray_fdr_log_records.h
  compiler-rt/lib/xray/xray_fdr_logging.cc
  compiler-rt/test/xray/TestCases/Posix/fdr-mode.cc
  compiler-rt/test/xray/TestCases/Posix/fdr-single-thread.cc
  compiler-rt/test/xray/TestCases/Posix/fdr-thread-order.cc
  compiler-rt/test/xray/TestCases/Posix/fork_basic_logging.cc
  llvm/include/llvm/XRay/XRayRecord.h
  llvm/include/llvm/XRay/YAMLXRayRecord.h
  llvm/lib/XRay/Trace.cpp
  llvm/tools/llvm-xray/xray-account.cpp
  llvm/tools/llvm-xray/xray-converter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49153.155061.patch
Type: text/x-patch
Size: 31039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180711/f6a2ffcc/attachment.bin>


More information about the llvm-commits mailing list