aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/commonlib/include/commonlib/timestamp_serialized.h26
1 files changed, 24 insertions, 2 deletions
diff --git a/src/commonlib/include/commonlib/timestamp_serialized.h b/src/commonlib/include/commonlib/timestamp_serialized.h
index 63b7806e3c..79e70b779f 100644
--- a/src/commonlib/include/commonlib/timestamp_serialized.h
+++ b/src/commonlib/include/commonlib/timestamp_serialized.h
@@ -144,9 +144,9 @@ enum timestamp_id {
/* 990+ reserved for vendorcode extensions (990-999: Intel ME continued) */
TS_ME_ROM_START = 990,
- /* 1000+ reserved for payloads (1000-1200: ChromeOS depthcharge) */
+ /* 1000+ reserved for payloads */
- /* Depthcharge entry IDs start at 1000 */
+ /* 1000-1200: Depthcharge */
TS_DC_START = 1000,
TS_RO_PARAMS_INIT = 1001,
@@ -164,6 +164,16 @@ enum timestamp_id {
TS_KERNEL_START = 1101,
TS_KERNEL_DECOMPRESSION = 1102,
+
+ /* 1200-1300: Chrome OS Hypervisor */
+ TS_CRHV_BOOT = 1200,
+ TS_CRHV_PLATFORM_INIT = 1201,
+ TS_CRHV_SERVICES_STARTED = 1202,
+ TS_CRHV_HW_PASSTRHOUGH_START = 1203,
+ TS_CRHV_HW_PASSTRHOUGH_END = 1204,
+ TS_CRHV_PSTORE_START = 1205,
+ TS_CRHV_PSTORE_END = 1206,
+ TS_CRHV_VMM_START = 1207,
};
#define TS_NAME_DEF(id, id_end, desc) {(id), (id_end), STRINGIFY(id), (desc)}
@@ -333,6 +343,18 @@ static const struct timestamp_id_to_name {
TS_NAME_DEF(TS_KERNEL_START, 0, "jumping to kernel"),
TS_NAME_DEF(TS_KERNEL_DECOMPRESSION, 0, "starting kernel decompression/relocation"),
+
+ /* Chrome OS hypervisor */
+ TS_NAME_DEF(TS_CRHV_BOOT, 0, "hypervisor boot finished"),
+ TS_NAME_DEF(TS_CRHV_PLATFORM_INIT, 0, "hypervisor platform initialized"),
+ TS_NAME_DEF(TS_CRHV_SERVICES_STARTED, 0, "hypervisor services started"),
+ TS_NAME_DEF(TS_CRHV_HW_PASSTRHOUGH_START, TS_CRHV_HW_PASSTRHOUGH_END,
+ "hypervisor hardware passtrough setup start"),
+ TS_NAME_DEF(TS_CRHV_HW_PASSTRHOUGH_END, 0,
+ "hypervisor hardware passtrhough setup complete"),
+ TS_NAME_DEF(TS_CRHV_PSTORE_START, TS_CRHV_PSTORE_END, "hypervisor pstore init start"),
+ TS_NAME_DEF(TS_CRHV_PSTORE_END, 0, "hypervisor pstore init complete"),
+ TS_NAME_DEF(TS_CRHV_VMM_START, 0, "hypervisor OS VMM start"),
};
#endif