From: Jason Yeh Date: Wed, 23 Jul 2008 21:05:53 +0000 (+0200) Subject: Oprofile Multiplexing Patch X-Git-Tag: v2.6.28-rc1~35^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a960b402a51d80abf54e3f8e4972374ffe5f22d;p=pandora-kernel.git Oprofile Multiplexing Patch 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 Signed-off-by: Robert Richter Cc: oprofile-list Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed