Searched refs:comm_prefix (Results 1 – 2 of 2) sorted by relevance
| /Linux-v6.6/tools/tracing/rtla/src/ |
| D | utils.c | 273 static int procfs_is_workload_pid(const char *comm_prefix, struct dirent *proc_entry) in procfs_is_workload_pid() argument 307 retval = strncmp(comm_prefix, buffer, strlen(comm_prefix)); in procfs_is_workload_pid() 325 int set_comm_sched_attr(const char *comm_prefix, struct sched_attr *attr) in set_comm_sched_attr() argument 331 if (strlen(comm_prefix) >= MAX_PATH) { in set_comm_sched_attr() 333 MAX_PATH, comm_prefix); in set_comm_sched_attr() 345 retval = procfs_is_workload_pid(comm_prefix, proc_entry); in set_comm_sched_attr() 697 int set_comm_cgroup(const char *comm_prefix, const char *cgroup) in set_comm_cgroup() argument 706 if (strlen(comm_prefix) >= MAX_PATH) { in set_comm_cgroup() 708 MAX_PATH, comm_prefix); in set_comm_cgroup() 746 retval = procfs_is_workload_pid(comm_prefix, proc_entry); in set_comm_cgroup()
|
| D | utils.h | 61 int set_comm_sched_attr(const char *comm_prefix, struct sched_attr *attr); 62 int set_comm_cgroup(const char *comm_prefix, const char *cgroup);
|