Identifying the type of the kernel routine executing in the kernel at a particular time instant