Searched refs:str_node (Results 1 – 13 of 13) sorted by relevance
/linux-5.19.10/tools/perf/util/ |
D | strlist.h | 10 struct str_node { struct 35 void strlist__remove(struct strlist *slist, struct str_node *sn); argument 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); 58 static inline struct str_node *strlist__first(struct strlist *slist) in strlist__first() 61 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL; in strlist__first() 63 static inline struct str_node *strlist__next(struct str_node *sn) in strlist__next() 69 return rn ? rb_entry(rn, struct str_node, rb_node) : NULL; in strlist__next()
|
D | strlist.c | 20 struct str_node *snode = malloc(sizeof(*snode)); in strlist__node_new() 39 static void str_node__delete(struct str_node *snode, bool dupstr) in str_node__delete() 50 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_delete() 58 struct str_node *snode = container_of(rb_node, struct str_node, rb_node); in strlist__node_cmp() 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() 102 struct str_node *snode = NULL; in strlist__find() 106 snode = container_of(rb_node, struct str_node, rb_node); in strlist__find() 198 struct str_node *strlist__entry(const struct strlist *slist, unsigned int idx) in strlist__entry() 200 struct str_node *snode = NULL; in strlist__entry() [all …]
|
D | probe-file.c | 223 struct str_node *ent; in __probe_file__get_namelist() 289 static int __del_trace_probe_event(int fd, struct str_node *ent) in __del_trace_probe_event() 327 struct str_node *ent; in probe_file__get_events() 359 struct str_node *ent; in probe_file__del_strlist() 428 struct str_node *node; in probe_cache_entry__get_event() 970 struct str_node *snode; in probe_cache_entry__write() 1076 struct str_node *nd; in probe_cache__show_all_caches()
|
D | thread_map.c | 190 struct str_node *pos; in thread_map__new_by_pid_str() 249 struct str_node *pos; in thread_map__new_by_tid_str()
|
D | util.c | 385 struct str_node *node; in perf_tip()
|
D | build-id.c | 458 struct str_node *nd, *nd2; in build_id_cache__list_all() 535 struct str_node *nd, *cand = NULL; in build_id_cache__complement()
|
D | probe-event.c | 1139 struct str_node *node; in show_available_vars_at() 2645 struct str_node *ent; in __show_perf_probe_events() 3376 struct str_node *nd; in find_cached_events_all() 3418 struct str_node *node; in find_probe_trace_events_from_cache()
|
D | symbol.c | 2131 struct str_node *nd; in find_matching_kcore() 2447 struct str_node *pos, *tmp; in setup_addrlist()
|
D | metricgroup.c | 416 struct str_node *sn; in metricgroup__print_strlist()
|
D | parse-events.c | 2878 struct str_node *nd, *nd2; in print_sdt_events()
|
/linux-5.19.10/tools/perf/ |
D | builtin-buildid-cache.c | 225 struct str_node *pos; in build_id_cache__purge_path() 250 struct str_node *pos; in build_id_cache__purge_all() 335 struct str_node *nd; in build_id_cache__show_all() 369 struct str_node *pos; in cmd_buildid_cache()
|
D | builtin-probe.c | 402 struct str_node *nd; in del_perf_probe_caches() 429 struct str_node *ent; in perf_del_probe_events()
|
D | builtin-trace.c | 1860 struct str_node *pos; in trace__validate_ev_qualifier()
|