[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1448530000.22295.4.camel@ellerman.id.au>
Date: Thu, 26 Nov 2015 20:26:40 +1100
From: Michael Ellerman <mpe@...erman.id.au>
To: Denis Kirjanov <kda@...ux-powerpc.org>
Cc: Steven Rostedt <rostedt@...dmis.org>, linuxppc-dev@...abs.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs
On Thu, 2015-11-26 at 11:15 +0300, Denis Kirjanov wrote:
> On 11/26/15, Michael Ellerman <mpe@...erman.id.au> wrote:
> > On Tue, 2015-11-24 at 21:23 +0300, Denis Kirjanov wrote:
> > I can't get this to hit.
> >
> > I've got LOCKDEP=y, I've enabled the hcall tracepoints, and then I offline
> > a cpu via sysfs.
> I haven't tried it via sysfs. Could you share the command
> so I give a try to reproduce.
Either manually:
$ echo 0 > /sys/devices/system/cpuN/online
Or using:
$ ppc64_cpu --cores-on=1
and/or
$ ppc64_cpu --smt=1
Which uses sysfs.
cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists