Re: BUG: ftrace/perf dropping events at the begin of interrupt handlers

2018-12-14 Thread Daniel Bristot de Oliveira
On 12/4/18 8:16 PM, Steven Rostedt wrote: > Yes, it's a simple fix. The problem is that the recursion detection of > the function tracer requires that when its called from interrupt, the > "in_interrupt" needs to be true, otherwise it thinks that the function > tracer is recursing on itself (which

Re: BUG: ftrace/perf dropping events at the begin of interrupt handlers

2018-12-04 Thread Steven Rostedt
On Thu, 22 Nov 2018 10:45:05 +0100 Daniel Bristot de Oliveira wrote: > While developing the automata [1], I've hit cases in which need resched > and/or sched wakeup events were being fired with preemption and/or > interrupts enabled. However, this is not possible because interrupts must > be

Re: BUG: ftrace/perf dropping events at the begin of interrupt handlers

2018-12-04 Thread Steven Rostedt
On Thu, 22 Nov 2018 10:45:05 +0100 Daniel Bristot de Oliveira wrote: > While developing the automata [1], I've hit cases in which need resched > and/or sched wakeup events were being fired with preemption and/or > interrupts enabled. However, this is not possible because interrupts must > be

BUG: ftrace/perf dropping events at the begin of interrupt handlers

2018-11-22 Thread Daniel Bristot de Oliveira
While developing the automata [1], I've hit cases in which need resched and/or sched wakeup events were being fired with preemption and/or interrupts enabled. However, this is not possible because interrupts must be disabled to avoid concurrence with an interrupt handler, and the preemption must

BUG: ftrace/perf dropping events at the begin of interrupt handlers

2018-11-22 Thread Daniel Bristot de Oliveira
While developing the automata [1], I've hit cases in which need resched and/or sched wakeup events were being fired with preemption and/or interrupts enabled. However, this is not possible because interrupts must be disabled to avoid concurrence with an interrupt handler, and the preemption must