[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100906124330.GA22314@elte.hu>
Date: Mon, 6 Sep 2010 14:43:30 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Avi Kivity <avi@...hat.com>, Tom Zanussi <tzanussi@...il.com>,
Frédéric Weisbecker <fweisbec@...il.com>,
Steven Rostedt <rostedt@...dmis.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>
Cc: Peter Zijlstra <peterz@...radead.org>,
linux-perf-users@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: disabling group leader perf_event
* Avi Kivity <avi@...hat.com> wrote:
> > Being able to make histograms in-kernel has been on the todo list
> > for a long while, its just that I never could come up with a sane
> > interface.. :/
>
> Interesting, I thought it was just me.
>
> One option is to keep the existing filter interface, but recognize
> those cases and optimize the implementation. Sort of like a compiler
> can optimize a large dense switch statement to a jump table.
Yes. The filter engine is a safe, in-kernel interpreted language in the
making. The C syntax was chosen because it's close to the heart of every
kernel developer.
It might make sense to bring this concept a few steps further. Looks
rather complex but also rather cool ...
Thanks,
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