Messages in this thread | | | Date | Mon, 6 Sep 2010 14:43:30 +0200 | From | Ingo Molnar <> | Subject | Re: disabling group leader perf_event |
| |
* Avi Kivity <avi@redhat.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
| |