diff options
author | Joe Perches <joe@perches.com> | 2016-02-23 13:13:49 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2016-03-20 21:36:05 +0100 |
commit | 3e7f2c5104a01f5385f64d45372aadaab898a656 (patch) | |
tree | a1c125e5bc3b0bcac3e9fb230450eebda2ee5282 /fs/ubifs/Makefile | |
parent | Merge git://www.linux-watchdog.org/linux-watchdog (diff) | |
download | linux-3e7f2c5104a01f5385f64d45372aadaab898a656.tar.xz linux-3e7f2c5104a01f5385f64d45372aadaab898a656.zip |
ubifs: Add logging functions for ubifs_msg, ubifs_err and ubifs_warn
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>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/Makefile')
-rw-r--r-- | fs/ubifs/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile index 2c6f0cb816b4..c54a24360f85 100644 --- a/fs/ubifs/Makefile +++ b/fs/ubifs/Makefile @@ -4,3 +4,4 @@ ubifs-y += shrinker.o journal.o file.o dir.o super.o sb.o io.o ubifs-y += tnc.o master.o scan.o replay.o log.o commit.o gc.o orphan.o ubifs-y += budget.o find.o tnc_commit.o compress.o lpt.o lprops.o ubifs-y += recovery.o ioctl.o lpt_commit.o tnc_misc.o xattr.o debug.o +ubifs-y += misc.o |