Skip to content

Conversation

@iJeremyLi
Copy link

Add support for Ariane's PMU(controlled with macro CONFIG_ARIANE_PMU)
There are some dependences in ariane-sdk

  1. Need to add one sbi trap entry with id 9 and one param of Performance counter csr register's address offset.
  2. Need to set
    BR2_PACKAGE_LINUX_TOOLS_PERF=y
    BR2_PACKAGE_LINUX_TOOLS_PERF_TUI=y
    int buildroot_defconfig
  3. Need to use defconfig for kernel with arch/riscv/configs/ariane_defconfig

Now, You can use perf with stat/record/report/list/top subcommands.

@iJeremyLi iJeremyLi force-pushed the ariane-v0.7-pmu branch 2 times, most recently from 42ea8d1 to 2b5f49c Compare June 12, 2020 01:42
Signed-off-by: Jeremy Li <lilg@pcl.ac.cn>
Signed-off-by: Jeremy Li <lilg@pcl.ac.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants