VirtualMachineX86_64.lbr

VirtualMachineX86_64.lbr(cpu_num)[source]

Retrieve the Last Branch Record Stack (LBR).

Parameters

cpu_num (int) – The number of the vCPU whose LBR we want to retrieve.

Returns

The LBRState of the vCPU.

Return type

tenjint.api.api_x86_64.LBRState

Raises

RuntimeError – If the LBR has not been enabled to the requested vCPU.