From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755028Ab0CDVxp (ORCPT ); Thu, 4 Mar 2010 16:53:45 -0500 Received: from www.tglx.de ([62.245.132.106]:54348 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726Ab0CDVxo (ORCPT ); Thu, 4 Mar 2010 16:53:44 -0500 Date: Thu, 4 Mar 2010 22:52:36 +0100 (CET) From: Thomas Gleixner To: Frederic Weisbecker cc: Steven Rostedt , Ingo Molnar , Peter Zijlstra , LKML , "H. Peter Anvin" , Paul Mackerras , Arnaldo Carvalho de Melo , Greg KH Subject: Re: [RFC][PATCH 2/3] perf: Take a hot regs snapshot for trace events In-Reply-To: <20100304213725.GA8169@nowhere> Message-ID: References: <1267632387.10871.59.camel@gandalf.stny.rr.com> <1267634258.25158.88.camel@laptop> <1267636046.10871.74.camel@gandalf.stny.rr.com> <1267636595.25158.93.camel@laptop> <20100304112531.GF21977@elte.hu> <1267715801.10871.191.camel@gandalf.stny.rr.com> <20100304153606.GA32496@elte.hu> <1267718131.10871.240.camel@gandalf.stny.rr.com> <20100304211741.GB3643@elte.hu> <1267738238.10871.582.camel@gandalf.stny.rr.com> <20100304213725.GA8169@nowhere> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) 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 Thu, 4 Mar 2010, Frederic Weisbecker wrote: > On Thu, Mar 04, 2010 at 04:30:38PM -0500, Steven Rostedt wrote: > > On Thu, 2010-03-04 at 22:17 +0100, Ingo Molnar wrote: > > > * Steven Rostedt wrote: > > > > > > > > No, we want to decouple it from 'tracing'. It's events, not tracing. Events > > > are more broader, they can be used for RAS, profiling, counting, etc. - not > > > just tracing. > > > > > > Furthermore, we only want /debug/tracing/events really, not the various > > > dynamic ftrace controls - those could remain in /debug/tracing/. > > > > I was talking about the files in the events directory: > > > > events/sched/sched_switch/{id,format,enable,filter} > > > > > > Seems only the format file should go in, and perhaps the id. > > > > I can keep the debug/tracing/events/* as is too, where the format and id > > just call the same routines that the eventfs calls, but add the enable > > and filter to be specific to ftrace. > > > The /debug/tracing/events could contain symlinks for the format > files so that the rest can stay there. Are you proposing to create another sysfs symlink maze ? Thanks, tglx