DeviceKit-power 005 released

Richard Hughes hughsient at gmail.com
Sat Feb 7 02:22:30 PST 2009


On Fri, 2009-02-06 at 17:24 -0500, David Zeuthen wrote:
> So unless there are really good reasons (for example if
> privileges are required) for exposing this functionality via IPC I
> think we may want to remove it and make the users (e.g. g-p-m) use the
> native kernel interfaces instead.

Two reasons:

* You have to be root to enable and disable the kernel tracing
* Only one process can access the data at a time

> Because.. there's absolutely no need to abstract some abstraction just
> for the sake of abstracting it. Especially not if it makes things go
> slower, eat more battery and so on.

Right, and now it only enables the userspace and kernel tracing if
there's something wanting the data. This is exactly the right spot for
this kind of data IMHO.

Richard.




More information about the devkit-devel mailing list