I am running on Linux PSP 04.01.00.07 on an 8148EVM and would like to use oprofile. I note that the kernel has a configuration constant named CONFIG_HAVE_OPROFILE and there is oprofile code in the kernel source tree, but I see nothing (no code, no header files, no Makefile constructs) that pays attention to CONFIG_HAVE_OPROFILE.
But I went ahead anyway and used menuconfig to turn on oprofile and then built my kernel and added idle=poll to the bootline (per Documentation/basic_profiling.txt), but no oprofile module was built and oprofile is not in the kernel. That is, the oprofile toolkit is not yet working on my platform.
I notice that for some TI ARM Linux builds, the defconfig file specifies CONFIG_PROFILING as "y" and for some, it's not set. For the 8148, it's not set. Why would this be? Can't the default always by "y" for TI ARM devices?
Any help with pointing out what I need to do or what I've overlooked is appreciated. Thanks.
bob