Searched refs:comm_str (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/tools/perf/util/ |
D | comm.c | 7 struct comm_str { struct 16 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get() argument 23 static void comm_str__put(struct comm_str *cs) in comm_str__put() 32 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc() 34 struct comm_str *cs; in comm_str__alloc() 51 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew() 55 struct comm_str *iter, *new; in comm_str__findnew() 60 iter = rb_entry(parent, struct comm_str, rb_node); in comm_str__findnew() 92 comm->comm_str = comm_str__findnew(str, &comm_str_root); in comm__new() 93 if (!comm->comm_str) { in comm__new() [all …]
|
D | comm.h | 8 struct comm_str; 11 struct comm_str *comm_str; member
|
D | thread.c | 31 char *comm_str; in thread__new() local 45 comm_str = malloc(32); in thread__new() 46 if (!comm_str) in thread__new() 49 snprintf(comm_str, 32, ":%d", tid); in thread__new() 50 comm = comm__new(comm_str, 0, false); in thread__new() 51 free(comm_str); in thread__new()
|
/linux-4.4.14/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 666 def comm_table(comm_id, comm_str, *x): argument 667 n = len(comm_str) 669 value = struct.pack(fmt, 2, 8, comm_id, n, comm_str)
|