Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753266AbbKZJ0q (ORCPT ); Thu, 26 Nov 2015 04:26:46 -0500 Received: from ozlabs.org ([103.22.144.67]:60767 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752715AbbKZJ0n (ORCPT ); Thu, 26 Nov 2015 04:26:43 -0500 Message-ID: <1448530000.22295.4.camel@ellerman.id.au> Subject: Re: [PATCH 2/2] powerpc: tracing: don't trace hcalls on offline CPUs From: Michael Ellerman To: Denis Kirjanov Cc: Steven Rostedt , linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Date: Thu, 26 Nov 2015 20:26:40 +1100 In-Reply-To: References: <1448389419-5296-1-git-send-email-kda@linux-powerpc.org> <1448389419-5296-2-git-send-email-kda@linux-powerpc.org> <1448519967.9839.13.camel@ellerman.id.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 804 Lines: 30 On Thu, 2015-11-26 at 11:15 +0300, Denis Kirjanov wrote: > On 11/26/15, Michael Ellerman 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/