pub fn precheck_replay(
profile: CpuProfile,
recorded: Option<&HostXstate>,
recorded_digest: Option<&str>,
) -> Result<HostXstate, CpuProfileRefusal>Expand description
Refuses a v3 replay before the qualification probe runs when the recording carries no host facts, when this host differs in one of the facts it bound (the qualification itself aside), or when its CPUID table digest is not the one this replayer computes from them. The probe costs seconds of CPU, and a replay on a different CPU, or of an altered recording, needs none of it to be refused. Returns the recorded facts.