Messages in this thread | | | Date | Wed, 3 Feb 2021 16:29:55 +0530 | From | Srikar Dronamraju <> | Subject | Re: [PATCH] sched/topology: Switch to sched_debug() for conditional sched domain printk |
| |
* Yue Hu <zbestahu@gmail.com> [2021-02-03 18:10:19]:
> On Wed, 3 Feb 2021 15:22:56 +0530 > Srikar Dronamraju <srikar@linux.vnet.ibm.com> wrote: > > > * Yue Hu <zbestahu@gmail.com> [2021-02-03 12:20:10]: > > > > > > sched_debug() would only be present in CONFIG_SCHED_DEBUG. Right? > > In which case there would be a build failure with your change in > > !CONFIG_SCHED_DEBUG config. > > > > or Am I missing something? > > sched_debug() is also defined for !CONFIG_SCHED_DEBUG as below: > > static inline bool sched_debug(void) > { > return false; > } >
ah .. right .. somehow I missed this.
-- Thanks and Regards Srikar Dronamraju
| |