while typing a command like #ifconfig 10.0.0.10 up is it possible to see all "possible" prints inside kernel.

I know something like echo t > /proc/sysrq-trigger will give you stack trace with respect to processes running in a system.
What I am interested in is, with respect to a 'specific command' how can I get the kernel functions(stack trace) that gets executed?

I know about debuggers like kgdb,but I am interested in quick ways like sysrq methods if any.

Thanks.
['https://Stackoverflow.com/questions/6595424', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/124330/']
`tail -f /var/log/kern.log` should display any interaction that occurrs in the kernel.  

It is more or less an equivalent to the `dmesg` command.
`strace ifconfig 10.0.0.10 up` will show all system calls called by ifconfig, but will not get inside kernel's calls