On Tue, 2010-08-31 at 00:12 -0700, Darren Hart wrote: .. > > When running with the function plugin I had to stop the trace > immediately before entering start_secondary after an online or my traces > would not include the pseries_mach_cpu_die function, nor the tracing I > added there (possibly buffer size, I am using 2048). The following trace > was collected using "trace-cmd record -p function -e irq -e sched" and > has been filtered to only show CPU [001] (the CPU undergoing the > offline/online test, and the one seeing preempt_count (pcnt) go to > ffffffff after cede. The function tracer does not indicate anything > running on the CPU other than the HCALL - unless the __trace_hcall* > commands might be to blame. It's not impossible. Though normally they're disabled right, so the only reason they're running is because you're tracing. So if they are causing the bug then that doesn't explain why you see it normally. Still, might be worth disabling just the hcall tracepoints just to be 100% sure. cheers