mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Denis Kirjanov <kda@linux-powerpc.org>
Cc: kbuild-all@01.org, Steven Rostedt <rostedt@goodmis.org>,
	linux-kernel@vger.kernel.org, paulmck@linux.vnet.ibm.com,
	Denis Kirjanov <kda@linux-powerpc.org>
Subject: Re: [PATCH 2/2] tracing/rcu: don't trace rcu_callback on offline CPUs
Date: Sun, 14 Feb 2016 03:25:45 +0800	[thread overview]
Message-ID: <201602140355.jO3fBRIk%fengguang.wu@intel.com> (raw)
In-Reply-To: <1455387773-4245-2-git-send-email-kda@linux-powerpc.org>

[-- Attachment #1: Type: text/plain, Size: 19231 bytes --]

Hi Denis,

[auto build test ERROR on tip/perf/core]
[also build test ERROR on v4.5-rc3 next-20160212]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Denis-Kirjanov/tracing-mm-don-t-trace-kfree-on-offline-CPUs/20160214-022834
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
   In file included from kernel/rcu/rcu.h:26:0,
                    from kernel/rcu/update.c:55:
>> include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
>> include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
>> include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/define_trace.h:88:0,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
>> include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
>> include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
>> include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:140:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
>> include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
>> include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
>> include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:204:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
>> include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
>> include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
>> include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:361:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
>> include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
>> include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
>> include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:433:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
>> include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
>> include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
>> include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:513:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
>> include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
>> include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
--
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
   In file included from kernel/rcu/rcu.h:26:0,
                    from kernel/rcu/srcu.c:39:
>> include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
>> include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
>> include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   cc1: some warnings being treated as errors
--
   include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
   kernel/rcu/tree_plugin.h:1996:17: sparse: undefined identifier 'trace_rcu_callback'
   kernel/rcu/tree.c:3109:17: sparse: undefined identifier 'trace_rcu_callback'
   In file included from kernel/rcu/rcu.h:26:0,
                    from kernel/rcu/tree.c:61:
>> include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
>> include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
>> include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   kernel/rcu/tree.c: In function '__call_rcu':
>> kernel/rcu/tree.c:3109:3: error: implicit declaration of function 'trace_rcu_callback' [-Werror=implicit-function-declaration]
      trace_rcu_callback(rsp->name, head, rdp->qlen_lazy, rdp->qlen);
      ^
   cc1: some warnings being treated as errors

sparse warnings: (new ones prefixed by >>)

>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
   In file included from kernel/rcu/rcu.h:26:0,
                    from kernel/rcu/update.c:55:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/define_trace.h:88:0,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:140:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:204:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:361:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:433:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:513:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:709:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   In file included from include/trace/trace_events.h:772:0,
                    from include/trace/define_trace.h:95,
                    from include/trace/events/rcu.h:741,
                    from kernel/rcu/rcu.h:26,
                    from kernel/rcu/update.c:55:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
--
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
   In file included from kernel/rcu/rcu.h:26:0,
                    from kernel/rcu/srcu.c:39:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   cc1: some warnings being treated as errors
--
>> include/trace/events/rcu.h:431:1: sparse: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
   kernel/rcu/tree_plugin.h:1996:17: sparse: undefined identifier 'trace_rcu_callback'
   kernel/rcu/tree.c:3109:17: sparse: undefined identifier 'trace_rcu_callback'
   In file included from kernel/rcu/rcu.h:26:0,
                    from kernel/rcu/tree.c:61:
   include/trace/events/rcu.h:459:1: error: macro "TRACE_EVENT" passed 7 arguments, but takes just 6
    );
    ^
   include/trace/events/rcu.h:431:1: warning: data definition has no type or storage class
    TRACE_EVENT(rcu_callback,
    ^
   include/trace/events/rcu.h:431:1: error: type defaults to 'int' in declaration of 'TRACE_EVENT' [-Werror=implicit-int]
   kernel/rcu/tree.c: In function '__call_rcu':
   kernel/rcu/tree.c:3109:3: error: implicit declaration of function 'trace_rcu_callback' [-Werror=implicit-function-declaration]
      trace_rcu_callback(rsp->name, head, rdp->qlen_lazy, rdp->qlen);
      ^
   cc1: some warnings being treated as errors

vim +/TRACE_EVENT +459 include/trace/events/rcu.h

d4c08f2a Paul E. McKenney         2011-06-25  425   * Tracepoint for the registration of a single RCU callback function.
d4c08f2a Paul E. McKenney         2011-06-25  426   * The first argument is the type of RCU, the second argument is
486e2593 Paul E. McKenney         2012-01-06  427   * a pointer to the RCU callback itself, the third element is the
486e2593 Paul E. McKenney         2012-01-06  428   * number of lazy callbacks queued, and the fourth element is the
486e2593 Paul E. McKenney         2012-01-06  429   * total number of callbacks queued.
d4c08f2a Paul E. McKenney         2011-06-25  430   */
d4c08f2a Paul E. McKenney         2011-06-25 @431  TRACE_EVENT(rcu_callback,
d4c08f2a Paul E. McKenney         2011-06-25  432  
e66c33d5 Steven Rostedt (Red Hat  2013-07-12  433) 	TP_PROTO(const char *rcuname, struct rcu_head *rhp, long qlen_lazy,
486e2593 Paul E. McKenney         2012-01-06  434  		 long qlen),
d4c08f2a Paul E. McKenney         2011-06-25  435  
486e2593 Paul E. McKenney         2012-01-06  436  	TP_ARGS(rcuname, rhp, qlen_lazy, qlen),
d4c08f2a Paul E. McKenney         2011-06-25  437  
0b6c19e4 Denis Kirjanov           2016-02-13  438  	TP_CONDITION(cpu_online(raw_smp_processor_id())),
0b6c19e4 Denis Kirjanov           2016-02-13  439  
d4c08f2a Paul E. McKenney         2011-06-25  440  	TP_STRUCT__entry(
e66c33d5 Steven Rostedt (Red Hat  2013-07-12  441) 		__field(const char *, rcuname)
d4c08f2a Paul E. McKenney         2011-06-25  442  		__field(void *, rhp)
d4c08f2a Paul E. McKenney         2011-06-25  443  		__field(void *, func)
486e2593 Paul E. McKenney         2012-01-06  444  		__field(long, qlen_lazy)
d4c08f2a Paul E. McKenney         2011-06-25  445  		__field(long, qlen)
d4c08f2a Paul E. McKenney         2011-06-25  446  	),
d4c08f2a Paul E. McKenney         2011-06-25  447  
d4c08f2a Paul E. McKenney         2011-06-25  448  	TP_fast_assign(
d4c08f2a Paul E. McKenney         2011-06-25  449  		__entry->rcuname = rcuname;
d4c08f2a Paul E. McKenney         2011-06-25  450  		__entry->rhp = rhp;
d4c08f2a Paul E. McKenney         2011-06-25  451  		__entry->func = rhp->func;
486e2593 Paul E. McKenney         2012-01-06  452  		__entry->qlen_lazy = qlen_lazy;
d4c08f2a Paul E. McKenney         2011-06-25  453  		__entry->qlen = qlen;
d4c08f2a Paul E. McKenney         2011-06-25  454  	),
d4c08f2a Paul E. McKenney         2011-06-25  455  
486e2593 Paul E. McKenney         2012-01-06  456  	TP_printk("%s rhp=%p func=%pf %ld/%ld",
486e2593 Paul E. McKenney         2012-01-06  457  		  __entry->rcuname, __entry->rhp, __entry->func,
486e2593 Paul E. McKenney         2012-01-06  458  		  __entry->qlen_lazy, __entry->qlen)
d4c08f2a Paul E. McKenney         2011-06-25 @459  );
d4c08f2a Paul E. McKenney         2011-06-25  460  
d4c08f2a Paul E. McKenney         2011-06-25  461  /*
d4c08f2a Paul E. McKenney         2011-06-25  462   * Tracepoint for the registration of a single RCU callback of the special

:::::: The code at line 459 was first introduced by commit
:::::: d4c08f2ac311a360230eef7e5395b0ec8d8f0670 rcu: Add grace-period, quiescent-state, and call_rcu trace events

:::::: TO: Paul E. McKenney <paul.mckenney@linaro.org>
:::::: CC: Paul E. McKenney <paulmck@linux.vnet.ibm.com>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 53132 bytes --]

  reply	other threads:[~2016-02-13 19:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-13 18:22 [PATCH 1/2] tracing/mm: don't trace kfree " Denis Kirjanov
2016-02-13 18:22 ` [PATCH 2/2] tracing/rcu: don't trace rcu_callback " Denis Kirjanov
2016-02-13 19:25   ` kbuild test robot [this message]
2016-02-14 16:43   ` Steven Rostedt
2016-02-14 17:35     ` Denis Kirjanov
2016-02-14 16:45 ` [PATCH 1/2] tracing/mm: don't trace kfree " Steven Rostedt
2016-02-14 17:35   ` Denis Kirjanov
2016-02-14 20:19   ` Denis Kirjanov
2016-02-15 17:32     ` Steven Rostedt
2016-02-16  5:52       ` Denis Kirjanov
2016-02-16 11:03         ` Paul E. McKenney
2016-02-16 15:01         ` Steven Rostedt
2016-02-16 15:03           ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201602140355.jO3fBRIk%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=kda@linux-powerpc.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®