1 // SPDX-License-Identifier: GPL-2.0 2 #pragma once 3 /* 4 * Copyright (C) 2023 Red Hat Inc, Daniel Bristot de Oliveira <bristot@kernel.org> 5 */ 6 7 struct timerlat_u_params { 8 /* timerlat -> timerlat_u: user-space threads can keep running */ 9 int should_run; 10 /* timerlat_u -> timerlat: all timerlat_u threads left, no reason to continue */ 11 int stopped_running; 12 13 /* threads config */ 14 cpu_set_t *set; 15 char *cgroup_name; 16 struct sched_attr *sched_param; 17 }; 18 19 void *timerlat_u_dispatcher(void *data); 20