mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
1a960b402a
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: Jason Yeh <jason.yeh@amd.com> Signed-off-by: Robert Richter <robert.richter@amd.com> Cc: oprofile-list <oprofile-list@lists.sourceforge.net> Signed-off-by: Ingo Molnar <mingo@elte.hu> |
||
---|---|---|
.. | ||
buffer_sync.c | ||
buffer_sync.h | ||
cpu_buffer.c | ||
cpu_buffer.h | ||
event_buffer.c | ||
event_buffer.h | ||
oprof.c | ||
oprof.h | ||
oprofile_files.c | ||
oprofile_stats.c | ||
oprofile_stats.h | ||
oprofilefs.c | ||
timer_int.c |