modify to get the C name of a function in a kernel's internal function object instead of in a kernel itself