Bug 1952904 - Support flows in StreamPayload r=profiler-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D240882
This commit is contained in:
@@ -1030,6 +1030,14 @@ inline void StreamPayload<ProfilerString8View>(
|
|||||||
const ProfilerString8View& aPayload) {
|
const ProfilerString8View& aPayload) {
|
||||||
aWriter.StringProperty(aKey, aPayload);
|
aWriter.StringProperty(aKey, aPayload);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template <>
|
||||||
|
inline void StreamPayload<Flow>(baseprofiler::SpliceableJSONWriter& aWriter,
|
||||||
|
const Span<const char> aKey,
|
||||||
|
const Flow& aPayload) {
|
||||||
|
aWriter.FlowProperty(aKey, aPayload);
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
|
||||||
// This helper class is used by MarkerTypes that want to support the general
|
// This helper class is used by MarkerTypes that want to support the general
|
||||||
|
|||||||
Reference in New Issue
Block a user