linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Joel Fernandes <joelaf@google.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	Joel Fernandes <joelaf@google.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	Peter Zilstra <peterz@infradead.org>,
	Ingo Molnar <mingo@redhat.com>,
	Mathieu Desnoyers <mathieu.desnoyers@efficios.com>,
	Tom Zanussi <tom.zanussi@linux.intel.com>,
	Namhyung Kim <namhyung@kernel.org>
Subject: Re: [PATCH v1 1/2] tracing: Improve design of preemptirq tracepoints and its users
Date: Fri, 16 Mar 2018 03:51:25 +0800	[thread overview]
Message-ID: <201803160351.YXuH1FAL%fengguang.wu@intel.com> (raw)
In-Reply-To: <20180313214327.37475-2-joelaf@google.com>

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

Hi Joel,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v4.16-rc5 next-20180315]
[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/Joel-Fernandes/tracing-Improve-design-of-preemptirq-tracepoints-and-its-users/20180316-012211
config: i386-randconfig-x006-201810 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   kernel//locking/lockdep.c: In function 'lockdep_init':
>> kernel//locking/lockdep.c:4325:2: error: implicit declaration of function 'register_trace_irq_disable'; did you mean 'trace_irq_disable'? [-Werror=implicit-function-declaration]
     register_trace_irq_disable(lockdep_hardirqs_off, NULL);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
     trace_irq_disable
>> kernel//locking/lockdep.c:4326:2: error: implicit declaration of function 'register_trace_irq_enable'; did you mean 'register_trace_lock_release'? [-Werror=implicit-function-declaration]
     register_trace_irq_enable(lockdep_hardirqs_on, NULL);
     ^~~~~~~~~~~~~~~~~~~~~~~~~
     register_trace_lock_release
   cc1: some warnings being treated as errors

vim +4325 kernel//locking/lockdep.c

  4321	
  4322	void __init lockdep_init(void)
  4323	{
  4324	#ifdef CONFIG_PROVE_LOCKING
> 4325		register_trace_irq_disable(lockdep_hardirqs_off, NULL);
> 4326		register_trace_irq_enable(lockdep_hardirqs_on, NULL);
  4327	#endif
  4328		printk("Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar\n");
  4329	
  4330		printk("... MAX_LOCKDEP_SUBCLASSES:  %lu\n", MAX_LOCKDEP_SUBCLASSES);
  4331		printk("... MAX_LOCK_DEPTH:          %lu\n", MAX_LOCK_DEPTH);
  4332		printk("... MAX_LOCKDEP_KEYS:        %lu\n", MAX_LOCKDEP_KEYS);
  4333		printk("... CLASSHASH_SIZE:          %lu\n", CLASSHASH_SIZE);
  4334		printk("... MAX_LOCKDEP_ENTRIES:     %lu\n", MAX_LOCKDEP_ENTRIES);
  4335		printk("... MAX_LOCKDEP_CHAINS:      %lu\n", MAX_LOCKDEP_CHAINS);
  4336		printk("... CHAINHASH_SIZE:          %lu\n", CHAINHASH_SIZE);
  4337	
  4338		printk(" memory used by lock dependency info: %lu kB\n",
  4339			(sizeof(struct lock_class) * MAX_LOCKDEP_KEYS +
  4340			sizeof(struct list_head) * CLASSHASH_SIZE +
  4341			sizeof(struct lock_list) * MAX_LOCKDEP_ENTRIES +
  4342			sizeof(struct lock_chain) * MAX_LOCKDEP_CHAINS +
  4343			sizeof(struct list_head) * CHAINHASH_SIZE
  4344	#ifdef CONFIG_PROVE_LOCKING
  4345			+ sizeof(struct circular_queue)
  4346	#endif
  4347			) / 1024
  4348			);
  4349	
  4350		printk(" per task-struct memory footprint: %lu bytes\n",
  4351			sizeof(struct held_lock) * MAX_LOCK_DEPTH);
  4352	}
  4353	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28276 bytes --]

  reply	other threads:[~2018-03-15 19:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-13 21:43 [PATCH v1 0/2] Improve preemptirq tracepoint usage Joel Fernandes
2018-03-13 21:43 ` [PATCH v1 1/2] tracing: Improve design of preemptirq tracepoints and its users Joel Fernandes
2018-03-15 19:51   ` kbuild test robot [this message]
2018-03-15 20:19     ` Joel Fernandes
2018-03-16  3:13   ` kbuild test robot
2018-03-16  3:28     ` Joel Fernandes
2018-03-16  8:22   ` [tracing] b648360016: WARNING:at_kernel/locking/lockdep.c:#check_flags kernel test robot
2018-03-13 21:43 ` [PATCH v1 2/2] tracepoint: Prevent false-positive lockdep warnings Joel Fernandes

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=201803160351.YXuH1FAL%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=joelaf@google.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    --cc=tom.zanussi@linux.intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).