Searched refs:comm_str (Results 1 – 4 of 4) sorted by relevance
/tools/perf/util/ |
D | comm.c | 12 struct comm_str { struct 22 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get() argument 30 static void comm_str__put(struct comm_str *cs) in comm_str__put() 41 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc() 43 struct comm_str *cs; in comm_str__alloc() 61 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) in __comm_str__findnew() 65 struct comm_str *iter, *new; in __comm_str__findnew() 70 iter = rb_entry(parent, struct comm_str, rb_node); in __comm_str__findnew() 97 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew() 99 struct comm_str *cs; in comm_str__findnew() [all …]
|
D | comm.h | 9 struct comm_str; 12 struct comm_str *comm_str; member
|
D | thread.c | 41 char *comm_str; in thread__new() local 55 comm_str = malloc(32); in thread__new() 56 if (!comm_str) in thread__new() 59 snprintf(comm_str, 32, ":%d", tid); in thread__new() 60 comm = comm__new(comm_str, 0, false); in thread__new() 61 free(comm_str); in thread__new()
|
/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 991 def comm_table(comm_id, comm_str, thread_id, time, exec_flag, *x): argument 992 comm_str = toserverstr(comm_str) 993 n = len(comm_str) 995 value = struct.pack(fmt, 5, 8, comm_id, n, comm_str, 8, thread_id, 8, time, 1, exec_flag)
|