Re: [PATCH] perf: x86: fix callgraphs of 32-bit processes on 64-bitkernels V3.
From: Ingo Molnar
Date: Wed Mar 17 2010 - 05:55:13 EST
* T??r??k Edwin <edwintorok@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/