Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1269191

Re: [PATCH 4/4] sched: add trace event for idle injection

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 4/4] sched: add trace event for idle injection
Date 2015-11-13 21:20 +0100
Message-ID <qusZb-2Cc-1@gated-at.bofh.it> (permalink)
References <qusFQ-2eI-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Jacob,

[auto build test ERROR on: tip/sched/core]
[also build test ERROR on: v4.3 next-20151113]

url:    https://github.com/0day-ci/linux/commits/Jacob-Pan/CFS-idle-injection/20151114-035732
config: cris-etrax-100lx_v2_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=cris 

All errors (new ones prefixed by >>):

   kernel/sched/fair.c: In function 'pick_next_task_fair':
>> kernel/sched/fair.c:5316:4: error: implicit declaration of function 'trace_sched_cfs_idle_inject' [-Werror=implicit-function-declaration]
>> kernel/sched/fair.c:5316:32: error: 'CFS_IDLE_INJECT_YIELD_SOFTIRQ' undeclared (first use in this function)
   kernel/sched/fair.c:5316:32: note: each undeclared identifier is reported only once for each function it appears in
>> kernel/sched/fair.c:5319:31: error: 'CFS_IDLE_INJECT_FORCED' undeclared (first use in this function)
   cc1: some warnings being treated as errors

vim +/trace_sched_cfs_idle_inject +5316 kernel/sched/fair.c

  5310		return p;
  5311	
  5312	idle:
  5313		if (in_forced_idle(cfs_rq)) {
  5314			if (unlikely(local_softirq_pending())) {
  5315				__unthrottle_cfs_rq(cfs_rq);
> 5316				trace_sched_cfs_idle_inject(CFS_IDLE_INJECT_YIELD_SOFTIRQ, 1);
  5317				goto again;
  5318			}
> 5319			trace_sched_cfs_idle_inject(CFS_IDLE_INJECT_FORCED, 1);
  5320			return NULL;
  5321		}
  5322		/*

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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 4/4] sched: add trace event for idle injection Jacob Pan <jacob.jun.pan@linux.intel.com> - 2015-11-13 21:00 +0100
  Re: [PATCH 4/4] sched: add trace event for idle injection kbuild test robot <lkp@intel.com> - 2015-11-13 21:20 +0100

csiph-web