Re: [PATCH 4/4 v3] btrfs: add compression trace points
From: kbuild test robot <hidden>
Date: 2017-08-15 21:10:42
Hi Anand, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.13-rc5] [cannot apply to btrfs/next next-20170815] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Anand-Jain/misc-compression-tracing-related-patches/20170816-043401 config: s390-allmodconfig (attached as .config) compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=s390 All warnings (new ones prefixed by >>): In file included from include/trace/define_trace.h:95:0, from include/trace/events/btrfs.h:1674, from fs/btrfs/super.c:65: include/trace/events/btrfs.h: In function 'trace_raw_output_btrfs_compress':
quoted
include/trace/events/btrfs.h:91:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'ino_t {aka unsigned int}' [-Wformat=]
TP_printk("%pU: " fmt, __entry->fsid, args)
^
include/trace/trace_events.h:359:22: note: in definition of macro 'DECLARE_EVENT_CLASS'
trace_seq_printf(s, print); \
^~~~~
include/trace/trace_events.h:78:9: note: in expansion of macro 'PARAMS'
PARAMS(print)); \
^~~~~~quoted
include/trace/events/btrfs.h:1632:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(btrfs_compress,
^~~~~~~~~~~quoted
include/trace/events/btrfs.h:91:2: note: in expansion of macro 'TP_printk'
TP_printk("%pU: " fmt, __entry->fsid, args)
^~~~~~~~~quoted
include/trace/events/btrfs.h:1664:2: note: in expansion of macro 'TP_printk_btrfs'
TP_printk_btrfs("%s %s ino=%lu type=%s len_before=%lu len_after=%lu start=%lu ret=%d",
^~~~~~~~~~~~~~~
vim +91 include/trace/events/btrfs.h
bc074524 Jeff Mahoney 2016-06-09 78
bc074524 Jeff Mahoney 2016-06-09 79 #define TP_fast_assign_fsid(fs_info) \
bc074524 Jeff Mahoney 2016-06-09 80 memcpy(__entry->fsid, fs_info->fsid, BTRFS_UUID_SIZE)
bc074524 Jeff Mahoney 2016-06-09 81
bc074524 Jeff Mahoney 2016-06-09 82 #define TP_STRUCT__entry_btrfs(args...) \
bc074524 Jeff Mahoney 2016-06-09 83 TP_STRUCT__entry( \
bc074524 Jeff Mahoney 2016-06-09 84 TP_STRUCT__entry_fsid \
bc074524 Jeff Mahoney 2016-06-09 85 args)
bc074524 Jeff Mahoney 2016-06-09 86 #define TP_fast_assign_btrfs(fs_info, args...) \
bc074524 Jeff Mahoney 2016-06-09 87 TP_fast_assign( \
bc074524 Jeff Mahoney 2016-06-09 88 TP_fast_assign_fsid(fs_info); \
bc074524 Jeff Mahoney 2016-06-09 89 args)
bc074524 Jeff Mahoney 2016-06-09 90 #define TP_printk_btrfs(fmt, args...) \
bc074524 Jeff Mahoney 2016-06-09 @91 TP_printk("%pU: " fmt, __entry->fsid, args)
8c2a3ca2 Josef Bacik 2012-01-10 92
:::::: The code at line 91 was first introduced by commit
:::::: bc074524e123ded281cde25ebc5661910f9679e3 btrfs: prefix fsid to all trace events
:::::: TO: Jeff Mahoney [off-list ref]
:::::: CC: David Sterba [off-list ref]
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation Attachments
- .config.gz [application/gzip] 47231 bytes