Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / tracing / rtla / src / timerlat_u.h
blob6615119089574760fbcaf6413df2acfb77dfaad8
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * Copyright (C) 2023 Red Hat Inc, Daniel Bristot de Oliveira <bristot@kernel.org>
4 */
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;
12 /* threads config */
13 cpu_set_t *set;
14 char *cgroup_name;
15 struct sched_attr *sched_param;
18 void *timerlat_u_dispatcher(void *data);