Re: Generating a function call trace

Martin Dalecki (dalecki@evision-ventures.com)
Fri, 30 Nov 2001 16:33:58 +0100


Simon Turvey wrote:
>
> Is it possible to arbitrarily generate (in a module say) a function call
> trace?
>

Just insert the dereference of a NULL pointer where you wan't to have
it.
The oops gives you what you wan't....
Or better attach the gdb to /proc/kmem (you will have to compile the
kernel with
debugging on in front of this action) and have fun.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/