From ffa7aadf755ca967b24db232cc6fbe71060eb79d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Fri, 11 Jan 2019 17:46:35 -0800 Subject: [PATCH] bpf loader - add support for new schedcls type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit which maps to BPF_PROG_TYPE_SCHED_CLS Bug: 65674744 Signed-off-by: Maciej Żenczykowski Change-Id: I7ca5912756c575e2c0667b9dae2d24471845e028 --- libbpf_android/Loader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libbpf_android/Loader.cpp b/libbpf_android/Loader.cpp index 332c0b4..d8771c1 100644 --- a/libbpf_android/Loader.cpp +++ b/libbpf_android/Loader.cpp @@ -67,6 +67,7 @@ sectionType sectionNameTypes[] = { { "tracepoint", BPF_PROG_TYPE_TRACEPOINT }, { "skfilter", BPF_PROG_TYPE_SOCKET_FILTER }, { "cgroupskb", BPF_PROG_TYPE_CGROUP_SKB }, + { "schedcls", BPF_PROG_TYPE_SCHED_CLS }, /* End of table */ { "END", BPF_PROG_TYPE_UNSPEC },