Re: [PATCH] perf/core: set cgroup for cpu contexts for new cgroup events
From: David Carrillo-Cisneros
Date: Tue Aug 02 2016 - 05:14:43 EST
Sending new version with build error fixed in another thread.
On Mon, Aug 1, 2016 at 8:30 PM, kbuild test robot <lkp@xxxxxxxxx> wrote:
> Hi David,
>
> [auto build test ERROR on tip/perf/core]
> [also build test ERROR on v4.7 next-20160801]
> [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/David-Carrillo-Cisneros/perf-core-set-cgroup-for-cpu-contexts-for-new-cgroup-events/20160802-110924
> config: x86_64-randconfig-x012-201631 (attached as .config)
> compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All errors (new ones prefixed by >>):
>
> kernel/events/core.c: In function 'list_add_event':
>>> kernel/events/core.c:1428:24: error: 'struct perf_event' has no member named 'cgrp'
> cpuctx->cgrp = event->cgrp;
> ^~
>
> vim +1428 kernel/events/core.c
>
> 1422 if (!ctx->nr_cgroups++) {
> 1423 /*
> 1424 * Because cgroup events are always per-cpu events,
> 1425 * this will always be called from the right CPU.
> 1426 */
> 1427 cpuctx = __get_cpu_context(ctx);
>> 1428 cpuctx->cgrp = event->cgrp;
> 1429 }
> 1430 }
> 1431
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation