From: Geert Uytterhoeven Date: Mon, 18 May 2009 02:10:05 +0000 (+0000) Subject: powerpc: Keep track of emulated instructions X-Git-Tag: v2.6.31-rc1~331^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80947e7c99c29ce3a78bdc1933b310468455a82f;p=pandora-kernel.git powerpc: Keep track of emulated instructions If CONFIG_PPC_EMULATED_STATS is enabled, make available counters for the various classes of emulated instructions under /sys/kernel/debug/powerpc/emulated_instructions/ (assumed debugfs is mounted on /sys/kernel/debug). Optionally (controlled by /sys/kernel/debug/powerpc/emulated_instructions/do_warn), rate-limited warnings can be printed to the console when instructions are emulated. Signed-off-by: Geert Uytterhoeven Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed