diff options
author | Benjamin Berg <bberg@redhat.com> | 2022-03-24 16:08:16 +0100 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2022-03-24 17:02:27 +0100 |
commit | 9058d45685d1c7c08d52fb64c393fed9eeed542b (patch) | |
tree | 4edf5610042ef6a734b436ebf6513523646317d4 /doc | |
parent | 1003d5c2a69e6c28dcf68adf10181b5180b5defa (diff) | |
download | upower-9058d45685d1c7c08d52fb64c393fed9eeed542b.tar.gz |
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/upower.xml | 1 | ||||
-rw-r--r-- | doc/upower-docs.xml | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/doc/man/upower.xml b/doc/man/upower.xml index e7f0f7a..3b25875 100644 --- a/doc/man/upower.xml +++ b/doc/man/upower.xml @@ -25,7 +25,6 @@ <arg><option>--monitor</option></arg> <arg><option>--show-info</option></arg> <arg><option>--version</option></arg> - <arg><option>--wakeups</option></arg> <arg><option>--help</option></arg> </cmdsynopsis> </refsynopsisdiv> diff --git a/doc/upower-docs.xml b/doc/upower-docs.xml index 48bbd92..5fa700e 100644 --- a/doc/upower-docs.xml +++ b/doc/upower-docs.xml @@ -80,7 +80,6 @@ <xi:include href="xml/up-device.xml"/> <xi:include href="xml/up-history-item.xml"/> <xi:include href="xml/up-stats-item.xml"/> - <xi:include href="xml/up-wakeup-item.xml"/> </reference> <reference id="libupower-glib-helpers"> |