summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2018-05-27 14:24:10 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-30 13:40:14 +0300
commit6bdd533cee9aadbcd476af30bfff079abe68fcdb (patch)
treea153475f8949a8c9d6340b4f52c37b8912d0622d /tools/bpf/bpftool/prog.c
parentf4364dcfc86df7c1ca47b256eaf6b6d0cdd0d936 (diff)
downloadlinux-6bdd533cee9aadbcd476af30bfff079abe68fcdb.tar.xz
bpf: add selftest for lirc_mode2 type program
This is simple test over rc-loopback. Acked-by: Yonghong Song <yhs@fb.com> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
-rw-r--r--tools/bpf/bpftool/prog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c
index 39b88e760367..a4f435203fef 100644
--- a/tools/bpf/bpftool/prog.c
+++ b/tools/bpf/bpftool/prog.c
@@ -71,6 +71,7 @@ static const char * const prog_type_name[] = {
[BPF_PROG_TYPE_SK_MSG] = "sk_msg",
[BPF_PROG_TYPE_RAW_TRACEPOINT] = "raw_tracepoint",
[BPF_PROG_TYPE_CGROUP_SOCK_ADDR] = "cgroup_sock_addr",
+ [BPF_PROG_TYPE_LIRC_MODE2] = "lirc_mode2",
};
static void print_boot_time(__u64 nsecs, char *buf, unsigned int size)