Searched refs:str_node (Results 1 – 9 of 9) sorted by relevance
/linux/tools/perf/util/ |
H A 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()
|
H A 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 …]
|
H A 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()
|
H A D | build-id.c | 394 struct str_node *nd, *nd2; in build_id_cache__list_all() 471 struct str_node *nd, *cand = NULL; in build_id_cache__complement()
|
H A D | bpf_off_cpu.c | 137 struct str_node *pos; in off_cpu_prepare()
|
H A D | probe-event.c | 1184 struct str_node *node; in show_available_vars_at() 2710 struct str_node *ent; in __show_perf_probe_events() 3476 struct str_node *nd; in find_cached_events_all() 3518 struct str_node *node; in find_probe_trace_events_from_cache()
|
H A D | symbol.c | 2076 struct str_node *nd; in find_matching_kcore() 2393 struct str_node *pos, *tmp; in setup_addrlist()
|
/linux/tools/perf/ |
H A 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() 337 struct str_node *nd; in build_id_cache__show_all() 371 struct str_node *pos; in cmd_buildid_cache()
|
H A D | builtin-inject.c | 698 struct str_node *pos, *tmp; in perf_inject__parse_known_build_ids() 734 struct str_node *pos; in perf_inject__lookup_known_build_id()
|