Here is what I am after.
We have some rudimentary memory tracking tools in our application and
I'd like to put some debug output in that allows me to write the name of
the routine I am in to some debug log.
My thinking is that I should be able to get a hold of the process call
stack and using the top of the stack I should have the name of the
function/method I am in.
Any help on how to go about this would be appreciated. A pointer to any
documentation on how to get a hold of the stack, or the public API for
this is of course welcome.
Thanks,
Robert
-- Robert Schweikert <Robert.Schweikert@abaqus.com> ABAQUS - 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/