[PATCH] D45998: [XRay][profiler] Part 5: Profiler File Writing
Dean Michael Berris via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 23 22:23:45 PDT 2018
dberris created this revision.
dberris added reviewers: echristo, kpw, pelikan.
This is part of the larger XRay Profiling Mode effort.
This patch implements the profile writing mechanism, to allow profiles
collected through the profiler mode to be persisted to files.
Follow-on patches would allow us to load these profiles and start
converting/analysing them through the `llvm-xray` tool.
Depends on https://reviews.llvm.org/D44620.
https://reviews.llvm.org/D45998
Files:
compiler-rt/lib/xray/xray_profile_collector.cc
compiler-rt/lib/xray/xray_profiler.cc
compiler-rt/lib/xray/xray_profiler_flags.inc
compiler-rt/lib/xray/xray_utils.cc
compiler-rt/lib/xray/xray_utils.h
compiler-rt/test/xray/TestCases/Posix/profiling-multi-threaded.cc
compiler-rt/test/xray/TestCases/Posix/profiling-single-threaded.cc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45998.143677.patch
Type: text/x-patch
Size: 8534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180424/eda5278e/attachment.bin>
More information about the llvm-commits
mailing list