[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



BPF_PROG_TYPE_PERF_EVENT is not available until Linux 4.9.

Signed-off-by: Vinson Lee <vlee@xxxxxxxxxxxxxxx>
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index dff66d3fbe50..03632d7a7952 100755
--- a/configure
+++ b/configure
@@ -236,6 +236,8 @@ void main()
 	union bpf_attr attr = {
 		.map_flags = 0,
 	};
+
+	enum bpf_prog_type type = BPF_PROG_TYPE_PERF_EVENT;
 }
 EOF
 
-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux