This comes in reverse order, compared to other backtraces in the MLPD, so
reverse it before sending it to visitors, so that it comes in the same
format as the rest of backtraces.
}
ev = new SampleHitEvent {
ThreadId = ReadPointer (),
- UnmanagedBacktrace = ReadBacktrace (true, false), // FIXME: isn't this reversed?
- ManagedBacktrace = ReadBacktrace (true),
+ UnmanagedBacktrace = ReadBacktrace (true, false),
+ ManagedBacktrace = ReadBacktrace (true).Reverse ().ToArray (),
};
break;
case LogEventType.SampleUnmanagedSymbol: