Re: [PATCH] dynamic_debug: Remove unnecessary __used

2012-10-18 Thread Greg KH
On Thu, Oct 18, 2012 at 03:20:08PM -0400, Jason Baron wrote: > On Thu, Oct 18, 2012 at 12:07:03PM -0700, Joe Perches wrote: > > The __used attribute prevents gcc from eliminating > > unnecessary, otherwise optimized away, metadata for > > debugging logging messages. > > > > Remove the __used attri

Re: [PATCH] dynamic_debug: Remove unnecessary __used

2012-10-18 Thread Joe Perches
On Thu, 2012-10-18 at 12:40 -0700, Greg KH wrote: > On Thu, Oct 18, 2012 at 12:07:03PM -0700, Joe Perches wrote: > > The __used attribute prevents gcc from eliminating > > unnecessary, otherwise optimized away, metadata for > > debugging logging messages. > > > > Remove the __used attribute. > >

Re: [PATCH] dynamic_debug: Remove unnecessary __used

2012-10-18 Thread Jason Baron
On Thu, Oct 18, 2012 at 12:07:03PM -0700, Joe Perches wrote: > The __used attribute prevents gcc from eliminating > unnecessary, otherwise optimized away, metadata for > debugging logging messages. > > Remove the __used attribute. > > Signed-off-by: Joe Perches > --- > include/linux/dynamic_deb

Re: [PATCH] dynamic_debug: Remove unnecessary __used

2012-10-18 Thread Greg KH
On Thu, Oct 18, 2012 at 12:07:03PM -0700, Joe Perches wrote: > The __used attribute prevents gcc from eliminating > unnecessary, otherwise optimized away, metadata for > debugging logging messages. > > Remove the __used attribute. Very cool. Any idea how much space this saves? greg k-h -- To un

[PATCH] dynamic_debug: Remove unnecessary __used

2012-10-18 Thread Joe Perches
The __used attribute prevents gcc from eliminating unnecessary, otherwise optimized away, metadata for debugging logging messages. Remove the __used attribute. Signed-off-by: Joe Perches --- include/linux/dynamic_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includ