Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756499Ab0KJPB1 (ORCPT ); Wed, 10 Nov 2010 10:01:27 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:38301 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756175Ab0KJPB0 (ORCPT ); Wed, 10 Nov 2010 10:01:26 -0500 Date: Wed, 10 Nov 2010 16:00:57 +0100 From: Ingo Molnar To: Kay Sievers Cc: Peter Zijlstra , Greg KH , LKML , Lin Ming , Stephane Eranian , "robert.richter" , Corey Ashford , fweisbec , paulus , "H. Peter Anvin" , Linus Torvalds , Andrew Morton , Arnaldo Carvalho de Melo , Steven Rostedt , Thomas Gleixner Subject: Re: sysfs: Add an 'events' class. (was: Re: [RFC][PATCH] perf: sysfs type id) Message-ID: <20101110150057.GB14496@elte.hu> References: <1289339119.2191.92.camel@laptop> <20101109221338.GA19947@suse.de> <1289392037.2191.105.camel@laptop> <20101110133638.GC11388@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1283 Lines: 35 * Kay Sievers wrote: > > Same here - calling events a 'bus' is like totally brain-dead IMHO. It implies > > something hardware, while many events are not related to any hardware component > > but are pure software abstractions: such as context-switches, or syscall > > entries, or VM events. > > Please use a bus, regardless of the name, class is dead and you will need stuff > tha can only happen at bus. We'll fix the name later. When is that 'later' supposed to happen? git annotate says that the renaming/unification comments/plans were added: 46336009 (Kay Sievers 2007-06-08 13:36:37 -0700 105) symlinks pointing to the unified /sys/devices tree. ... about 3 and a half years ago. > [...] No, /sys/devices/ is and stays as a hierarchy and will not be flat. Great :-) Btw., where will thinks like /sys/kernel/slab/ end up? It would be useful (in the long run) to have: /sys/kernel/slab/uid_cache/events/ To describe/control events for the uid_cache SLAB cache alone. Ingo -- 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/