Bug 1646266 - ProfileBufferEntryKind::Marker - r=gregtatum

A new entry kind is needed to serialize the new markers, because they are not encoded the same way.

Differential Revision: https://phabricator.services.mozilla.com/D87253
This commit is contained in:
Gerald Squelart 2020-09-02 04:01:20 +00:00
Родитель 2c20225e23
Коммит f304c42c99
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -73,6 +73,9 @@ enum class ProfileBufferEntryKind : ProfileBufferEntryKindUnderlyingType {
// Marker data, including payload. // Marker data, including payload.
MarkerData = LEGACY_LIMIT, MarkerData = LEGACY_LIMIT,
// Markers from 2.0 specs.
Marker,
// Optional between TimeBeforeCompactStack and CompactStack. // Optional between TimeBeforeCompactStack and CompactStack.
UnresponsiveDurationMs, UnresponsiveDurationMs,