From: Dave Hansen Date: Fri, 21 Jun 2013 15:51:38 +0000 (-0700) Subject: x86: Add NMI duration tracepoints X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~62^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c4df02d739fed5ab081b330d67403206dd3967e;p=pandora-kernel.git x86: Add NMI duration tracepoints This patch has been invaluable in my adventures finding issues in the perf NMI handler. I'm as big a fan of printk() as anybody is, but using printk() in NMIs is deadly when they're happening frequently. Even hacking in trace_printk() ended up eating enough CPU to throw off some of the measurements I was making. Signed-off-by: Dave Hansen Acked-by: Peter Zijlstra Cc: paulus@samba.org Cc: acme@ghostprotocols.net Cc: Dave Hansen Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed