Searched refs:comm_str (Results 1 – 7 of 7) sorted by relevance
/linux/tools/perf/util/ |
H A D | comm.c | 10 DECLARE_RC_STRUCT(comm_str) { in DECLARE_RC_STRUCT() argument 17 struct comm_str **strs; 51 static struct comm_str *comm_str__get(struct comm_str *cs) in comm_str__get() 53 struct comm_str *result; in comm_str__get() 79 RC_STRUCT(comm_str) *cs; in comm_str__new() 92 const struct comm_str *member = *(const struct comm_str * const *)_member; in comm_str__search() 135 struct comm_str *result; in comm_strs__findnew() 150 struct comm_str **tmp; in comm_strs__findnew() 199 if (!comm->comm_str) { in comm__new() 209 struct comm_str *new, *old = comm->comm_str; in comm__override() [all …]
|
H A D | comm.h | 9 struct comm_str; 12 struct comm_str *comm_str; member
|
H A D | thread.c | 47 char comm_str[32]; in thread__new() local 60 snprintf(comm_str, sizeof(comm_str), ":%d", tid); in thread__new() 61 comm = comm__new(comm_str, 0, false); in thread__new()
|
/linux/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 994 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)
|
/linux/tools/mm/ |
H A D | page_owner_sort.c | 371 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() 383 return comm_str; in get_comm()
|
/linux/tools/perf/tests/ |
H A D | dlfilter-test.c | 125 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()
|
/linux/tools/perf/ |
H A D | builtin-sched.c | 1557 static bool sched_match_task(struct perf_sched *sched, const char *comm_str) in sched_match_task() argument 1564 bool match_found = fuzzy_match ? !!strstr(comm_str, node->s) : in sched_match_task() 1565 !strcmp(comm_str, node->s); in sched_match_task()
|