We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Note: This was originally posted on 30th August 2013 at forums.arm.com
The unknown symbols perf_event_* imply that your kernel is not compiled with perf support. Older versions DS-5, like 5.5, did not use perf which is why you can run it. However gator.ko from DS-5 v5.15 uses perf on kernels 3.0 and newer (which I assume you're using). Is the kernel you're running built with CONFIG_PERF_EVENTS? To check you can run "cat /proc/kallsyms | grep perf_event_create_kernel_counter" from the adb shell. Here's what I get on my Nexus 10root@android:/ # cat /proc/kallsyms | grep perf_event_create_kernel_counter 00000000 T perf_event_create_kernel_counter00000000 r __ksymtab_perf_event_create_kernel_counter00000000 r __kstrtab_perf_event_create_kernel_counterIf it's missing you will need to enable it using menuconfig and then install the resulting kernel on your Galaxy Tab 10.1.
Hi Drew,
Thank you SO MUCH for your reply.
I have run "cat /proc/kallsyms | grep perf_event_create_kernel_counter", and the output is empty. I went down to /proc and find kallsyms is 0 byte. However, I have checked and found I did built kernel with CONFIG_PERF_EVENTS. Could you please offer more advice regarding where went wrong?
Thank you!
Best regards,
Xiaowan