lkml.org 
[lkml]   [2015]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mips: Fix build if PERF_EVENTS is configured
On Wed, Apr 08, 2015 at 08:40:08PM -0700, Guenter Roeck wrote:

> >>kernel/events/core.c:4828: undefined reference to `perf_get_regs_user'
> >>
> >>The problem is caused by commit 3478e32c1545 ("MIPS: Add user stack and
> >>registers to perf.") in combination with commit 88a7c26af8da ("perf:
> >>Move task_pt_regs sampling into arch code"), which introduces
> >>perf_get_regs_user().
> >>
> >>Cc: Andy Lutomirski <luto@amacapital.net>
> >>Cc: David Daney <david.daney@cavium.com>
> >>Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> >
> >I've already applied the same change locally but due to patch ordering
> >constraints I'm considering to temporarily pull this patch until the
> >perf stuff and the remainder of the MIPS changes are in 4.1 or so.
> >
> Hi Ralf,
>
> Does it hurt to have the function if 88a7c26af8da is not in the tree ?
> Sure, you'll get a smatch and/or sparse warning, but I would consider that
> to be less severe than build failures.

There are other dependencies between the pending MIPS perf patches, the
remainder of the pending MIPS patches and upstream perf patches for 4.1
and all in all I've decided it's too much headache and I should rather wait.

Ralf


\
 
 \ /
  Last update: 2015-04-10 16:41    [W:0.060 / U:1.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site