#include "base/profiler/stack_copier_suspend.h"
#include "base/profiler/stack_buffer.h"
#include "base/profiler/suspendable_thread_delegate.h"
namespace base {
StackCopierSuspend::StackCopierSuspend(
std::unique_ptr<SuspendableThreadDelegate> thread_delegate)
: … { … }
StackCopierSuspend::~StackCopierSuspend() = default;
bool StackCopierSuspend::CopyStack(StackBuffer* stack_buffer,
uintptr_t* stack_top,
TimeTicks* timestamp,
RegisterContext* thread_context,
Delegate* delegate) { … }
std::vector<uintptr_t*> StackCopierSuspend::GetRegistersToRewrite(
RegisterContext* thread_context) { … }
}