Skip to content

Ariane v0.7 pmu #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

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
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