Searched refs:type_names (Results 1 – 2 of 2) sorted by relevance
80 struct hashmap *type_names; member136 d->type_names = hashmap__new(str_hash_fn, str_equal_fn, NULL); in btf_dump__new()137 if (IS_ERR(d->type_names)) { in btf_dump__new()138 err = PTR_ERR(d->type_names); in btf_dump__new()139 d->type_names = NULL; in btf_dump__new()172 hashmap__free(d->type_names); in btf_dump__free()1369 return btf_dump_resolve_name(d, id, d->type_names); in btf_dump_type_name()
4589 char *type_names; in libbpf_prog_type_by_name() local4603 type_names = libbpf_get_type_names(false); in libbpf_prog_type_by_name()4604 if (type_names != NULL) { in libbpf_prog_type_by_name()4605 pr_info("supported section(type) names are:%s\n", type_names); in libbpf_prog_type_by_name()4606 free(type_names); in libbpf_prog_type_by_name()4615 char *type_names; in libbpf_attach_type_by_name() local4630 type_names = libbpf_get_type_names(true); in libbpf_attach_type_by_name()4631 if (type_names != NULL) { in libbpf_attach_type_by_name()4632 pr_info("attachable section(type) names are:%s\n", type_names); in libbpf_attach_type_by_name()4633 free(type_names); in libbpf_attach_type_by_name()