• Jason Yeh's avatar
    Oprofile Multiplexing Patch · 1a960b40
    Jason Yeh authored
    This patch introduces multiplexing support for the Oprofile kernel
    module. It basically adds a new function pointer in oprofile_operator
    allowing each architecture to supply its callback to switch between
    different sets of event when the timer expires. Userspace tools can
    modify the time slice through /dev/oprofile/time_slice.
    
    It also modifies the number of counters exposed to the userspace through
    /dev/oprofile. For example, the number of counters for AMD CPUs are
    changed to 32 and multiplexed in the sets of 4.
    Signed-off-by: default avatarJason Yeh <jason.yeh@amd.com>
    Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
    Cc: oprofile-list <oprofile-list@lists.sourceforge.net>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    1a960b40
nmi_int.c 12.6 KB