[PATCH 4/8][RFC] ftrace: Add context level recursion bit checking

2012-11-15 Thread Steven Rostedt
From: Steven Rostedt Currently for recursion checking in the function tracer, ftrace tests a task_struct bit to determine if the function tracer had recursed or not. If it has, then it will will return without going further. But this leads to races. If an interrupt came in after the bit was

[PATCH 4/8][RFC] ftrace: Add context level recursion bit checking

2012-11-15 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Currently for recursion checking in the function tracer, ftrace tests a task_struct bit to determine if the function tracer had recursed or not. If it has, then it will will return without going further. But this leads to races. If an interrupt came in

[PATCH 4/8][RFC] ftrace: Add context level recursion bit checking

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt Currently for recursion checking in the function tracer, ftrace tests a task_struct bit to determine if the function tracer had recursed or not. If it has, then it will will return without going further. But this leads to races. If an interrupt came in after the bit was

[PATCH 4/8][RFC] ftrace: Add context level recursion bit checking

2012-11-02 Thread Steven Rostedt
From: Steven Rostedt srost...@redhat.com Currently for recursion checking in the function tracer, ftrace tests a task_struct bit to determine if the function tracer had recursed or not. If it has, then it will will return without going further. But this leads to races. If an interrupt came in