• Robert Richter's avatar
    oprofile, x86: Add support for IBS branch target address reporting · 25da6950
    Robert Richter authored
    This patch adds support for IBS branch target address reporting. A new
    MSR (MSRC001_103B IBS Branch Target Address) has been added that
    provides the logical address in canonical form for the branch
    target. The size of the IBS sample that is transferred to the userland
    has been increased.
    
    For backward compatibility, the userland daemon must explicit enable
    the feature by writing to the oprofilefs file
    
     ibs_op/branch_target
    
    After enabling branch target address reporting, the userland daemon
    must handle the extended size of the IBS sample.
    Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
    25da6950
msr-index.h 14.7 KB