Is there a way to get function caller in linux kernel? I know __func__ returns the function name which is executing. I am looking for the function whic
To get the caller function name, one can use the below printk command.
printk("Caller is %pF\n", __builtin_return_address(0));