From: Ingo Molnar on 17 Mar 2010 06:00 * T??r??k Edwin <edwintorok(a)gmail.com> wrote: > +#ifdef CONFIG_COMPAT > + if (test_thread_flag(TIF_IA32)) { > + perf_callchain_user32(regs, entry); > + return; > + } > +#endif You can push that test into perf_callchain_user32() and turn it into something like: if (perf_callchain_user32(regs, entry)) return; without the #ifdef here. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: lock monitor: Separate features related to lock Next: Can not get 'function_graph' for |