Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/tracing/rtla/src/timerlat_u.h
26285 views
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);
19
20