mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Dave Jones <davej@codemonkey.org.uk>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: perf_callchain_user oops
Date: Thu, 23 Mar 2017 10:40:22 +0100	[thread overview]
Message-ID: <20170323094022.iaiguzfzf4mmlsqm@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <20170323025804.pqeppycjtkm4kdua@codemonkey.org.uk>

On Wed, Mar 22, 2017 at 10:58:04PM -0400, Dave Jones wrote:
> Not seen this one before..
> 
> Oops: 0002 [#1] PREEMPT SMP DEBUG_PAGEALLOC

That's a write fault reaching no_context() afaict.

> CPU: 1 PID: 24420 Comm: trinity-main Not tainted 4.11.0-rc3-think+ #3 
> task: ffff8804f4c85440 task.stack: ffffc90001d38000
> RIP: 0010:perf_callchain_user+0x11e/0x220
> RSP: 0000:ffffc90001d3ba98 EFLAGS: 00010246
> RAX: ffff88044c59c2a8 RBX: ffffc90001d3bae8 RCX: 0000562bce3f6e40
> RDX: 0000562bce3f6e40 RSI: 00007fffffffeff0 RDI: 0000000000000000
> RBP: ffffc90001d3bab8 R08: 00000000bffffff0 R09: 00000000ffffdff0
> R10: 0000000000002faa R11: 0000000000002fab R12: ffff8804f4c85440
> R13: ffffc90001d3bf58 R14: ffffc90001d3bf58 R15: 0000000000000000
> FS:  00007f34b3969b40(0000) GS:ffff880507a00000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: ffff88044c5b4000 CR3: 000000044c584000 CR4: 00000000001406e0
> DR0: 00007f34b382e000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
> Call Trace:
>  get_perf_callchain+0x258/0x2b0
>  perf_callchain+0x79/0x80
>  perf_prepare_sample+0x27e/0x360
>  perf_event_output_forward+0x75/0x160

Any chance you could run scripts/faddr2line on this output?

I cannot seem to match the Code with a defconfig build of that function.

  reply	other threads:[~2017-03-23  9:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23  2:58 Dave Jones
2017-03-23  9:40 ` Peter Zijlstra [this message]
2017-03-23 13:57   ` Dave Jones

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=20170323094022.iaiguzfzf4mmlsqm@hirez.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=davej@codemonkey.org.uk \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®