#include "src/trace_processor/importers/ftrace/pkvm_hyp_cpu_tracker.h"
#include "perfetto/base/logging.h"
#include "perfetto/ext/base/string_utils.h"
#include "protos/perfetto/trace/ftrace/ftrace_event.pbzero.h"
#include "protos/perfetto/trace/ftrace/hyp.pbzero.h"
#include "src/trace_processor/importers/common/event_tracker.h"
#include "src/trace_processor/importers/common/slice_tracker.h"
#include "src/trace_processor/importers/common/track_tracker.h"
namespace perfetto {
namespace trace_processor {
PkvmHypervisorCpuTracker::PkvmHypervisorCpuTracker(
TraceProcessorContext* context)
: … { … }
bool PkvmHypervisorCpuTracker::IsPkvmHypervisorEvent(uint32_t event_id) { … }
void PkvmHypervisorCpuTracker::ParseHypEvent(uint32_t cpu,
int64_t timestamp,
uint32_t event_id,
protozero::ConstBytes blob) { … }
void PkvmHypervisorCpuTracker::ParseHypEnter(uint32_t cpu, int64_t timestamp) { … }
void PkvmHypervisorCpuTracker::ParseHypExit(uint32_t cpu, int64_t timestamp) { … }
void PkvmHypervisorCpuTracker::ParseHostHcall(uint32_t cpu,
protozero::ConstBytes blob) { … }
void PkvmHypervisorCpuTracker::ParseHostSmc(uint32_t cpu,
protozero::ConstBytes blob) { … }
void PkvmHypervisorCpuTracker::ParseHostMemAbort(uint32_t cpu,
protozero::ConstBytes blob) { … }
}
}