Searched refs:comm_str (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/perf/util/
H A Dcomm.c12 struct comm_str { struct
22 static struct comm_str *comm_str__get(struct comm_str *cs)
30 static void comm_str__put(struct comm_str *cs)
41 static struct comm_str *comm_str__alloc(const char *str)
43 struct comm_str *cs;
61 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root)
65 struct comm_str *iter, *new;
70 iter = rb_entry(parent, struct comm_str, rb_node);
97 static struct comm_str *comm_str__findne
[all...]
H A Dcomm.h9 struct comm_str;
12 struct comm_str *comm_str; member in struct:comm
H A Dthread.c42 char *comm_str; local
59 comm_str = malloc(32);
60 if (!comm_str)
63 snprintf(comm_str, 32, ":%d", tid);
64 comm = comm__new(comm_str, 0, false);
65 free(comm_str);
/linux-master/tools/perf/scripts/python/
H A Dexport-to-postgresql.py994 def comm_table(comm_id, comm_str, thread_id, time, exec_flag, *x):
995 comm_str = toserverstr(comm_str)
996 n = len(comm_str)
998 value = struct.pack(fmt, 5, 8, comm_id, n, comm_str, 8, thread_id, 8, time, 1, exec_flag)
/linux-master/tools/perf/tests/
H A Ddlfilter-test.c125 static int write_comm(int fd, pid_t pid, pid_t tid, const char *comm_str) argument
136 strncpy(comm.comm, comm_str, 16);
/linux-master/tools/mm/
H A Dpage_owner_sort.c371 char *comm_str = malloc(TASK_COMM_LEN); local
373 memset(comm_str, 0, TASK_COMM_LEN);
375 search_pattern(&comm_pattern, comm_str, buf);
383 return comm_str;

Completed in 286 milliseconds