From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756989AbbBGPWT (ORCPT ); Sat, 7 Feb 2015 10:22:19 -0500 Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.232]:12714 "EHLO cdptpa-oedge-vip.email.rr.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755581AbbBGPWS (ORCPT ); Sat, 7 Feb 2015 10:22:18 -0500 Date: Sat, 7 Feb 2015 10:22:55 -0500 From: Steven Rostedt To: Sedat Dilek Cc: "Paul E. McKenney" , LKML , Dave Hansen , "Rafael J. Wysocki" , linux-next , Stephen Rothwell , Kristen Carlson Accardi , "H. Peter Anvin" , Rik van Riel , Mel Gorman , Andrew Morton Subject: Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline Message-ID: <20150207102255.2ed95393@grimm.local.home> In-Reply-To: References: <20150206200653.009919583@goodmis.org> <20150206200800.689573476@goodmis.org> <20150206232754.GA17751@linux.vnet.ibm.com> <20150206230206.0733828d@grimm.local.home> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.130:25 X-Cloudmark-Score: 0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 7 Feb 2015 09:13:23 +0100 Sedat Dilek wrote: I fell over this w/o having any experiences in using the tracing > system within the Linux-kernel. > Can you give a brief introduction? > Or can describe how you made your tests? > Did you use trace-cmd in your tests? > > Some of the tests use trace-cmd, others use perf, most just do echo and cat into the tracing directory itself. I've added these over the years and need to clean them up and put them someplace public. Right now they are very specific to my machines. There's also tests in tools/testing/selftests/ftrace. But the rules for what can go into selftests limit what I can place in there. I will be adding more tests there soon though. -- Steve