]> git.karo-electronics.de Git - mv-sheeva.git/commit
oprofile: Adding switch counter to oprofile statistic variables
authorRobert Richter <robert.richter@amd.com>
Thu, 9 Jul 2009 12:56:25 +0000 (14:56 +0200)
committerRobert Richter <robert.richter@amd.com>
Mon, 20 Jul 2009 14:43:21 +0000 (16:43 +0200)
commit1b294f5960cd89e49eeb3e797860c552b03f2272
tree2582a7f6d56c2f34ff956d24eda97b18720aa0ce
parent4d015f79e972cea1761cfee8872b1c0992ccd8b2
oprofile: Adding switch counter to oprofile statistic variables

This patch moves the multiplexing switch counter from x86 code to
common oprofile statistic variables. Now the value will be available
and usable for all architectures. The initialization and
incrementation also moved to common code.

Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/nmi_int.c
drivers/oprofile/oprof.c
drivers/oprofile/oprofile_stats.c
drivers/oprofile/oprofile_stats.h