* [peterz-queue:perf/cgroup 9/9] kernel/events/core.c:1591:29: error: 'struct cgroup' has no member named 'id'
@ 2020-01-26 4:15 kbuild test robot
0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2020-01-26 4:15 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3531 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/cgroup
head: a656d84c29c6c0a6e320a4f0606d7530c4e0c8d1
commit: a656d84c29c6c0a6e320a4f0606d7530c4e0c8d1 [9/9] perf/cgroup: Order events in RB tree by cgroup id
config: i386-randconfig-a001-20200125 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout a656d84c29c6c0a6e320a4f0606d7530c4e0c8d1
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/events/core.c: In function 'perf_event_groups_less':
>> kernel/events/core.c:1591:29: error: 'struct cgroup' has no member named 'id'
if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
^~
kernel/events/core.c:1591:59: error: 'struct cgroup' has no member named 'id'
if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
^~
kernel/events/core.c: In function 'perf_event_groups_first':
kernel/events/core.c:1689:17: error: 'struct cgroup' has no member named 'id'
cgrp_id = cgrp->id;
^~
kernel/events/core.c:1706:47: error: 'struct cgroup' has no member named 'id'
node_cgrp_id = node_event->cgrp->css.cgroup->id;
^~
kernel/events/core.c: In function 'perf_event_groups_next':
kernel/events/core.c:1742:41: error: 'struct cgroup' has no member named 'id'
curr_cgrp_id = event->cgrp->css.cgroup->id;
^~
kernel/events/core.c:1745:40: error: 'struct cgroup' has no member named 'id'
next_cgrp_id = next->cgrp->css.cgroup->id;
^~
vim +1591 kernel/events/core.c
1559
1560 /*
1561 * Compare function for event groups;
1562 *
1563 * Implements complex key that first sorts by CPU and then by virtual index
1564 * which provides ordering when rotating groups for the same CPU.
1565 */
1566 static bool
1567 perf_event_groups_less(struct perf_event *left, struct perf_event *right)
1568 {
1569 if (left->cpu < right->cpu)
1570 return true;
1571 if (left->cpu > right->cpu)
1572 return false;
1573
1574 #ifdef CONFIG_CGROUP_PERF
1575 if (left->cgrp != right->cgrp) {
1576 if (!left->cgrp || !left->cgrp->css.cgroup) {
1577 /*
1578 * Left has no cgroup but right does, no cgroups come
1579 * first.
1580 */
1581 return true;
1582 }
1583 if (!right->cgrp || right->cgrp->css.cgroup) {
1584 /*
1585 * Right has no cgroup but left does, no cgroups come
1586 * first.
1587 */
1588 return false;
1589 }
1590 /* Two dissimilar cgroups, order by id. */
> 1591 if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
1592 return true;
1593
1594 return false;
1595 }
1596 #endif
1597
1598 if (left->group_index < right->group_index)
1599 return true;
1600 if (left->group_index > right->group_index)
1601 return false;
1602
1603 return false;
1604 }
1605
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 36704 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [peterz-queue:perf/cgroup 9/9] kernel/events/core.c:1591:29: error: 'struct cgroup' has no member named 'id'
@ 2020-02-07 20:08 kbuild test robot
0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2020-02-07 20:08 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3642 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/cgroup
head: 1fd798dd3926f9cbf20541f35a66e5d38cc63393
commit: 1fd798dd3926f9cbf20541f35a66e5d38cc63393 [9/9] perf/cgroup: Order events in RB tree by cgroup id
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 1fd798dd3926f9cbf20541f35a66e5d38cc63393
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/events/core.c: In function 'perf_event_groups_less':
>> kernel/events/core.c:1591:29: error: 'struct cgroup' has no member named 'id'
if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
^~
kernel/events/core.c:1591:59: error: 'struct cgroup' has no member named 'id'
if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
^~
kernel/events/core.c: In function 'perf_event_groups_first':
kernel/events/core.c:1689:17: error: 'struct cgroup' has no member named 'id'
cgrp_id = cgrp->id;
^~
kernel/events/core.c:1706:47: error: 'struct cgroup' has no member named 'id'
node_cgrp_id = node_event->cgrp->css.cgroup->id;
^~
kernel/events/core.c: In function 'perf_event_groups_next':
kernel/events/core.c:1742:41: error: 'struct cgroup' has no member named 'id'
curr_cgrp_id = event->cgrp->css.cgroup->id;
^~
kernel/events/core.c:1745:40: error: 'struct cgroup' has no member named 'id'
next_cgrp_id = next->cgrp->css.cgroup->id;
^~
vim +1591 kernel/events/core.c
1559
1560 /*
1561 * Compare function for event groups;
1562 *
1563 * Implements complex key that first sorts by CPU and then by virtual index
1564 * which provides ordering when rotating groups for the same CPU.
1565 */
1566 static bool
1567 perf_event_groups_less(struct perf_event *left, struct perf_event *right)
1568 {
1569 if (left->cpu < right->cpu)
1570 return true;
1571 if (left->cpu > right->cpu)
1572 return false;
1573
1574 #ifdef CONFIG_CGROUP_PERF
1575 if (left->cgrp != right->cgrp) {
1576 if (!left->cgrp || !left->cgrp->css.cgroup) {
1577 /*
1578 * Left has no cgroup but right does, no cgroups come
1579 * first.
1580 */
1581 return true;
1582 }
1583 if (!right->cgrp || right->cgrp->css.cgroup) {
1584 /*
1585 * Right has no cgroup but left does, no cgroups come
1586 * first.
1587 */
1588 return false;
1589 }
1590 /* Two dissimilar cgroups, order by id. */
> 1591 if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
1592 return true;
1593
1594 return false;
1595 }
1596 #endif
1597
1598 if (left->group_index < right->group_index)
1599 return true;
1600 if (left->group_index > right->group_index)
1601 return false;
1602
1603 return false;
1604 }
1605
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25656 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [peterz-queue:perf/cgroup 9/9] kernel/events/core.c:1591:29: error: 'struct cgroup' has no member named 'id'
@ 2020-01-07 19:02 kbuild test robot
0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2020-01-07 19:02 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3519 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/cgroup
head: c55787fb50f1a63069b0e8afb8b00e2eb668c685
commit: c55787fb50f1a63069b0e8afb8b00e2eb668c685 [9/9] perf/cgroup: Order events in RB tree by cgroup id
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Debian 7.5.0-3) 7.5.0
reproduce:
git checkout c55787fb50f1a63069b0e8afb8b00e2eb668c685
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/events/core.c: In function 'perf_event_groups_less':
>> kernel/events/core.c:1591:29: error: 'struct cgroup' has no member named 'id'
if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
^~
kernel/events/core.c:1591:59: error: 'struct cgroup' has no member named 'id'
if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
^~
kernel/events/core.c: In function 'perf_event_groups_first':
kernel/events/core.c:1689:17: error: 'struct cgroup' has no member named 'id'
cgrp_id = cgrp->id;
^~
kernel/events/core.c:1706:47: error: 'struct cgroup' has no member named 'id'
node_cgrp_id = node_event->cgrp->css.cgroup->id;
^~
kernel/events/core.c: In function 'perf_event_groups_next':
kernel/events/core.c:1742:41: error: 'struct cgroup' has no member named 'id'
curr_cgrp_id = event->cgrp->css.cgroup->id;
^~
kernel/events/core.c:1745:40: error: 'struct cgroup' has no member named 'id'
next_cgrp_id = next->cgrp->css.cgroup->id;
^~
vim +1591 kernel/events/core.c
1559
1560 /*
1561 * Compare function for event groups;
1562 *
1563 * Implements complex key that first sorts by CPU and then by virtual index
1564 * which provides ordering when rotating groups for the same CPU.
1565 */
1566 static bool
1567 perf_event_groups_less(struct perf_event *left, struct perf_event *right)
1568 {
1569 if (left->cpu < right->cpu)
1570 return true;
1571 if (left->cpu > right->cpu)
1572 return false;
1573
1574 #ifdef CONFIG_CGROUP_PERF
1575 if (left->cgrp != right->cgrp) {
1576 if (!left->cgrp || !left->cgrp->css.cgroup) {
1577 /*
1578 * Left has no cgroup but right does, no cgroups come
1579 * first.
1580 */
1581 return true;
1582 }
1583 if (!right->cgrp || right->cgrp->css.cgroup) {
1584 /*
1585 * Right has no cgroup but left does, no cgroups come
1586 * first.
1587 */
1588 return false;
1589 }
1590 /* Two dissimilar cgroups, order by id. */
> 1591 if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
1592 return true;
1593
1594 return false;
1595 }
1596 #endif
1597
1598 if (left->group_index < right->group_index)
1599 return true;
1600 if (left->group_index > right->group_index)
1601 return false;
1602
1603 return false;
1604 }
1605
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 70349 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [peterz-queue:perf/cgroup 9/9] kernel/events/core.c:1591:29: error: 'struct cgroup' has no member named 'id'
@ 2019-12-11 3:13 kbuild test robot
0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2019-12-11 3:13 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3519 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/cgroup
head: 5ca7ab75a0bb19c6a5aa5b87655d1d0b61a693cc
commit: 5ca7ab75a0bb19c6a5aa5b87655d1d0b61a693cc [9/9] perf/cgroup: Order events in RB tree by cgroup id
config: x86_64-rhel-7.6 (attached as .config)
compiler: gcc-7 (Debian 7.5.0-1) 7.5.0
reproduce:
git checkout 5ca7ab75a0bb19c6a5aa5b87655d1d0b61a693cc
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
kernel/events/core.c: In function 'perf_event_groups_less':
>> kernel/events/core.c:1591:29: error: 'struct cgroup' has no member named 'id'
if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
^~
kernel/events/core.c:1591:59: error: 'struct cgroup' has no member named 'id'
if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
^~
kernel/events/core.c: In function 'perf_event_groups_first':
kernel/events/core.c:1689:17: error: 'struct cgroup' has no member named 'id'
cgrp_id = cgrp->id;
^~
kernel/events/core.c:1706:47: error: 'struct cgroup' has no member named 'id'
node_cgrp_id = node_event->cgrp->css.cgroup->id;
^~
kernel/events/core.c: In function 'perf_event_groups_next':
kernel/events/core.c:1742:41: error: 'struct cgroup' has no member named 'id'
curr_cgrp_id = event->cgrp->css.cgroup->id;
^~
kernel/events/core.c:1745:40: error: 'struct cgroup' has no member named 'id'
next_cgrp_id = next->cgrp->css.cgroup->id;
^~
vim +1591 kernel/events/core.c
1559
1560 /*
1561 * Compare function for event groups;
1562 *
1563 * Implements complex key that first sorts by CPU and then by virtual index
1564 * which provides ordering when rotating groups for the same CPU.
1565 */
1566 static bool
1567 perf_event_groups_less(struct perf_event *left, struct perf_event *right)
1568 {
1569 if (left->cpu < right->cpu)
1570 return true;
1571 if (left->cpu > right->cpu)
1572 return false;
1573
1574 #ifdef CONFIG_CGROUP_PERF
1575 if (left->cgrp != right->cgrp) {
1576 if (!left->cgrp || !left->cgrp->css.cgroup) {
1577 /*
1578 * Left has no cgroup but right does, no cgroups come
1579 * first.
1580 */
1581 return true;
1582 }
1583 if (!right->cgrp || right->cgrp->css.cgroup) {
1584 /*
1585 * Right has no cgroup but left does, no cgroups come
1586 * first.
1587 */
1588 return false;
1589 }
1590 /* Two dissimilar cgroups, order by id. */
> 1591 if (left->cgrp->css.cgroup->id < right->cgrp->css.cgroup->id)
1592 return true;
1593
1594 return false;
1595 }
1596 #endif
1597
1598 if (left->group_index < right->group_index)
1599 return true;
1600 if (left->group_index > right->group_index)
1601 return false;
1602
1603 return false;
1604 }
1605
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 48595 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-02-07 20:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-26 4:15 [peterz-queue:perf/cgroup 9/9] kernel/events/core.c:1591:29: error: 'struct cgroup' has no member named 'id' kbuild test robot
-- strict thread matches above, loose matches on Subject: below --
2020-02-07 20:08 kbuild test robot
2020-01-07 19:02 kbuild test robot
2019-12-11 3:13 kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.