diff options
Diffstat (limited to 'tools/lib/bpf/btf.c')
-rw-r--r-- | tools/lib/bpf/btf.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/lib/bpf/btf.c b/tools/lib/bpf/btf.c index f6b724ed1bdd..6953fedb88ff 100644 --- a/tools/lib/bpf/btf.c +++ b/tools/lib/bpf/btf.c | |||
@@ -449,13 +449,6 @@ const void *btf__get_raw_data(const struct btf *btf, __u32 *size) | |||
449 | return btf->data; | 449 | return btf->data; |
450 | } | 450 | } |
451 | 451 | ||
452 | void btf__get_strings(const struct btf *btf, const char **strings, | ||
453 | __u32 *str_len) | ||
454 | { | ||
455 | *strings = btf->strings; | ||
456 | *str_len = btf->hdr->str_len; | ||
457 | } | ||
458 | |||
459 | const char *btf__name_by_offset(const struct btf *btf, __u32 offset) | 452 | const char *btf__name_by_offset(const struct btf *btf, __u32 offset) |
460 | { | 453 | { |
461 | if (offset < btf->hdr->str_len) | 454 | if (offset < btf->hdr->str_len) |