On Fri, 10 May 2019 14:17:20 +0200 Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote: > But both ftrace and retprobes are at C function call boundaries. > Preserving flags doesn't make sense. I agree, but I did it just because of my OCD and being complete in "emulating an int3" for ftrace_regs_caller ;-) Yeah, we can remove the popfl from the ftrace trampoline. -- Steve