Home
last modified time | relevance | path

Searched refs:pid_str (Results 1 – 3 of 3) sorted by relevance

/tools/tracing/rtla/src/
Dutils.c637 char pid_str[24]; in set_pid_cgroup() local
667 snprintf(pid_str, sizeof(pid_str), "%d\n", pid); in set_pid_cgroup()
669 retval = write(cg_fd, pid_str, strlen(pid_str)); in set_pid_cgroup()
672 pid_str, strerror(errno)); in set_pid_cgroup()
674 debug_msg("Set cgroup attributes for pid:%s\n", pid_str); in set_pid_cgroup()
/tools/perf/util/
Dthread_map.c182 static struct perf_thread_map *thread_map__new_by_pid_str(const char *pid_str) in thread_map__new_by_pid_str() argument
193 struct strlist *slist = strlist__new(pid_str, &slist_config); in thread_map__new_by_pid_str()
/tools/mm/
Dpage_owner_sort.c316 char pid_str[FIELD_BUFF] = {0}; in get_pid() local
319 search_pattern(&pid_pattern, pid_str, buf); in get_pid()
321 pid = strtol(pid_str, &endptr, 10); in get_pid()
322 if (errno != 0 || endptr == pid_str || *endptr != '\0') { in get_pid()