[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101110150057.GB14496@elte.hu>
Date: Wed, 10 Nov 2010 16:00:57 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Kay Sievers <kay.sievers@...y.org>
Cc: Peter Zijlstra <peterz@...radead.org>, Greg KH <gregkh@...e.de>,
LKML <linux-kernel@...r.kernel.org>,
Lin Ming <ming.m.lin@...el.com>,
Stephane Eranian <eranian@...gle.com>,
"robert.richter" <robert.richter@....com>,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
fweisbec <fweisbec@...il.com>, paulus <paulus@...ba.org>,
"H. Peter Anvin" <hpa@...or.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: sysfs: Add an 'events' class. (was: Re: [RFC][PATCH] perf: sysfs
type id)
* Kay Sievers <kay.sievers@...y.org> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists