Re: [PATCH] riscv: perf: fix build error for dependency issue

2020-05-14 Thread Zong Li
On Thu, May 14, 2020 at 2:03 PM Zong Li wrote: > > CONFIG_RISCV_BASE_PMU can be selected or unselected, but in fact, > CONFIG_RISCV_BASE_PMU must be always selected when selecting > CONFIG_PERF_EVENTS on current perf implementation, otherwise, it > would cause the build error when only selecting C

[PATCH] riscv: perf: fix build error for dependency issue

2020-05-13 Thread Zong Li
CONFIG_RISCV_BASE_PMU can be selected or unselected, but in fact, CONFIG_RISCV_BASE_PMU must be always selected when selecting CONFIG_PERF_EVENTS on current perf implementation, otherwise, it would cause the build error when only selecting CONFIG_PERF_EVENTS. The build case is applied randconfig wh