Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dbtf_dump.c577 const char *orig_name);
1328 const char *orig_name) in btf_dump_name_dups() argument
1332 hashmap__find(name_map, orig_name, (void **)&dup_cnt); in btf_dump_name_dups()
1334 hashmap__set(name_map, orig_name, (void *)dup_cnt, NULL, NULL); in btf_dump_name_dups()
1344 const char *orig_name = btf_name_of(d, t->name_off); in btf_dump_resolve_name() local
1352 return *cached_name ? *cached_name : orig_name; in btf_dump_resolve_name()
1354 dup_cnt = btf_dump_name_dups(d, name_map, orig_name); in btf_dump_resolve_name()
1359 snprintf(new_name, max_len, "%s___%zu", orig_name, dup_cnt); in btf_dump_resolve_name()
1364 return *cached_name ? *cached_name : orig_name; in btf_dump_resolve_name()
/tools/perf/util/
Ddata-convert-bt.c936 static char *change_name(char *name, char *orig_name, int dup)
942 name = orig_name;
954 len = strlen(orig_name) + sizeof("_dupl_X");
963 snprintf(new_name, len, "%s_dupl_%d", orig_name, dup);
966 if (name != orig_name)