tree: https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup2-cpu-basic-stat head: 8acdcade690d62f6b9751a5c8e55f938de779a2d commit: c0dee458e0d8d3c7dacacf91f4b801b8fc746ba9 [20/23] cpuacct: Introduce cgroup_account_cputime[_field]() config: i386-tinyconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout c0dee458e0d8d3c7dacacf91f4b801b8fc746ba9 # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): kernel/sched/cputime.c: In function 'task_group_account_field': >> kernel/sched/cputime.c:112:2: error: implicit declaration of function 'cgroup_account_cputime_field' [-Werror=implicit-function-declaration] cgroup_account_cputime_field(p, index, tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- kernel/sched/rt.c: In function 'update_curr_rt': >> kernel/sched/rt.c:982:2: error: implicit declaration of function 'cgroup_account_cputime' [-Werror=implicit-function-declaration] cgroup_account_cputime(curr, delta_exec); ^~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- kernel/sched/deadline.c: In function 'update_curr_dl': >> kernel/sched/deadline.c:1148:2: error: implicit declaration of function 'cgroup_account_cputime' [-Werror=implicit-function-declaration] cgroup_account_cputime(curr, delta_exec); ^~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/cgroup_account_cputime_field +112 kernel/sched/cputime.c 100 101 static inline void task_group_account_field(struct task_struct *p, int index, 102 u64 tmp) 103 { 104 /* 105 * Since all updates are sure to touch the root cgroup, we 106 * get ourselves ahead and touch it first. If the root cgroup 107 * is the only cgroup, then nothing else should be necessary. 108 * 109 */ 110 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); 111 > 112 cgroup_account_cputime_field(p, index, tmp); 113 } 114 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip