Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.h34 struct strlist;
38 struct strlist *bt_stop_list, FILE *fp);
43 struct strlist *bt_stop_list, FILE *fp);
Dbuild-id.h61 struct strlist;
63 struct strlist *build_id_cache__list_all(bool validonly);
66 struct strlist **result);
Dsymbol_conf.h7 struct strlist;
65 struct strlist *dso_list,
Dutil.h23 struct strlist;
28 struct strlist *lsdir(const char *name, bool (*filter)(const char *, struct dirent *));
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.c232 struct strlist *kcore_dirs; in rm_rf_kcore_dir()
277 struct strlist *lsdir(const char *name, in lsdir()
280 struct strlist *list = NULL; in lsdir()
418 struct strlist *tips; in perf_tip()
Dprobe-event.h120 struct strlist;
125 struct strlist *vars; /* Available variables */
Devsel_fprintf.c107 struct strlist *bt_stop_list, FILE *fp) in sample__fprintf_callchain()
206 struct callchain_cursor *cursor, struct strlist *bt_stop_list, FILE *fp) in sample__fprintf_sym()
Dsymbol.h92 struct strlist;
230 int setup_list(struct strlist **list, const char *list_str,
Dpython-ext-sources32 util/strlist.c
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.c449 struct strlist *build_id_cache__list_all(bool validonly) in build_id_cache__list_all()
451 struct strlist *toplist, *linklist = NULL, *bidlist; in build_id_cache__list_all()
528 struct strlist *bidlist; in build_id_cache__complement()
579 struct strlist **result) in build_id_cache__list_build_ids()
Dmetricgroup.c358 struct strlist *metrics;
417 static void metricgroup__print_strlist(struct strlist *metrics, bool raw) in metricgroup__print_strlist()
437 struct strlist *metriclist) in metricgroup__print_pmu_event()
500 struct strlist *metriclist;
546 struct strlist *metriclist;
576 struct strlist *metriclist = NULL; in metricgroup__print()
Dprobe-event.c2647 struct strlist *rawlist; in __show_perf_probe_events()
2715 struct strlist *namelist, bool ret_event, in get_new_event_name()
2810 struct strlist *namelist, in probe_trace_event__set_name()
2862 struct strlist **namelist) in __open_probe_file_and_namelist()
2887 struct strlist *namelist[2] = {NULL, NULL}; in __add_probe_trace_events()
3378 struct strlist *bidlist; in find_cached_events_all()
3546 struct strlist *namelist = strlist__new(NULL, NULL); in show_probe_trace_events()
3601 struct strlist *namelist = strlist__new(NULL, NULL); in show_bootconfig_events()
Dbpf_off_cpu.c130 struct strlist *pid_slist = NULL; in off_cpu_prepare()
Dprint-events.c166 struct strlist *bidlist, *sdtlist; in print_sdt_events()
Dsymbol.c706 static struct strlist *idle_symbols_list; in symbol__is_idle()
2130 struct strlist *dirs; in find_matching_kcore()
2417 int setup_list(struct strlist **list, const char *list_str, in setup_list()
2447 static int setup_addrlist(struct intlist **addr_list, struct strlist *sym_list) in setup_addrlist()
/linux-6.1.9/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()
334 struct strlist *bidlist; in build_id_cache__show_all()
368 struct strlist *list; in cmd_buildid_cache()
Dbuiltin-probe.c400 struct strlist *bidlist; in del_perf_probe_caches()
427 struct strlist *klist = NULL, *ulist = NULL; in perf_del_probe_events()
Dbuiltin-inject.c128 struct strlist *known_build_ids;
644 static struct strlist *perf_inject__parse_known_build_ids( in perf_inject__parse_known_build_ids()
648 struct strlist *known_build_ids; in perf_inject__parse_known_build_ids()
/linux-6.1.9/scripts/dtc/libfdt/
Dfdt_ro.c706 int fdt_stringlist_contains(const char *strlist, int listlen, const char *str) in fdt_stringlist_contains() argument
712 if (memcmp(str, strlist, len+1) == 0) in fdt_stringlist_contains()
714 p = memchr(strlist, '\0', listlen); in fdt_stringlist_contains()
717 listlen -= (p-strlist) + 1; in fdt_stringlist_contains()
718 strlist = p + 1; in fdt_stringlist_contains()
Dlibfdt.h1105 int fdt_stringlist_contains(const char *strlist, int listlen, const char *str);

12