One way, though not complete, is to do
which tells you some info, including the running kernel version. that means, if you have multiple compiled kernels and their version numbers differ, that tells you which one got booted. but if you have two with the same version (but with different filename), then I'm a bit unsure..
yeah, there probably is a better way, but this is a start