summaryrefslogtreecommitdiffstats
path: root/llvm/lib/XRay/RecordPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/XRay/RecordPrinter.cpp')
-rw-r--r--llvm/lib/XRay/RecordPrinter.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/XRay/RecordPrinter.cpp b/llvm/lib/XRay/RecordPrinter.cpp
index 09b25ddba25..81d77f67cc1 100644
--- a/llvm/lib/XRay/RecordPrinter.cpp
+++ b/llvm/lib/XRay/RecordPrinter.cpp
@@ -35,8 +35,9 @@ Error RecordPrinter::visit(TSCWrapRecord &R) {
}
Error RecordPrinter::visit(CustomEventRecord &R) {
- OS << formatv("<Custom Event: tsc = {0}, size = {1}, data = '{2}'>", R.tsc(),
- R.size(), R.data())
+ OS << formatv(
+ "<Custom Event: tsc = {0}, cpu = {1}, size = {2}, data = '{3}'>",
+ R.tsc(), R.cpu(), R.size(), R.data())
<< Delim;
return Error::success();
}
OpenPOWER on IntegriCloud