| /tools/perf/util/ |
| A D | strlist.h | 15 struct strlist { struct 33 void strlist__delete(struct strlist *slist); 35 void strlist__remove(struct strlist *slist, struct str_node *sn); 36 int strlist__load(struct strlist *slist, const char *filename); 37 int strlist__add(struct strlist *slist, const char *str); 39 struct str_node *strlist__entry(const struct strlist *slist, unsigned int idx); 40 struct str_node *strlist__find(struct strlist *slist, const char *entry); 42 static inline bool strlist__has_entry(struct strlist *slist, const char *entry) in strlist__has_entry() 47 static inline bool strlist__empty(const struct strlist *slist) in strlist__empty() 52 static inline unsigned int strlist__nr_entries(const struct strlist *slist) in strlist__nr_entries() [all …]
|
| A D | strlist.c | 19 struct strlist *strlist = container_of(rblist, struct strlist, rblist); in strlist__node_new() local 23 if (strlist->dupstr) { in strlist__node_new() 49 struct strlist *slist = container_of(rblist, struct strlist, rblist); in strlist__node_delete() 63 int strlist__add(struct strlist *slist, const char *new_entry) in strlist__add() 68 int strlist__load(struct strlist *slist, const char *filename) in strlist__load() 95 void strlist__remove(struct strlist *slist, struct str_node *snode) in strlist__remove() 100 struct str_node *strlist__find(struct strlist *slist, const char *entry) in strlist__find() 111 static int strlist__parse_list_entry(struct strlist *slist, const char *s, in strlist__parse_list_entry() 161 struct strlist *slist = malloc(sizeof(*slist)); in strlist__new() 192 void strlist__delete(struct strlist *slist) in strlist__delete() [all …]
|
| A D | probe-file.h | 7 struct strlist; 16 struct strlist *tevlist; 43 struct strlist *probe_file__get_namelist(int fd); 44 struct strlist *probe_file__get_rawlist(int fd); 48 struct strlist *plist); 49 int probe_file__del_strlist(int fd, struct strlist *namelist);
|
| A D | evsel_fprintf.h | 35 struct strlist; 39 struct strlist *bt_stop_list, FILE *fp); 44 struct strlist *bt_stop_list, FILE *fp);
|
| A D | build-id.h | 57 struct strlist; 59 struct strlist *build_id_cache__list_all(bool validonly); 62 struct strlist **result);
|
| A D | symbol_conf.h | 9 struct strlist; 74 struct strlist *dso_list,
|
| A D | util.h | 35 struct strlist; 40 struct strlist *lsdir(const char *name, bool (*filter)(const char *, struct dirent *));
|
| A D | util.c | 240 struct strlist *kcore_dirs; in rm_rf_kcore_dir() 285 struct strlist *lsdir(const char *name, in lsdir() 288 struct strlist *list = NULL; in lsdir() 347 struct strlist *tips; in perf_tip()
|
| A D | probe-event.h | 121 struct strlist; 126 struct strlist *vars; /* Available variables */
|
| A D | probe-file.c | 168 struct strlist *probe_file__get_rawlist(int fd) in probe_file__get_rawlist() 174 struct strlist *sl; in probe_file__get_rawlist() 219 static struct strlist *__probe_file__get_namelist(int fd, bool include_group) in __probe_file__get_namelist() 222 struct strlist *sl, *rawlist; in __probe_file__get_namelist() 260 struct strlist *probe_file__get_namelist(int fd) in probe_file__get_namelist() 324 struct strlist *plist) in probe_file__get_events() 326 struct strlist *namelist; in probe_file__get_events() 356 int probe_file__del_strlist(int fd, struct strlist *namelist) in probe_file__del_strlist() 1056 struct strlist *bidlist; in probe_cache__show_all_caches()
|
| A D | evsel_fprintf.c | 114 struct strlist *bt_stop_list, FILE *fp) in sample__fprintf_callchain() 211 struct callchain_cursor *cursor, struct strlist *bt_stop_list, FILE *fp) in sample__fprintf_sym()
|
| A D | symbol.h | 94 struct strlist; 214 int setup_list(struct strlist **list, const char *list_str,
|
| A D | thread_map.c | 170 struct strlist *slist = strlist__new(pid_str, &slist_config); in thread_map__new_by_pid_str() 229 struct strlist *slist; in thread_map__new_by_tid_str()
|
| A D | print-events.c | 49 struct strlist *bidlist, *sdtlist; in print_sdt_events() 246 struct strlist *evt_name_list = strlist__new(NULL, NULL); in print_symbol_events()
|
| A D | build-id.c | 399 struct strlist *build_id_cache__list_all(bool validonly) in build_id_cache__list_all() 401 struct strlist *toplist, *linklist = NULL, *bidlist; in build_id_cache__list_all() 478 struct strlist *bidlist; in build_id_cache__complement() 527 struct strlist **result) in build_id_cache__list_build_ids()
|
| A D | probe-event.c | 2713 struct strlist *rawlist; in __show_perf_probe_events() 2781 struct strlist *namelist, bool ret_event, in get_new_event_name() 2901 struct strlist *namelist, in probe_trace_event__set_name() 2963 struct strlist **namelist) in __open_probe_file_and_namelist() 2988 struct strlist *namelist[2] = {NULL, NULL}; in __add_probe_trace_events() 3479 struct strlist *bidlist; in find_cached_events_all() 3647 struct strlist *namelist = strlist__new(NULL, NULL); in show_probe_trace_events() 3702 struct strlist *namelist = strlist__new(NULL, NULL); in show_bootconfig_events()
|
| A D | bpf_off_cpu.c | 152 struct strlist *pid_slist = NULL; in off_cpu_prepare()
|
| A D | symbol.c | 751 static struct strlist *idle_symbols_list; in symbol__is_idle() 2088 struct strlist *dirs; in find_matching_kcore() 2374 int setup_list(struct strlist **list, const char *list_str, in setup_list() 2404 static int setup_addrlist(struct intlist **addr_list, struct strlist *sym_list) in setup_addrlist()
|
| A D | Build | 48 perf-util-y += strlist.o
|
| A D | machine.c | 332 static struct strlist *seen; in machines__findnew()
|
| /tools/perf/ |
| A D | builtin-buildid-cache.c | 224 struct strlist *list; in build_id_cache__purge_path() 249 struct strlist *list; in build_id_cache__purge_all() 336 struct strlist *bidlist; in build_id_cache__show_all() 370 struct strlist *list; in cmd_buildid_cache()
|
| A D | builtin-probe.c | 418 struct strlist *bidlist; in del_perf_probe_caches() 445 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events()
|
| A D | builtin-list.c | 68 struct strlist *visited_metrics;
|
| A D | builtin-inject.c | 134 struct strlist *known_build_ids; 698 static struct strlist *perf_inject__parse_known_build_ids( in perf_inject__parse_known_build_ids() 702 struct strlist *known_build_ids; in perf_inject__parse_known_build_ids()
|
| A D | builtin-sched.c | 159 struct strlist *task_names; 1570 struct strlist *task_names = sched->map.task_names; in sched_match_task()
|