#include "src/trace_redaction/process_thread_timeline.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include "perfetto/base/logging.h"
namespace perfetto::trace_redaction {
namespace {
constexpr size_t kMaxSearchDepth = …;
bool OrderByPid(const ProcessThreadTimeline::Event& left,
const ProcessThreadTimeline::Event& right) { … }
}
void ProcessThreadTimeline::Append(const Event& event) { … }
void ProcessThreadTimeline::Sort() { … }
const ProcessThreadTimeline::Event* ProcessThreadTimeline::GetOpeningEvent(
uint64_t ts,
int32_t pid) const { … }
bool ProcessThreadTimeline::PidConnectsToUid(uint64_t ts,
int32_t pid,
uint64_t uid) const { … }
const ProcessThreadTimeline::Event* ProcessThreadTimeline::QueryLeftMax(
uint64_t ts,
int32_t pid,
Event::Type type) const { … }
}