2 Commits

Author SHA1 Message Date
Dean Michael Berris
2b5cea5ac1 [XRay] Add TSC to NewCPUId Records
Summary:
This more correctly reflects the data written by the FDR mode runtime.

This is a continuation of the work in D50441.

Reviewers: mboerger, eizan

Subscribers: hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D51911

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341905 91177308-0d34-0410-b5e6-96231b3b80d8
2018-09-11 06:36:51 +00:00
Dean Michael Berris
ebf842e725 [XRay] Add a RecordPrinter visitor for FDR Records
Summary:
This change adds a `RecordPrinter` type which does some basic text
serialization of the FDR record instances. This is one component of the
tool we're building to dump the records from an FDR mode log as-is.

This is a small part of D50441.

Reviewers: eizan, kpw

Subscribers: mgorny, hiraditya, llvm-commits

Differential Revision: https://reviews.llvm.org/D51672

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@341447 91177308-0d34-0410-b5e6-96231b3b80d8
2018-09-05 06:57:23 +00:00