> You should certainly see it in "uname -a" output, for example.
Hrmph. Actually we can take it from the ELF headers of the vmlinux file
that gets passed in I suppose. Along with a uname hack for when there's
no vmlinux available...
> The same is true of kernel modules - 32-bit kernel modules do not work at
> all when the kernel is 64-bit.
Modules aren't in userspace.
> Compile oprofile for the proper architecture if you do it yourself, and
> complain to the vendor if the vendor is stupid enough to supply a 32-bit
> oprofile with a 64-bit kernel.
I don't see what's stupid about a 32-bit binary on a system where all of
user-space is 32-bit. But it doesn't matter.
regards
john
-- "CUT IT OUT FACEHEAD" - jeffk - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/