Debian Codegraph @

tools/tracing/rtla/src/timerlat_u.h

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