Home
last modified time | relevance | path

Searched refs:comm_prefix (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/tracing/rtla/src/
H A Dutils.c267 static int procfs_is_workload_pid(const char *comm_prefix, struct dirent *proc_entry) in procfs_is_workload_pid() argument
301 retval = strncmp(comm_prefix, buffer, strlen(comm_prefix)); in procfs_is_workload_pid()
319 int set_comm_sched_attr(const char *comm_prefix, struct sched_attr *attr) in set_comm_sched_attr() argument
325 if (strlen(comm_prefix) >= MAX_PATH) { in set_comm_sched_attr()
327 MAX_PATH, comm_prefix); in set_comm_sched_attr()
339 retval = procfs_is_workload_pid(comm_prefix, proc_entry); in set_comm_sched_attr()
691 int set_comm_cgroup(const char *comm_prefix, const char *cgroup) in set_comm_cgroup() argument
700 if (strlen(comm_prefix) >= MAX_PATH) { in set_comm_cgroup()
702 MAX_PATH, comm_prefix); in set_comm_cgroup()
740 retval = procfs_is_workload_pid(comm_prefix, proc_entry); in set_comm_cgroup()
H A Dutils.h63 int set_comm_sched_attr(const char *comm_prefix, struct sched_attr *attr);
64 int set_comm_cgroup(const char *comm_prefix, const char *cgroup);