comm_str 22 tools/perf/util/comm.c static struct comm_str *comm_str__get(struct comm_str *cs) comm_str 30 tools/perf/util/comm.c static void comm_str__put(struct comm_str *cs) comm_str 41 tools/perf/util/comm.c static struct comm_str *comm_str__alloc(const char *str) comm_str 43 tools/perf/util/comm.c struct comm_str *cs; comm_str 61 tools/perf/util/comm.c struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) comm_str 65 tools/perf/util/comm.c struct comm_str *iter, *new; comm_str 70 tools/perf/util/comm.c iter = rb_entry(parent, struct comm_str, rb_node); comm_str 97 tools/perf/util/comm.c static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) comm_str 99 tools/perf/util/comm.c struct comm_str *cs; comm_str 118 tools/perf/util/comm.c comm->comm_str = comm_str__findnew(str, &comm_str_root); comm_str 119 tools/perf/util/comm.c if (!comm->comm_str) { comm_str 129 tools/perf/util/comm.c struct comm_str *new, *old = comm->comm_str; comm_str 136 tools/perf/util/comm.c comm->comm_str = new; comm_str 146 tools/perf/util/comm.c comm_str__put(comm->comm_str); comm_str 152 tools/perf/util/comm.c return comm->comm_str->str; comm_str 9 tools/perf/util/comm.h struct comm_str; comm_str 12 tools/perf/util/comm.h struct comm_str *comm_str; comm_str 41 tools/perf/util/thread.c char *comm_str; comm_str 55 tools/perf/util/thread.c comm_str = malloc(32); comm_str 56 tools/perf/util/thread.c if (!comm_str) comm_str 59 tools/perf/util/thread.c snprintf(comm_str, 32, ":%d", tid); comm_str 60 tools/perf/util/thread.c comm = comm__new(comm_str, 0, false); comm_str 61 tools/perf/util/thread.c free(comm_str);