revyos / th1520-linux-kernel

TH1520 linux kernel
Other
11 stars 6 forks source link

编译perf时候,Auto-detecting system features显示libbfd: [ on ] , 但是对生成的perf,用 ./perf -vv查看libbfd: [ OFF ] # HAVE_LIBBFD_SUPPORT #3

Open wuyuwei221 opened 9 months ago

wuyuwei221 commented 9 months ago

源码编译perf的本地内核版本信息 wyw@licheepi-4a:~$ uname -a Linux licheepi-4a 6.6.4-edge-thead #20 SMP PREEMPT Thu Nov 2 22:41:51 CST 2023 riscv64 riscv64 riscv64 GNU/Linux

编译perf的内核源码 git clone -b th1520-v6.6.4 https://github.com/revyos/th1520-linux-kernel.git

在LicheePi4A(cpu架构:riscv64)板卡上,进入tools/perf目录下执行编译perf命令: make WERROR=0 NO_JEVENTS=1 -j4

编译过程中的图 50bb599db9e5529ec75c694f1ff3455

在tools/perf目录下执行: ./perf -vv 1098e9f724d078218c9d874dc1eee55