Alexei Starovoitov
f89b7755f5
bpf: split eBPF out of NET
...
introduce two configs:
- hidden CONFIG_BPF to select eBPF interpreter that classic socket filters
depend on
- visible CONFIG_BPF_SYSCALL (default off) that tracing and sockets can use
that solves several problems:
- tracing and others that wish to use eBPF don't need to depend on NET.
They can use BPF_SYSCALL to allow loading from userspace or select BPF
to use it directly from kernel in NET-less configs.
- in 3.18 programs cannot be attached to events yet, so don't force it on
- when the rest of eBPF infra is there in 3.19+, it's still useful to
switch it off to minimize kernel size
bloat-o-meter on x64 shows:
add/remove: 0/60 grow/shrink: 0/2 up/down: 0/-15601 (-15601)
tested with many different config combinations. Hopefully didn't miss anything.
Signed-off-by: Alexei Starovoitov <ast@plumgrid.com >
Acked-by: Daniel Borkmann <dborkman@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-10-27 19:09:59 -04:00
..
2014-10-27 19:09:59 -04:00
2014-08-08 16:30:24 -07:00
2014-10-14 02:18:25 +02:00
2014-10-15 07:48:18 +02:00
2014-09-26 14:39:57 +01:00
2014-10-15 07:48:18 +02:00
2014-10-13 15:51:40 +02:00
2014-10-07 01:18:12 +02:00
2014-10-15 07:48:18 +02:00
2014-09-18 16:22:27 -07:00
2014-10-15 07:48:18 +02:00
2014-10-15 07:48:18 +02:00
2014-10-13 16:23:15 +02:00
2013-12-10 18:21:34 +00:00
2014-10-09 22:26:04 -04:00
2014-10-09 22:26:04 -04:00
2014-02-18 11:17:17 +01:00
2014-02-18 11:17:17 +01:00
2014-07-24 21:53:47 +10:00
2014-03-20 10:10:53 -04:00
2014-08-06 18:01:12 -07:00
2014-09-09 10:34:56 +02:00
2014-06-04 16:54:14 -07:00
2014-08-08 15:57:18 -07:00
2014-07-24 21:53:47 +10:00
2014-07-15 11:05:09 -04:00
2014-10-10 07:26:02 -04:00
2014-09-06 12:58:18 +02:00
2013-05-01 17:29:18 -04:00
2014-06-14 09:07:44 +02:00
2014-09-18 16:22:27 -07:00
2014-10-10 07:24:40 -04:00
2014-08-25 15:42:19 -07:00
2014-07-23 10:18:06 -07:00
2013-11-09 00:16:23 -05:00
2014-06-04 16:54:15 -07:00
2014-10-13 16:23:15 +02:00
2014-02-13 18:13:22 -08:00
2014-10-13 16:23:15 +02:00
2013-12-19 13:50:32 -05:00
2014-02-02 14:09:12 -08:00
2014-10-18 09:28:51 -07:00
2014-04-03 16:21:05 -07:00
2014-06-04 16:54:15 -07:00
2014-10-15 07:48:18 +02:00
2013-10-19 19:45:35 -04:00
2014-10-14 02:18:16 +02:00
2014-09-10 15:42:12 -07:00
2013-11-15 09:32:22 +09:00
2014-07-16 14:57:13 +02:00
2014-10-14 02:18:21 +02:00
2014-06-06 16:08:12 -07:00
2014-08-08 10:38:04 +02:00
2014-04-25 12:00:49 -07:00
2014-10-09 22:25:51 -04:00
2014-06-04 16:54:15 -07:00
2014-10-27 19:09:59 -04:00
2013-10-25 17:15:18 -04:00
2013-09-25 17:17:01 +01:00
2014-10-18 10:24:26 -07:00
2014-04-24 10:26:39 +02:00
2014-07-29 18:08:50 -07:00
2013-12-05 21:28:42 +08:00
2014-08-08 15:57:24 -07:00
2014-10-14 02:18:28 +02:00
2014-04-02 16:20:21 -07:00
2013-09-30 14:31:03 -07:00
2014-06-06 16:08:13 -07:00
2014-07-16 15:10:39 +02:00
2013-06-18 11:32:10 -05:00
2014-09-26 00:00:06 -07:00
2014-04-12 14:49:50 -07:00
2014-06-04 16:54:15 -07:00
2014-10-14 02:18:22 +02:00
2014-10-14 02:27:06 +02:00
2014-08-09 09:58:12 -07:00
2014-10-15 07:48:18 +02:00
2013-07-14 19:36:59 -04:00
2014-10-15 07:48:18 +02:00
2014-06-04 16:54:15 -07:00
2014-10-08 21:40:54 -04:00
2014-10-13 16:23:15 +02:00
2014-10-07 20:39:25 -04:00
2014-10-13 15:44:12 +02:00
2013-12-10 18:25:28 +00:00
2014-07-17 09:35:17 -04:00
2013-09-11 15:58:27 -07:00
2014-08-26 13:45:45 -04:00
2014-08-08 15:57:18 -07:00
2014-09-16 13:41:06 -07:00
2014-06-21 00:15:26 -04:00
2014-07-23 10:18:05 -07:00
2013-08-30 23:44:11 -07:00
2014-02-24 14:47:15 -08:00
2014-08-08 15:57:22 -07:00
2014-08-26 13:45:45 -04:00
2014-06-04 16:54:16 -07:00
2014-06-06 16:08:16 -07:00
2014-07-29 18:08:50 -07:00
2014-10-15 07:48:18 +02:00
2014-05-20 10:59:32 -04:00
2014-10-06 05:58:26 -07:00