Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1278114

Re: [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs
Date 2015-11-26 10:30 +0100
Message-ID <qz12j-3e6-27@gated-at.bofh.it> (permalink)
References <qyqvL-3iT-5@gated-at.bofh.it> <qyqvM-3iT-23@gated-at.bofh.it> <qyYnL-14m-5@gated-at.bofh.it> <qyZWx-2oi-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2015-11-26 at 11:15 +0300, Denis Kirjanov wrote:
> On 11/26/15, Michael Ellerman <mpe@ellerman.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] tracing: introduce TRACE_EVENT_FN_COND macro Denis Kirjanov <kda@linux-powerpc.org> - 2015-11-24 19:30 +0100
  [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs Denis Kirjanov <kda@linux-powerpc.org> - 2015-11-24 19:30 +0100
    Re: [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs Michael Ellerman <mpe@ellerman.id.au> - 2015-11-26 07:40 +0100
      Re: [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs Denis Kirjanov <kda@linux-powerpc.org> - 2015-11-26 09:20 +0100
        Re: [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs Michael Ellerman <mpe@ellerman.id.au> - 2015-11-26 10:30 +0100

csiph-web