Fix profile_kernel without Func
explcitly check kernel_name_.empty