Home
last modified time | relevance | path

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

/tools/perf/util/
A Dcomm.c12 DECLARE_RC_STRUCT(comm_str) { in DECLARE_RC_STRUCT() argument
19 struct comm_str **strs;
54 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get()
56 struct comm_str *result; in comm_str__get()
82 RC_STRUCT(comm_str) *cs; in comm_str__new()
95 const struct comm_str *member = *(const struct comm_str * const *)_member; in comm_str__search()
139 struct comm_str *result; in comm_strs__findnew()
154 struct comm_str **tmp; in comm_strs__findnew()
203 if (!comm->comm_str) { in comm__new()
213 struct comm_str *new, *old = comm->comm_str; in comm__override()
[all …]
A Dcomm.h9 struct comm_str;
12 struct comm_str *comm_str; member
A Dthread.c51 char comm_str[32]; in thread__new() local
65 snprintf(comm_str, sizeof(comm_str), ":%d", tid); in thread__new()
66 comm = comm__new(comm_str, 0, false); in thread__new()
/tools/perf/scripts/python/
A Dexport-to-postgresql.py994 def comm_table(comm_id, comm_str, thread_id, time, exec_flag, *x): argument
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)
/tools/mm/
A Dpage_owner_sort.c371 char *comm_str = malloc(TASK_COMM_LEN); in get_comm() local
373 memset(comm_str, 0, TASK_COMM_LEN); in get_comm()
375 search_pattern(&comm_pattern, comm_str, buf); in get_comm()
380 free(comm_str); in get_comm()
384 return comm_str; in get_comm()
/tools/perf/tests/
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()
/tools/perf/
A Dbuiltin-sched.c1567 static bool sched_match_task(struct perf_sched *sched, const char *comm_str) in sched_match_task() argument
1574 bool match_found = fuzzy_match ? !!strstr(comm_str, node->s) : in sched_match_task()
1575 !strcmp(comm_str, node->s); in sched_match_task()

Completed in 20 milliseconds