Commit graph

10 commits

Author SHA1 Message Date
Kate Hsuan
2678cb00d4 Fix trailing white space and end of file 2025-01-08 14:01:34 +08:00
Benjamin Berg
9058d45685 Remove Wakeups API
The API relied on /proc/timer_stats which has been removed from the
kernel in 2017. Since then, the API has been non-functional (yet
incorrectly reporting support because the support test was buggy).

Just remove it completely. The debian codesearch does not uncover any
API users. Also, I doubt that any new API (based on tracing scheduler
events as perf would do) would map well to what exists now. i.e. if
something like this is re-implemented in UPower or elsewhere, then the
API should likely look different.

And, realistically, if this does need root privileges (i.e. can't be
moved to use BPF programs or so on user units), then we can also create
a new small daemon that is launched on-demand just for that.
2022-03-24 17:02:27 +01:00
Guido Günther
409b2ccc89 lib: Use @see_also instead of "See also"
This ensures consistent rendering.

See https://developer.gnome.org/gtk-doc-manual/stable/documenting_sections.html.en
2018-09-30 19:19:02 +02:00
Kalev Lember
0825c162d3 Support g_autoptr() for all libupower-glib object types
This allows using e.g. g_autoptr(UpDevice) in other programs, but does
not make upower itself use g_autoptr, or require a new enough glib to
support it.

Signed-off-by: Richard Hughes <richard@hughsie.com>
2015-09-15 12:33:44 +01:00
Bastien Nocera
d10cc97cbb Remove QoS interface
It was added for some workloads, but ill-suited and never really
got traction. Using cgroups to manage the resources of particular
services (using systemd), or something separate like rtkit is
a better bet.
2013-10-14 10:42:55 +02:00
Richard Hughes
0bbdab0464 trivial: fix up UpWakeups to actually compile 2010-02-05 09:25:40 +00:00
Richard Hughes
acfe9c3089 Update the Free Software Foundation address 2010-01-27 16:27:15 +00:00
Richard Hughes
af56b08795 trivial: Add some useful GObjects for client and server use 2010-01-26 11:39:14 +00:00
Richard Hughes
27fada20be trivial: add some gtk-doc markup into libupower-glib and hook it up to the build system 2010-01-25 16:54:17 +00:00
Richard Hughes
0a2b06f298 Add libupower so applications can switch away from devkit-power-gobject 2010-01-25 15:20:09 +00:00