Home | History | Annotate | Download | only in src

Lines Matching refs:CONTEXT

702     // Context used for sampling the register state of the profiled thread.
703 CONTEXT context;
704 memset(&context, 0, sizeof(context));
714 context.ContextFlags = CONTEXT_FULL;
715 if (GetThreadContext(profiled_thread, &context) != 0) {
717 sample->pc = reinterpret_cast<Address>(context.Rip);
718 sample->sp = reinterpret_cast<Address>(context.Rsp);
719 sample->fp = reinterpret_cast<Address>(context.Rbp);
721 sample->pc = reinterpret_cast<Address>(context.Eip);
722 sample->sp = reinterpret_cast<Address>(context.Esp);
723 sample->fp = reinterpret_cast<Address>(context.Ebp);