• Robert Richter's avatar
    oprofile: use new data sample format for ibs · 1acda878
    Robert Richter authored
    The new ring buffer implementation allows the storage of samples with
    different size. This patch implements the usage of the new sample
    format to store ibs samples in the cpu buffer. Until now, writing to
    the cpu buffer could lead to incomplete sampling sequences since IBS
    samples were transfered in multiple samples. Due to a full buffer,
    data could be lost at any time. This can't happen any more since the
    complete data is reserved in advance and then stored in a single
    sample.
    Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
    1acda878
buffer_sync.c 13.3 KB