mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Jiri Olsa <jolsa@redhat.com>
Cc: kbuild-all@01.org, Peter Zijlstra <peterz@infradead.org>,
	Andi Kleen <andi@firstfloor.org>,
	lkml <linux-kernel@vger.kernel.org>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Vince Weaver <vince@deater.net>, Ingo Molnar <mingo@kernel.org>
Subject: Re: [PATCHv2] perf/x86/intel: Account interrupts for PEBS errors
Date: Fri, 16 Dec 2016 07:41:04 +0800	[thread overview]
Message-ID: <201612160736.BAd9BYGY%fengguang.wu@intel.com> (raw)
In-Reply-To: <20161215154356.GB9173@krava>

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

Hi Jiri,

[auto build test WARNING on tip/perf/core]
[also build test WARNING on v4.9 next-20161215]
[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/Jiri-Olsa/perf-x86-intel-Account-interrupts-for-PEBS-errors/20161216-042644
config: x86_64-randconfig-a0-12160640 (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 warnings (new ones prefixed by >>):

   kernel/events/core.c: In function '__perf_event_overflow':
>> kernel/events/core.c:7086: warning: unused variable 'hwc'
   kernel/events/core.o: warning: objtool: perf_try_init_event()+0x43: function has unreachable instruction

vim +/hwc +7086 kernel/events/core.c

  7070	}
  7071	
  7072	int perf_event_account_interrupt(struct perf_event *event)
  7073	{
  7074		return __perf_event_account_interrupt(event, 1);
  7075	}
  7076	
  7077	/*
  7078	 * Generic event overflow handling, sampling.
  7079	 */
  7080	
  7081	static int __perf_event_overflow(struct perf_event *event,
  7082					   int throttle, struct perf_sample_data *data,
  7083					   struct pt_regs *regs)
  7084	{
  7085		int events = atomic_read(&event->event_limit);
> 7086		struct hw_perf_event *hwc = &event->hw;
  7087		int ret = 0;
  7088	
  7089		/*
  7090		 * Non-sampling counters might still use the PMI to fold short
  7091		 * hardware counters, ignore those.
  7092		 */
  7093		if (unlikely(!is_sampling_event(event)))
  7094			return 0;

---
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: 21922 bytes --]

  reply	other threads:[~2016-12-15 23:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-14 16:50 [RFC] " Jiri Olsa
2016-12-14 18:07 ` Peter Zijlstra
2016-12-14 18:16   ` Jiri Olsa
2016-12-14 19:32     ` Peter Zijlstra
2016-12-15  7:14       ` Jiri Olsa
2016-12-15 15:43       ` [PATCHv2] " Jiri Olsa
2016-12-15 23:41         ` kbuild test robot [this message]
2016-12-16  8:07           ` [PATCHv3] " Jiri Olsa
2016-12-16  1:37         ` [PATCHv2] " Vince Weaver

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=201612160736.BAd9BYGY%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=andi@firstfloor.org \
    --cc=jolsa@redhat.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=vince@deater.net \
    /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®