summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/hw_irq.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2012-06-04 16:27:54 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-06-29 14:35:36 +1000
commit2d773aa4810d4a612d1c879faacc38594cc3f841 (patch)
tree7c3a6d3490b17e4ef597fc2e535909578aec4a53 /arch/powerpc/include/asm/hw_irq.h
parent2cb387ae758d97ee7396a82528c824b8dc510b8a (diff)
downloadlinux-2d773aa4810d4a612d1c879faacc38594cc3f841.tar.gz
linux-2d773aa4810d4a612d1c879faacc38594cc3f841.tar.bz2
linux-2d773aa4810d4a612d1c879faacc38594cc3f841.zip
powerpc/ftrace: Do not trace restore_interrupts()
As I was adding code that affects all archs, I started testing function tracer against PPC64 and found that it currently locks up with 3.4 kernel. I figured it was due to tracing a function that shouldn't be, so I went through the following process to bisect to find the culprit: cat /debug/tracing/available_filter_functions > t num=`wc -l t` sed -ne "1,${num}p" t > t1 let num=num+1 sed -ne "${num},$p" t > t2 cat t1 > /debug/tracing/set_ftrace_filter echo function /debug/tracing/current_tracer <failed? bisect t1, if not bisect t2> It finally came down to this function: restore_interrupts() I'm not sure why this locks up the system. It just seems to prevent scheduling from occurring. Interrupts seem to still work, as I can ping the box. But all user processes freeze. When restore_interrupts() is not traced, function tracing works fine. Cc: stable@kernel.org Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/hw_irq.h')
0 files changed, 0 insertions, 0 deletions