From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757225AbZAHDup (ORCPT ); Wed, 7 Jan 2009 22:50:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751845AbZAHDuh (ORCPT ); Wed, 7 Jan 2009 22:50:37 -0500 Received: from hrndva-omtalb.mail.rr.com ([71.74.56.124]:49389 "EHLO hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751072AbZAHDuh (ORCPT ); Wed, 7 Jan 2009 22:50:37 -0500 Date: Wed, 7 Jan 2009 22:50:35 -0500 (EST) From: Steven Rostedt X-X-Sender: rostedt@gandalf.stny.rr.com To: Frederic Weisbecker cc: Linux Kernel Mailing List , Ingo Molnar Subject: Re: [PATCH 1/2 v2] tracing/ftrace: handle more than one stat file per tracer In-Reply-To: <4965214f.1f145e0a.6732.65b7@mx.google.com> Message-ID: References: <4965214f.1f145e0a.6732.65b7@mx.google.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Jan 2009, Frederic Weisbecker wrote: > Impact: new API for tracers > > Make the stat tracing API reentrant. And also provide the new directory > /debugfs/tracing/trace_stat which will contain all the stat files for the > current active tracer. > > Now a tracer will, if desired, want to provide a zero terminated array of > tracer_stat structures. > Each one contains the callbacks necessary for one stat file. > It have to provide at least a name for its stat file, an iterator with > stat_start/start_next callback and an output callback for one stat entry. > > Changes in v2: > Hi Frederic, This patch fails to compile the branch tracer by itself. No patch should break a build (for bisecting reasons). -- Steve