Re: [PATCH] Revert "dynamic_debug: Remove unnecessary __used"

From: Elliot Berman
Date: Mon May 11 2020 - 15:32:16 EST


On 5/11/2020 11:54 AM, Joe Perches wrote> Change-Id: probably isn't necessary.

Thanks for the catch

>
> Is there a separate mechanism possible to avoid bloating the
> otherwise unused content?

This struct is being used in lib/dynamic_debug.c but compiler doesn't know
about this usage when optimizing the struct/branch away.
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project