Re: Generating a function call trace

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Fri Nov 30 2001 - 10:33:58 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:39 EST