Ahsan Fayaz
5b3b4ae638
Add "GameMode contributors" to copyright notice
...
Attribute the contributions made by members of the community, but avoid
unweildy and inconsistent copyright notices at the top of each file.
Existing contributor copyright notices have been left as-is.
2025-02-24 15:14:21 +00:00
Henrik Holst
7389d5ed1d
Update procsysctl.c
...
fixed format to match the proper codingstyle
2023-12-05 11:31:16 +00:00
Henrik Holst
162374c026
Create procsysctl.c
...
added a new pkexec helper to modify values in /proc/sys, currently only can do writes to /proc/sys/kernel/split_lock_mitigate
2023-12-05 11:31:16 +00:00
Henrik Holst
4700089325
Update meson.build
...
added build info for the new helper to modify /proc/sys values
2023-12-05 11:31:16 +00:00
Ahsan Fayaz
fad889db45
Apply clang-format to CPU pinning and parking code
...
The original PR #416 failed the format check, but this wasn't apparent
until after merging.
2023-12-04 15:33:15 +00:00
Henrik Holst
173a8594b4
fixed more coding style errors
2023-12-04 14:18:38 +00:00
Henrik Holst
85b9abd654
fixed more coding style errors
2023-12-04 14:18:38 +00:00
Henrik Holst
a9042199c6
fixed to match clang-format
2023-12-04 14:18:38 +00:00
Henrik Holst
ba1c593d0e
added build info for cpucorectl
...
added build info for the new cpucorectl utility to meson
2023-12-04 14:18:38 +00:00
Henrik Holst
7d00c1f0a4
added cpucorectl.c
...
Added a utility to enable and disable cpu cores (aka core parking) since this requires root privileges
2023-12-04 14:18:38 +00:00
Kira Bruneau
126e67fb6b
Run executables from PATH instead of /usr/bin
...
Not all distributions install non-system binaries into /usr/bin. For
example, NixOS installs packages to /nix/store using a unique hash
generated from the inputs used to build it:
/nix/store/jld7jh3ilvbg91zvn1bdyawfc55b9jk8-polkit-0.118-bin/bin/pkexec
2022-02-03 15:42:22 +00:00
Christian Kellner
35fb7f5baf
meson: include dir in daemon_common dependency
...
Specify the include directory in the link_daemon_common dependency
and thus everything that includes that as a dependency will get
the proper include directory automatically.
2019-10-18 13:19:30 +02:00
Marc Di Luzio
702407595a
Rename duplicate CONFIG_VALUE_MAX
...
Leave a static assert to ensure they're in sync when relevant in gamemode-gpu
2019-06-01 11:12:10 +01:00
Marc Di Luzio
2e67906402
Remove unneeded includes
2019-06-01 10:57:27 +01:00
Marc Di Luzio
1b78d0dcf7
Restructure files and libraries
...
Rename a bunch of files to make the consistent
Create two new subdirectories for common code, and utilities
2019-06-01 10:54:22 +01:00