All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Jones <davej@redhat.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Cc: peterz@infradead.org
Subject: Re: 3.18-rc2 perf add_event_to_ctx warning
Date: Mon, 17 Nov 2014 23:11:05 -0500	[thread overview]
Message-ID: <20141118041105.GA5519@redhat.com> (raw)
In-Reply-To: <20141030234029.GA28961@redhat.com>

On Thu, Oct 30, 2014 at 07:40:29PM -0400, Dave Jones wrote:
 > WARNING: CPU: 3 PID: 5167 at kernel/events/core.c:1133 add_event_to_ctx+0x1ce/0x1f0()
 > CPU: 3 PID: 5167 Comm: trinity-c4 Not tainted 3.18.0-rc2+ #79
 >  0000000000000009 0000000071bbcfa0 ffff880235ef3c48 ffffffffbd86ef44
 >  0000000000000000 0000000000000000 ffff880235ef3c88 ffffffffbd07f1f1
 >  ffff880235ef3c78 ffff880233e6eee8 ffff880089e4c0f8 0000000001a2978c
 > Call Trace:
 >  [<ffffffffbd86ef44>] dump_stack+0x4f/0x7c
 >  [<ffffffffbd07f1f1>] warn_slowpath_common+0x81/0xa0
 >  [<ffffffffbd07f30a>] warn_slowpath_null+0x1a/0x20
 >  [<ffffffffbd19a68e>] add_event_to_ctx+0x1ce/0x1f0
 >  [<ffffffffbd1a03a3>] __perf_install_in_context+0xe3/0x1b0
 >  [<ffffffffbd19a0a3>] remote_function+0x53/0x70
 >  [<ffffffffbd19a050>] ? schedule_orphans_remove.part.49+0x60/0x60
 >  [<ffffffffbd1247b6>] generic_exec_single+0x156/0x1d0
 >  [<ffffffffbd19a050>] ? schedule_orphans_remove.part.49+0x60/0x60
 >  [<ffffffffbd124896>] smp_call_function_single+0x66/0x110
 >  [<ffffffffbd0f460e>] ? wait_rcu_gp+0x8e/0xb0
 >  [<ffffffffbd198f93>] task_function_call+0x53/0x80
 >  [<ffffffffbd1a02c0>] ? perf_cpu_hrtimer_handler+0x260/0x260
 >  [<ffffffffbd19a733>] perf_install_in_context+0x83/0xf0
 >  [<ffffffffbd1a4d80>] SYSC_perf_event_open+0xb70/0xc70
 >  [<ffffffffbd3ebf27>] ? debug_smp_processor_id+0x17/0x20
 >  [<ffffffffbd1a52c9>] SyS_perf_event_open+0x9/0x10
 >  [<ffffffffbd87a009>] tracesys_phase2+0xd4/0xd9
 > ---[ end trace 88ffecbb23768dcb ]---
 > 
 > 
 > 1133         WARN_ON_ONCE(event->attach_state & PERF_ATTACH_CONTEXT);

Still seeing this (unsurprising, as perf hasn't changed any
between rc2 & rc5).  Any thoughts on this one ?
I've not managed to isolate a testcase for it, but I see it every
week or so.

	Dave


      reply	other threads:[~2014-11-18  4:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-30 23:40 3.18-rc2 perf add_event_to_ctx warning Dave Jones
2014-11-18  4:11 ` Dave Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141118041105.GA5519@redhat.com \
    --to=davej@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.