-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Hi, When I tried to install systemtap to my nexus6 as the README guidance , I met some problems, could you tell me how to fix those problems?
First I ran ./build.sh, it seems no problems.
And then I created a config file nexus6.config for my device with contents
KERNEL_ARCH=arm
KERNEL_SRC=/home/hubery/androidkernel/nexus6kernel/msm
where /home/hubery/androidkernel/nexus6kernel/msm was android kernel tree(no compiltion before)
And then I used a stp file "measure_ra_pages.stp" from ./scripts to test by the command
./build-module measure_ra_pages nexus6
there were some errors occured:
hubery@ubuntu:~/systemtap/systemtap-android$ ./build-module measure_ra_pages nexus6
Executing: /home/hubery/systemtap/systemtap-android/installed/bin/stap -p 4 -v -a arm -B CROSS_COMPILE=arm-eabi- -r /home/hubery/androidkernal/nexus6kernel/msm -R /home/hubery/systemtap/systemtap-android/installed/share/systemtap/runtime/ -t -g -m measure_ra_pages scripts/measure_ra_pages.stp
WARNING: Kernel function symbol table missing [man warning::symbols]
Pass 1: parsed user script and 114 library scripts using 55160virt/31044res/5164shr/25972data kb, in 90usr/10sys/110real ms.
semantic error: while resolving probe point: identifier 'kernel' at scripts/measure_ra_pages.stp:57:7
source: probe kernel.function("fd_install").call
^
semantic error: missing arm kernel/module debuginfo [man warning::debuginfo] under '/home/hubery/androidkernal/nexus6kernel/msm'
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
WARNING: kbuild exited with status: 2
Pass 2: analyzed script: 2 probes, 173 functions, 4 embeds, 5 globals using 56216virt/33508res/6560shr/27028data kb, in 9390usr/5650sys/20228real ms.
Pass 2: analysis failed. [man error::pass2]
Could you tell me how to fix this errors?
Thank you very much!