#include "src/trace_redaction/redact_process_trees.h"
#include <string>
#include "perfetto/base/status.h"
#include "perfetto/protozero/field.h"
#include "perfetto/protozero/scattered_heap_buffer.h"
#include "src/trace_processor/util/status_macros.h"
#include "src/trace_redaction/proto_util.h"
#include "src/trace_redaction/trace_redaction_framework.h"
#include "protos/perfetto/trace/ps/process_tree.pbzero.h"
#include "protos/perfetto/trace/trace_packet.pbzero.h"
namespace perfetto::trace_redaction {
ProcessTreeModifier::~ProcessTreeModifier() = default;
base::Status ProcessTreeDoNothing::Modify(const Context&,
protos::pbzero::ProcessTree*) const { … }
base::Status ProcessTreeCreateSynthThreads::Modify(
const Context& context,
protos::pbzero::ProcessTree* message) const { … }
base::Status RedactProcessTrees::Transform(const Context& context,
std::string* packet) const { … }
base::Status RedactProcessTrees::OnProcessTree(
const Context& context,
uint64_t ts,
protozero::ConstBytes bytes,
protos::pbzero::ProcessTree* message) const { … }
base::Status RedactProcessTrees::OnProcess(
const Context& context,
uint64_t ts,
protozero::Field field,
protos::pbzero::ProcessTree* message) const { … }
base::Status RedactProcessTrees::OnThread(
const Context& context,
uint64_t ts,
protozero::Field field,
protos::pbzero::ProcessTree* message) const { … }
}