Commit 2ade1cd9 authored by Andrii Nakryiko's avatar Andrii Nakryiko
Browse files

Merge branch 'tools: bpftool: Remove unused struct'



Yuan Can says:

====================
This series contains two cleanup patches, remove unused struct.
====================

Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
parents 5a8921ba f95a4797
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -43,11 +43,6 @@ static const char * const btf_kind_str[NR_BTF_KINDS] = {
	[BTF_KIND_ENUM64]	= "ENUM64",
};

struct btf_attach_point {
	__u32 obj_id;
	__u32 btf_id;
};

static const char *btf_int_enc_str(__u8 encoding)
{
	switch (encoding) {
+0 −7
Original line number Diff line number Diff line
@@ -29,13 +29,6 @@

static volatile bool stop;

struct event_ring_info {
	int fd;
	int key;
	unsigned int cpu;
	void *mem;
};

struct perf_event_sample {
	struct perf_event_header header;
	__u64 time;