Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1361445 > unrolled thread

Re: [PATCH] ubifs: Add logging functions for ubifs_msg, ubifs_err and ubifs_warn

Started byRichard Weinberger <richard.weinberger@gmail.com>
First post2016-03-20 22:10 +0100
Last post2016-03-20 22:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] ubifs: Add logging functions for ubifs_msg, ubifs_err and ubifs_warn Richard Weinberger <richard.weinberger@gmail.com> - 2016-03-20 22:10 +0100

#1361445 — Re: [PATCH] ubifs: Add logging functions for ubifs_msg, ubifs_err and ubifs_warn

FromRichard Weinberger <richard.weinberger@gmail.com>
Date2016-03-20 22:10 +0100
SubjectRe: [PATCH] ubifs: Add logging functions for ubifs_msg, ubifs_err and ubifs_warn
Message-ID<reSLM-3W0-17@gated-at.bofh.it>
On Tue, Feb 23, 2016 at 1:13 PM, Joe Perches <joe@perches.com> wrote:
> The existing logging macros are fairly large and converting the
> macros to functions make the object code smaller.
>
> Use %pV and __builtin_return_address(0) as appropriate.
>
> $ size fs/ubifs/built-in.o*
>    text    data     bss     dec     hex filename
>  575831  309688  161312 1046831   ff92f fs/ubifs/built-in.o.allyesconfig.new
>  622457  312872  161120 1096449  10bb01 fs/ubifs/built-in.o.allyesconfig.old
>  223785     640     644  225069   36f2d fs/ubifs/built-in.o.defconfig.new
>  251873     640     644  253157   3dce5 fs/ubifs/built-in.o.defconfig.old
>
> Signed-off-by: Joe Perches <joe@perches.com>

Applied.

-- 
Thanks,
//richard

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web