summaryrefslogtreecommitdiff
path: root/include/llvm/XRay/XRayRecord.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/XRay/XRayRecord.h')
-rw-r--r--include/llvm/XRay/XRayRecord.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/XRay/XRayRecord.h b/include/llvm/XRay/XRayRecord.h
index 68c91a40fed1e..5c5e9f436f4a5 100644
--- a/include/llvm/XRay/XRayRecord.h
+++ b/include/llvm/XRay/XRayRecord.h
@@ -16,6 +16,7 @@
#define LLVM_XRAY_XRAY_RECORD_H
#include <cstdint>
+#include <vector>
namespace llvm {
namespace xray {
@@ -53,7 +54,7 @@ struct XRayFileHeader {
/// This may or may not correspond to actual record types in the raw trace (as
/// the loader implementation may synthesize this information in the process of
/// of loading).
-enum class RecordTypes { ENTER, EXIT };
+enum class RecordTypes { ENTER, EXIT, TAIL_EXIT, ENTER_ARG };
struct XRayRecord {
/// The type of record.
@@ -73,6 +74,9 @@ struct XRayRecord {
/// The thread ID for the currently running thread.
uint32_t TId;
+
+ /// The function call arguments.
+ std::vector<uint64_t> CallArgs;
};
} // namespace xray