Home
last modified time | relevance | path

Searched refs:comm_str (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
H A Dcomm.c12 struct comm_str { struct
22 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get()
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__findne
[all...]
H A Dcomm.h9 struct comm_str;
12 struct comm_str *comm_str; member
H A Dthread.c41 char *comm_str; in thread__new() local
56 comm_str = malloc(32); in thread__new()
57 if (!comm_str) in thread__new()
60 snprintf(comm_str, 32, ":%d", tid); in thread__new()
61 comm = comm__new(comm_str, 0, false); in thread__new()
62 free(comm_str); in thread__new()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dcomm.c12 struct comm_str { struct
22 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get()
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__findne
[all...]
H A Dcomm.h9 struct comm_str;
12 struct comm_str *comm_str; member
H A Dthread.c42 char *comm_str; in thread__new() local
59 comm_str = malloc(32); in thread__new()
60 if (!comm_str) in thread__new()
63 snprintf(comm_str, 32, ":%d", tid); in thread__new()
64 comm = comm__new(comm_str, 0, false); in thread__new()
65 free(comm_str); in thread__new()
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dexport-to-postgresql.py991 def comm_table(comm_id, comm_str, thread_id, time, exec_flag, *x):
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)
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dexport-to-postgresql.py994 def comm_table(comm_id, comm_str, thread_id, time, exec_flag, *x):
995 comm_str = toserverstr(comm_str)
996 n = len(comm_str)
998 value = struct.pack(fmt, 5, 8, comm_id, n, comm_str, 8, thread_id, 8, time, 1, exec_flag)
/kernel/linux/linux-6.6/tools/mm/
H A Dpage_owner_sort.c389 char *comm_str = malloc(TASK_COMM_LEN); in get_comm() local
391 memset(comm_str, 0, TASK_COMM_LEN); in get_comm()
393 search_pattern(&comm_pattern, comm_str, buf); in get_comm()
401 return comm_str; in get_comm()
/kernel/linux/linux-6.6/tools/perf/tests/
H A Ddlfilter-test.c125 static int write_comm(int fd, pid_t pid, pid_t tid, const char *comm_str) in write_comm() argument
136 strncpy(comm.comm, comm_str, 16); in write_comm()

Completed in 8 milliseconds