Re: [RFC PATCH] Expand memblock=debug to provide a bit more details(v1).

From: H. Peter Anvin
Date: Tue May 08 2012 - 13:35:52 EST


On 05/04/2012 12:24 PM, Konrad Rzeszutek Wilk wrote:
>>
>> that RET_IP is not very helpful for debugging.
>
> Is there a better way of doing it that is automatic?
>>

It depends on what "it" is. You could do a full stack backtrace, or use
__builtin_return_address(N).

-hpa

--
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/