Home
last modified time | relevance | path

Searched refs:strlist (Results 1 – 25 of 25) sorted by relevance

/tools/perf/util/
Dstrlist.h15 struct strlist { struct
32 struct strlist *strlist__new(const char *slist, const struct strlist_config *config); argument
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()
[all …]
Dstrlist.c19 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()
142 static int strlist__parse_list(struct strlist *slist, const char *s, const char *subst_dir) in strlist__parse_list()
159 struct strlist *strlist__new(const char *list, const struct strlist_config *config) in strlist__new()
[all …]
Dprobe-file.h7 struct strlist;
16 struct strlist *tevlist;
43 struct strlist *probe_file__get_namelist(int fd);
44 struct strlist *probe_file__get_rawlist(int fd);
49 struct strlist *plist);
50 int probe_file__del_strlist(int fd, struct strlist *namelist);
Devsel_fprintf.h35 struct strlist;
39 struct strlist *bt_stop_list, FILE *fp);
44 struct strlist *bt_stop_list, FILE *fp);
Dbuild-id.h43 struct strlist;
45 struct strlist *build_id_cache__list_all(bool validonly);
48 struct strlist **result);
Dsymbol_conf.h7 struct strlist;
62 struct strlist *dso_list,
Dutil.h20 struct strlist;
25 struct strlist *lsdir(const char *name, bool (*filter)(const char *, struct dirent *));
Dprobe-file.c133 struct strlist *probe_file__get_rawlist(int fd) in probe_file__get_rawlist()
139 struct strlist *sl; in probe_file__get_rawlist()
184 static struct strlist *__probe_file__get_namelist(int fd, bool include_group) in __probe_file__get_namelist()
187 struct strlist *sl, *rawlist; in __probe_file__get_namelist()
225 struct strlist *probe_file__get_namelist(int fd) in probe_file__get_namelist()
289 struct strlist *plist) in probe_file__get_events()
291 struct strlist *namelist; in probe_file__get_events()
316 int probe_file__del_strlist(int fd, struct strlist *namelist) in probe_file__del_strlist()
331 struct strlist *namelist; in probe_file__del_events()
986 struct strlist *bidlist; in probe_cache__show_all_caches()
Dutil.c208 struct strlist *lsdir(const char *name, in lsdir()
211 struct strlist *list = NULL; in lsdir()
348 struct strlist *tips; in perf_tip()
Dprobe-event.h116 struct strlist;
121 struct strlist *vars; /* Available variables */
Dpython-ext-sources30 util/strlist.c
Devsel_fprintf.c106 struct strlist *bt_stop_list, FILE *fp) in sample__fprintf_callchain()
195 struct callchain_cursor *cursor, struct strlist *bt_stop_list, FILE *fp) in sample__fprintf_sym()
Dsymbol.h79 struct strlist;
222 int setup_list(struct strlist **list, const char *list_str,
Dmetricgroup.c227 struct strlist *metrics;
286 static void metricgroup__print_strlist(struct strlist *metrics, bool raw) in metricgroup__print_strlist()
310 struct strlist *metriclist = NULL; in metricgroup__print()
Dthread_map.c192 struct strlist *slist = strlist__new(pid_str, &slist_config); in thread_map__new_by_pid_str()
251 struct strlist *slist; in thread_map__new_by_tid_str()
Dbuild-id.c439 struct strlist *build_id_cache__list_all(bool validonly) in build_id_cache__list_all()
441 struct strlist *toplist, *linklist = NULL, *bidlist; in build_id_cache__list_all()
518 struct strlist *bidlist; in build_id_cache__complement()
572 struct strlist **result) in build_id_cache__list_build_ids()
Dprobe-event.c2540 struct strlist *rawlist; in __show_perf_probe_events()
2608 struct strlist *namelist, bool ret_event, in get_new_event_name()
2703 struct strlist *namelist, in probe_trace_event__set_name()
2750 struct strlist **namelist) in __open_probe_file_and_namelist()
2775 struct strlist *namelist[2] = {NULL, NULL}; in __add_probe_trace_events()
3234 struct strlist *bidlist; in find_cached_events_all()
3402 struct strlist *namelist = strlist__new(NULL, NULL); in show_probe_trace_events()
DBuild36 perf-y += strlist.o
Dsymbol.c1895 struct strlist *dirs; in find_matching_kcore()
2171 int setup_list(struct strlist **list, const char *list_str, in setup_list()
Dparse-events.c2370 struct strlist *bidlist, *sdtlist; in print_sdt_events()
Dmachine.c346 static struct strlist *seen; in machines__findnew()
Dsort.c2872 static bool __get_elide(struct strlist *list, const char *list_name, FILE *fp) in __get_elide()
/tools/perf/
Dbuiltin-buildid-cache.c223 struct strlist *list; in build_id_cache__purge_path()
248 struct strlist *list; in build_id_cache__purge_all()
334 struct strlist *bidlist; in build_id_cache__show_all()
354 struct strlist *list; in cmd_buildid_cache()
Dbuiltin-probe.c397 struct strlist *bidlist; in del_perf_probe_caches()
424 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events()
Dbuiltin-trace.c149 struct strlist *ev_qualifier;