[NTOSKRNL]

* Print RealFrameCount here.

svn path=/trunk/; revision=62377
This commit is contained in:
Amine Khaldi 2014-03-02 13:01:16 +00:00
parent acfa62fbeb
commit 3958819ba0

View file

@ -275,6 +275,7 @@ KeRosDumpStackFrames(IN PULONG_PTR Frame OPTIONAL,
{ {
/* Get the current frames (skip the two. One for the dumper, one for the caller) */ /* Get the current frames (skip the two. One for the dumper, one for the caller) */
RealFrameCount = RtlCaptureStackBackTrace(2, FrameCount, (PVOID*)Frames, NULL); RealFrameCount = RtlCaptureStackBackTrace(2, FrameCount, (PVOID*)Frames, NULL);
DPRINT1("RealFrameCount =%lu\n", RealFrameCount);
/* Dump them */ /* Dump them */
KeRosDumpStackFrameArray(Frames, RealFrameCount); KeRosDumpStackFrameArray(Frames, RealFrameCount);