tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.5
head: e521173455782d018f11f576e1ade8847a4e9e09
commit: 3af2c3b2a10b8d4287918dcbe7d6163468443192 [253/257] perf/core: Fix event cgroup
tracking
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 3af2c3b2a10b8d4287918dcbe7d6163468443192
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the sashal-linux-stable/queue-5.5 HEAD e521173455782d018f11f576e1ade8847a4e9e09
builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
kernel/events/core.c: In function 'merge_sched_in':
> kernel/events/core.c:3465:37: error: 'ctx' undeclared
(first use in this function)
perf_cgroup_event_disable(event, ctx);
^~~
kernel/events/core.c:3465:37: note: each undeclared identifier is reported only once
for each function it appears in
vim +/ctx +3465 kernel/events/core.c
3445
3446 static int merge_sched_in(struct perf_event *event, void *data)
3447 {
3448 struct sched_in_data *sid = data;
3449
3450 WARN_ON_ONCE(event->ctx != sid->ctx);
3451
3452 if (event->state <= PERF_EVENT_STATE_OFF)
3453 return 0;
3454
3455 if (!event_filter_match(event))
3456 return 0;
3457
3458 if (group_can_go_on(event, sid->cpuctx, sid->can_add_hw)) {
3459 if (!group_sched_in(event, sid->cpuctx, sid->ctx))
3460 list_add_tail(&event->active_list, get_event_list(event));
3461 }
3462
3463 if (event->state == PERF_EVENT_STATE_INACTIVE) {
3464 if (event->attr.pinned) {
3465 perf_cgroup_event_disable(event, ctx);
3466 perf_event_set_state(event, PERF_EVENT_STATE_ERROR);
3467 }
3468
3469 sid->can_add_hw = 0;
3470 sid->ctx->rotate_necessary = 1;
3471 }
3472
3473 return 0;
3474 }
3475
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org