Home
last modified time | relevance | path

Searched refs:comm_str (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/tools/perf/util/
Dcomm.c11 struct comm_str { struct
21 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get() argument
29 static void comm_str__put(struct comm_str *cs) in comm_str__put()
40 static struct comm_str *comm_str__alloc(const char *str) in comm_str__alloc()
42 struct comm_str *cs; in comm_str__alloc()
60 struct comm_str *__comm_str__findnew(const char *str, struct rb_root *root) in __comm_str__findnew()
64 struct comm_str *iter, *new; in __comm_str__findnew()
69 iter = rb_entry(parent, struct comm_str, rb_node); in __comm_str__findnew()
96 static struct comm_str *comm_str__findnew(const char *str, struct rb_root *root) in comm_str__findnew()
98 struct comm_str *cs; in comm_str__findnew()
[all …]
Dcomm.h9 struct comm_str;
12 struct comm_str *comm_str; member
Dthread.c38 char *comm_str; in thread__new() local
52 comm_str = malloc(32); in thread__new()
53 if (!comm_str) in thread__new()
56 snprintf(comm_str, 32, ":%d", tid); in thread__new()
57 comm = comm__new(comm_str, 0, false); in thread__new()
58 free(comm_str); in thread__new()
/Linux-v4.19/tools/perf/scripts/python/
Dexport-to-postgresql.py688 def comm_table(comm_id, comm_str, *x): argument
689 n = len(comm_str)
691 value = struct.pack(fmt, 2, 8, comm_id, n, comm_str)