chromium/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc

// Copyright 2017 The Crashpad Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "snapshot/linux/thread_snapshot_linux.h"

#include <sched.h>

#include "base/logging.h"
#include "snapshot/linux/capture_memory_delegate_linux.h"
#include "snapshot/linux/cpu_context_linux.h"
#include "util/misc/reinterpret_bytes.h"

namespace crashpad {
namespace internal {

namespace {

int ComputeThreadPriority(int static_priority,
                          int sched_policy,
                          int nice_value) {}

}  // namespace

ThreadSnapshotLinux::ThreadSnapshotLinux()
    :{}

ThreadSnapshotLinux::~ThreadSnapshotLinux() {}

bool ThreadSnapshotLinux::Initialize(
    ProcessReaderLinux* process_reader,
    const ProcessReaderLinux::Thread& thread,
    uint32_t* gather_indirectly_referenced_memory_bytes_remaining) {}

const CPUContext* ThreadSnapshotLinux::Context() const {}

const MemorySnapshot* ThreadSnapshotLinux::Stack() const {}

uint64_t ThreadSnapshotLinux::ThreadID() const {}

std::string ThreadSnapshotLinux::ThreadName() const {}

int ThreadSnapshotLinux::SuspendCount() const {}

int ThreadSnapshotLinux::Priority() const {}

uint64_t ThreadSnapshotLinux::ThreadSpecificDataAddress() const {}

std::vector<const MemorySnapshot*> ThreadSnapshotLinux::ExtraMemory() const {}

}  // namespace internal
}  // namespace crashpad