Quellcode durchsuchen

made pinning optionally silent

made core pinning optionally silent, used for when the reaper thread calls us repeatable so we don't create tons of unnecessary logs
Henrik Holst vor 1 Jahr
Ursprung
Commit
b83fb8f83e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      daemon/gamemode.h

+ 1 - 1
daemon/gamemode.h

@@ -212,7 +212,7 @@ void game_mode_free_cpu(GameModeCPUInfo **info);
 void game_mode_reconfig_cpu(GameModeConfig *config, GameModeCPUInfo **info);
 int game_mode_park_cpu(const GameModeCPUInfo *info);
 int game_mode_unpark_cpu(const GameModeCPUInfo *info);
-void game_mode_apply_core_pinning(const GameModeCPUInfo *info, const pid_t client);
+void game_mode_apply_core_pinning(const GameModeCPUInfo *info, const pid_t client, const bool be_silent);
 void game_mode_undo_core_pinning(const GameModeCPUInfo *info, const pid_t client);
 
 /** gamemode-dbus.c