Skip to content

Commit 2ade1cd

Browse files
committed
Merge branch 'tools: bpftool: Remove unused struct'
Yuan Can says: ==================== This series contains two cleanup patches, remove unused struct. ==================== Signed-off-by: Andrii Nakryiko <[email protected]>
2 parents 5a8921b + f95a479 commit 2ade1cd

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

tools/bpf/bpftool/btf.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ static const char * const btf_kind_str[NR_BTF_KINDS] = {
4343
[BTF_KIND_ENUM64] = "ENUM64",
4444
};
4545

46-
struct btf_attach_point {
47-
__u32 obj_id;
48-
__u32 btf_id;
49-
};
50-
5146
static const char *btf_int_enc_str(__u8 encoding)
5247
{
5348
switch (encoding) {

tools/bpf/bpftool/map_perf_ring.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@
2929

3030
static volatile bool stop;
3131

32-
struct event_ring_info {
33-
int fd;
34-
int key;
35-
unsigned int cpu;
36-
void *mem;
37-
};
38-
3932
struct perf_event_sample {
4033
struct perf_event_header header;
4134
__u64 time;

0 commit comments

Comments
 (0)