Skip to content

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

Closed
@wuyuwei221

Description

@wuyuwei221

源码编译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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions