From b83fb8f83ec5f2ae26525c3b96d90a6ea9c25141 Mon Sep 17 00:00:00 2001 From: Henrik Holst Date: Sat, 27 May 2023 04:39:58 +0200 Subject: [PATCH] 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 --- daemon/gamemode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/gamemode.h b/daemon/gamemode.h index 7c2cb74..0154a5d 100644 --- a/daemon/gamemode.h +++ b/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