Home
last modified time | relevance | path

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

12

/linux-6.12.1/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.h57 struct strlist;
59 struct strlist *build_id_cache__list_all(bool validonly);
62 struct strlist **result);
Dsymbol_conf.h7 struct strlist;
69 struct strlist *dso_list,
Dprobe-file.c168 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()
371 struct strlist *namelist; in probe_file__del_events()
1075 struct strlist *bidlist; in probe_cache__show_all_caches()
Dutil.h32 struct strlist;
37 struct strlist *lsdir(const char *name, bool (*filter)(const char *, struct dirent *));
Dutil.c234 struct strlist *kcore_dirs; in rm_rf_kcore_dir()
279 struct strlist *lsdir(const char *name, in lsdir()
282 struct strlist *list = NULL; in lsdir()
426 struct strlist *tips; in perf_tip()
Dprobe-event.h120 struct strlist;
125 struct strlist *vars; /* Available variables */
Devsel_fprintf.c112 struct strlist *bt_stop_list, FILE *fp) in sample__fprintf_callchain()
209 struct callchain_cursor *cursor, struct strlist *bt_stop_list, FILE *fp) in sample__fprintf_sym()
Dsymbol.h94 struct strlist;
214 int setup_list(struct strlist **list, const char *list_str,
Dprint-events.c154 struct strlist *bidlist, *sdtlist; in print_sdt_events()
366 struct strlist *evt_name_list = strlist__new(NULL, NULL); in print_symbol_events()
Dbuild-id.c391 struct strlist *build_id_cache__list_all(bool validonly) in build_id_cache__list_all()
393 struct strlist *toplist, *linklist = NULL, *bidlist; in build_id_cache__list_all()
470 struct strlist *bidlist; in build_id_cache__complement()
519 struct strlist **result) in build_id_cache__list_build_ids()
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()
Dprobe-event.c2672 struct strlist *rawlist; in __show_perf_probe_events()
2740 struct strlist *namelist, bool ret_event, in get_new_event_name()
2840 struct strlist *namelist, in probe_trace_event__set_name()
2892 struct strlist **namelist) in __open_probe_file_and_namelist()
2917 struct strlist *namelist[2] = {NULL, NULL}; in __add_probe_trace_events()
3408 struct strlist *bidlist; in find_cached_events_all()
3576 struct strlist *namelist = strlist__new(NULL, NULL); in show_probe_trace_events()
3631 struct strlist *namelist = strlist__new(NULL, NULL); in show_bootconfig_events()
Dbpf_off_cpu.c131 struct strlist *pid_slist = NULL; in off_cpu_prepare()
Dsymbol.c734 static struct strlist *idle_symbols_list; in symbol__is_idle()
2068 struct strlist *dirs; in find_matching_kcore()
2354 int setup_list(struct strlist **list, const char *list_str, in setup_list()
2384 static int setup_addrlist(struct intlist **addr_list, struct strlist *sym_list) in setup_addrlist()
DBuild47 perf-util-y += strlist.o
/linux-6.12.1/tools/perf/
Dbuiltin-buildid-cache.c224 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()
Dbuiltin-probe.c418 struct strlist *bidlist; in del_perf_probe_caches()
445 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events()
Dbuiltin-list.c65 struct strlist *visited_metrics;
Dbuiltin-inject.c134 struct strlist *known_build_ids;
695 static struct strlist *perf_inject__parse_known_build_ids( in perf_inject__parse_known_build_ids()
699 struct strlist *known_build_ids; in perf_inject__parse_known_build_ids()
/linux-6.12.1/scripts/dtc/libfdt/
Dfdt_ro.c735 int fdt_stringlist_contains(const char *strlist, int listlen, const char *str) in fdt_stringlist_contains() argument
741 if (memcmp(str, strlist, len+1) == 0) in fdt_stringlist_contains()
743 p = memchr(strlist, '\0', listlen); in fdt_stringlist_contains()
746 listlen -= (p-strlist) + 1; in fdt_stringlist_contains()
747 strlist = p + 1; in fdt_stringlist_contains()
Dlibfdt.h1173 int fdt_stringlist_contains(const char *strlist, int listlen, const char *str);

12