Searched refs:comm_str (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/tools/perf/util/ |
D | comm.c | 6 struct comm_str { struct 15 static void comm_str__get(struct comm_str *cs) in comm_str__get() argument 20 static void comm_str__put(struct comm_str *cs) in comm_str__put() 29 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc() 31 struct comm_str *cs; in comm_str__alloc() 46 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew() 50 struct comm_str *iter, *new; in comm_str__findnew() 55 iter = rb_entry(parent, struct comm_str, rb_node); in comm_str__findnew() 87 comm->comm_str = comm_str__findnew(str, &comm_str_root); in comm__new() 88 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.1.27/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 398 def comm_table(comm_id, comm_str, *x): argument 399 n = len(comm_str) 401 value = struct.pack(fmt, 2, 8, comm_id, n, comm_str)
|