#include "base/profiler/stack_unwind_data.h"
#include <iterator>
#include <utility>
#include "base/check.h"
#include "base/compiler_specific.h"
#include "base/memory/ptr_util.h"
#include "base/memory/raw_ptr.h"
#include "base/metrics/histogram_functions.h"
#include "base/numerics/safe_conversions.h"
#include "base/profiler/metadata_recorder.h"
#include "base/profiler/profile_builder.h"
#include "base/profiler/sample_metadata.h"
#include "base/profiler/stack_buffer.h"
#include "base/profiler/stack_copier.h"
#include "base/profiler/suspendable_thread_delegate.h"
#include "base/profiler/unwinder.h"
#include "base/ranges/algorithm.h"
namespace base {
StackUnwindData::StackUnwindData(
std::unique_ptr<ProfileBuilder> profile_builder)
: … { … }
StackUnwindData::~StackUnwindData() = default;
std::vector<UnwinderCapture> StackUnwindData::GetUnwinderSnapshot() { … }
void StackUnwindData::Initialize(
std::vector<std::unique_ptr<Unwinder>> unwinders) { … }
void StackUnwindData::OnThreadPoolRunning() { … }
void StackUnwindData::AddAuxUnwinder(std::unique_ptr<Unwinder> unwinder) { … }
}