how to get kernel functions calling stack/invokation ordert