Hi,
I am trying to make XML
views for LTTng from CoreCLR. While for most events payload
is being loaded correctly, some seems to have unparsed data.
For example, DotNETRuntime:GCGenerationRange have Contents
with all fields parsed:
Timestamp
Channel CPU Event type
Contents Binary Location Function
Location Source Location
10:35:41.990 062 403
channel0_0 0
DotNETRuntime:GCGenerationRange Generation=2,
RangeStart=140491869908992, RangeUsedLength=24,
RangeReservedLength=24, ClrInstanceID=0,
context._vpid=39237, context._vtid=39254,
context._procname=dotnet
So I am able to draw XML
XY chart based on, for example, RangeUsedLength.
But for some events
there are only unparsed, __data related fields:
Timestamp
Channel CPU Event type
Contents Binary Location Function
Location Source Location
10:35:41.990 066 003
channel0_0 0
DotNETRuntime:GCHeapStats_V1 length=94,
___data___length=94, __data__=[120, 136, 28, 0, 0, 0, 0, 0,
176, 254, 16, 0, 0, 0, 0, 0, 240, 10, 17, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 170, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
242, 91, 1, 0, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 0, 0, 3, 0, 0,
0, 11, 0, 0, 0, 165, 0, 0, 0, 0, 0], context._vpid=39237,
context._vtid=39254,
context._procname=dotnet
I know LTTng USG Trace
parsing is used here but I am not sure if it is possible to
extend it somehow to get very valuable fields hidden in
__data__ field?
Konrad Kokosa