Searched refs:comm_str (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/perf/util/ |
| H A D | comm.c | 12 DECLARE_RC_STRUCT(comm_str) { in DECLARE_RC_STRUCT() argument 19 struct comm_str **strs; 24 static void comm_strs__remove_if_last(struct comm_str *cs); 44 static refcount_t *comm_str__refcnt(struct comm_str *cs) in comm_str__refcnt() 49 static const char *comm_str__str(const struct comm_str *cs) in comm_str__str() 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() 64 static void comm_str__put(struct comm_str *cs) in comm_str__put() 79 static struct comm_str *comm_str__new(const char *str) in comm_str__new() 81 struct comm_str *result = NULL; in comm_str__new() [all …]
|
| H A D | comm.h | 9 struct comm_str; 12 struct comm_str *comm_str; member
|
| H A D | thread.c | 51 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()
|
| /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() 380 free(comm_str); in get_comm() 384 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 | 1556 static bool sched_match_task(struct perf_sched *sched, const char *comm_str) in sched_match_task() argument 1563 bool match_found = fuzzy_match ? !!strstr(comm_str, node->s) : in sched_match_task() 1564 !strcmp(comm_str, node->s); in sched_match_task()
|