Skip to content

Commit 2e7451f

Browse files
avpatelpalmer-dabbelt
authored andcommitted
RISC-V: Enable profiling by default
Let us enable profiling by default in RV32 and RV64 defconfigs so that we can use RISC-V PMU drivers on various RISC-V platforms. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent 6174876 commit 2e7451f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

arch/riscv/configs/defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CONFIG_CHECKPOINT_RESTORE=y
1515
CONFIG_BLK_DEV_INITRD=y
1616
CONFIG_EXPERT=y
1717
# CONFIG_SYSFS_SYSCALL is not set
18+
CONFIG_PROFILING=y
1819
CONFIG_SOC_MICROCHIP_POLARFIRE=y
1920
CONFIG_SOC_SIFIVE=y
2021
CONFIG_SOC_VIRT=y

arch/riscv/configs/rv32_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CONFIG_CHECKPOINT_RESTORE=y
1515
CONFIG_BLK_DEV_INITRD=y
1616
CONFIG_EXPERT=y
1717
# CONFIG_SYSFS_SYSCALL is not set
18+
CONFIG_PROFILING=y
1819
CONFIG_SOC_SIFIVE=y
1920
CONFIG_SOC_VIRT=y
2021
CONFIG_ARCH_RV32I=y

0 commit comments

Comments
 (0)