Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/block/
Dbfq-iosched.h1180 char pid_str[MAX_BFQQ_NAME_LENGTH]; \
1183 bfq_bfqq_name((bfqq), pid_str, MAX_BFQQ_NAME_LENGTH); \
1186 "%s " fmt, pid_str, ##args); \
1197 char pid_str[MAX_BFQQ_NAME_LENGTH]; \
1200 bfq_bfqq_name((bfqq), pid_str, MAX_BFQQ_NAME_LENGTH); \
1201 blk_add_trace_msg((bfqd)->queue, "%s " fmt, pid_str, ##args); \
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/kernel/trace/
Dtrace_functions_graph.c353 char pid_str[11]; in print_graph_proc() local
360 sprintf(pid_str, "%d", pid); in print_graph_proc()
363 len = strlen(comm) + strlen(pid_str) + 1; in print_graph_proc()
372 trace_seq_printf(s, "%s-%s", comm, pid_str); in print_graph_proc()