lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 15 Dec 2016 01:32:06 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Michal Hocko <mhocko@...nel.org>
Cc:     kbuild-all@...org, Andrew Morton <akpm@...ux-foundation.org>,
        Vlastimil Babka <vbabka@...e.cz>,
        David Rientjes <rientjes@...gle.com>,
        Johannes Weiner <hannes@...xchg.org>, linux-mm@...ck.org,
        LKML <linux-kernel@...r.kernel.org>,
        Michal Hocko <mhocko@...e.com>
Subject: Re: [PATCH 1/3] mm, trace: extract COMPACTION_STATUS and ZONE_TYPE
 to a common header

Hi Michal,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.9 next-20161214]
[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/Michal-Hocko/mm-oom-add-oom-detection-tracepoints/20161214-231225
config: x86_64-randconfig-s2-12142134 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from include/trace/trace_events.h:361,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/compaction.h:356,
                    from mm/compaction.c:43:
   include/trace/events/compaction.h: In function 'trace_raw_output_mm_compaction_end':
>> include/trace/events/compaction.h:134: error: expected expression before ',' token
   include/trace/events/compaction.h: In function 'trace_raw_output_mm_compaction_suitable_template':
   include/trace/events/compaction.h:195: error: expected expression before ',' token
>> include/trace/events/compaction.h:195: warning: missing braces around initializer
   include/trace/events/compaction.h:195: warning: (near initialization for 'symbols[0]')
>> include/trace/events/compaction.h:195: error: initializer element is not constant
   include/trace/events/compaction.h:195: error: (near initialization for 'symbols[0].mask')

vim +134 include/trace/events/compaction.h

16c4a097 Joonsoo Kim     2015-02-11  128  		__entry->migrate_pfn,
16c4a097 Joonsoo Kim     2015-02-11  129  		__entry->free_pfn,
16c4a097 Joonsoo Kim     2015-02-11  130  		__entry->zone_end,
16c4a097 Joonsoo Kim     2015-02-11  131  		__entry->sync ? "sync" : "async")
0eb927c0 Mel Gorman      2014-01-21  132  );
0eb927c0 Mel Gorman      2014-01-21  133  
0eb927c0 Mel Gorman      2014-01-21 @134  TRACE_EVENT(mm_compaction_end,
16c4a097 Joonsoo Kim     2015-02-11  135  	TP_PROTO(unsigned long zone_start, unsigned long migrate_pfn,
16c4a097 Joonsoo Kim     2015-02-11  136  		unsigned long free_pfn, unsigned long zone_end, bool sync,
16c4a097 Joonsoo Kim     2015-02-11  137  		int status),
0eb927c0 Mel Gorman      2014-01-21  138  
16c4a097 Joonsoo Kim     2015-02-11  139  	TP_ARGS(zone_start, migrate_pfn, free_pfn, zone_end, sync, status),
0eb927c0 Mel Gorman      2014-01-21  140  
0eb927c0 Mel Gorman      2014-01-21  141  	TP_STRUCT__entry(
16c4a097 Joonsoo Kim     2015-02-11  142  		__field(unsigned long, zone_start)
16c4a097 Joonsoo Kim     2015-02-11  143  		__field(unsigned long, migrate_pfn)
16c4a097 Joonsoo Kim     2015-02-11  144  		__field(unsigned long, free_pfn)
16c4a097 Joonsoo Kim     2015-02-11  145  		__field(unsigned long, zone_end)
16c4a097 Joonsoo Kim     2015-02-11  146  		__field(bool, sync)
0eb927c0 Mel Gorman      2014-01-21  147  		__field(int, status)
0eb927c0 Mel Gorman      2014-01-21  148  	),
0eb927c0 Mel Gorman      2014-01-21  149  
0eb927c0 Mel Gorman      2014-01-21  150  	TP_fast_assign(
16c4a097 Joonsoo Kim     2015-02-11  151  		__entry->zone_start = zone_start;
16c4a097 Joonsoo Kim     2015-02-11  152  		__entry->migrate_pfn = migrate_pfn;
16c4a097 Joonsoo Kim     2015-02-11  153  		__entry->free_pfn = free_pfn;
16c4a097 Joonsoo Kim     2015-02-11  154  		__entry->zone_end = zone_end;
16c4a097 Joonsoo Kim     2015-02-11  155  		__entry->sync = sync;
0eb927c0 Mel Gorman      2014-01-21  156  		__entry->status = status;
0eb927c0 Mel Gorman      2014-01-21  157  	),
0eb927c0 Mel Gorman      2014-01-21  158  
16c4a097 Joonsoo Kim     2015-02-11  159  	TP_printk("zone_start=0x%lx migrate_pfn=0x%lx free_pfn=0x%lx zone_end=0x%lx, mode=%s status=%s",
16c4a097 Joonsoo Kim     2015-02-11  160  		__entry->zone_start,
16c4a097 Joonsoo Kim     2015-02-11  161  		__entry->migrate_pfn,
16c4a097 Joonsoo Kim     2015-02-11  162  		__entry->free_pfn,
16c4a097 Joonsoo Kim     2015-02-11  163  		__entry->zone_end,
16c4a097 Joonsoo Kim     2015-02-11  164  		__entry->sync ? "sync" : "async",
fa6c7b46 Vlastimil Babka 2015-11-05  165  		__print_symbolic(__entry->status, COMPACTION_STATUS))
0eb927c0 Mel Gorman      2014-01-21  166  );
b7aba698 Mel Gorman      2011-01-13  167  
837d026d Joonsoo Kim     2015-02-11  168  TRACE_EVENT(mm_compaction_try_to_compact_pages,
837d026d Joonsoo Kim     2015-02-11  169  
837d026d Joonsoo Kim     2015-02-11  170  	TP_PROTO(
837d026d Joonsoo Kim     2015-02-11  171  		int order,
837d026d Joonsoo Kim     2015-02-11  172  		gfp_t gfp_mask,
a5508cd8 Vlastimil Babka 2016-07-28  173  		int prio),
837d026d Joonsoo Kim     2015-02-11  174  
a5508cd8 Vlastimil Babka 2016-07-28  175  	TP_ARGS(order, gfp_mask, prio),
837d026d Joonsoo Kim     2015-02-11  176  
837d026d Joonsoo Kim     2015-02-11  177  	TP_STRUCT__entry(
837d026d Joonsoo Kim     2015-02-11  178  		__field(int, order)
837d026d Joonsoo Kim     2015-02-11  179  		__field(gfp_t, gfp_mask)
a5508cd8 Vlastimil Babka 2016-07-28  180  		__field(int, prio)
837d026d Joonsoo Kim     2015-02-11  181  	),
837d026d Joonsoo Kim     2015-02-11  182  
837d026d Joonsoo Kim     2015-02-11  183  	TP_fast_assign(
837d026d Joonsoo Kim     2015-02-11  184  		__entry->order = order;
837d026d Joonsoo Kim     2015-02-11  185  		__entry->gfp_mask = gfp_mask;
a5508cd8 Vlastimil Babka 2016-07-28  186  		__entry->prio = prio;
837d026d Joonsoo Kim     2015-02-11  187  	),
837d026d Joonsoo Kim     2015-02-11  188  
a5508cd8 Vlastimil Babka 2016-07-28  189  	TP_printk("order=%d gfp_mask=0x%x priority=%d",
837d026d Joonsoo Kim     2015-02-11  190  		__entry->order,
837d026d Joonsoo Kim     2015-02-11  191  		__entry->gfp_mask,
a5508cd8 Vlastimil Babka 2016-07-28  192  		__entry->prio)
837d026d Joonsoo Kim     2015-02-11  193  );
837d026d Joonsoo Kim     2015-02-11  194  
837d026d Joonsoo Kim     2015-02-11 @195  DECLARE_EVENT_CLASS(mm_compaction_suitable_template,
837d026d Joonsoo Kim     2015-02-11  196  
837d026d Joonsoo Kim     2015-02-11  197  	TP_PROTO(struct zone *zone,
837d026d Joonsoo Kim     2015-02-11  198  		int order,

:::::: The code at line 134 was first introduced by commit
:::::: 0eb927c0ab789d3d7d69f68acb850f69d4e7c36f mm: compaction: trace compaction begin and end

:::::: TO: Mel Gorman <mgorman@...e.de>
:::::: CC: Linus Torvalds <torvalds@...ux-foundation.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (25580 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ