Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dannotate-data.c599 struct global_var_entry *gvar; in global_var_cmp() local
601 gvar = rb_entry(node, struct global_var_entry, node); in global_var_cmp()
603 if (gvar->start <= addr && addr < gvar->end) in global_var_cmp()
605 return gvar->start > addr ? -1 : 1; in global_var_cmp()
634 struct global_var_entry *gvar; in global_var__add() local
640 gvar = malloc(sizeof(*gvar)); in global_var__add()
641 if (gvar == NULL) in global_var__add()
644 gvar->name = name ? strdup(name) : NULL; in global_var__add()
645 if (name && gvar->name == NULL) { in global_var__add()
646 free(gvar); in global_var__add()
[all …]