Files
linux/include/uapi/linux
Alexei Starovoitov a43eec3042 bpf: introduce bpf_perf_event_output() helper
This helper is used to send raw data from eBPF program into
special PERF_TYPE_SOFTWARE/PERF_COUNT_SW_BPF_OUTPUT perf_event.
User space needs to perf_event_open() it (either for one or all cpus) and
store FD into perf_event_array (similar to bpf_perf_event_read() helper)
before eBPF program can send data into it.

Today the programs triggered by kprobe collect the data and either store
it into the maps or print it via bpf_trace_printk() where latter is the debug
facility and not suitable to stream the data. This new helper replaces
such bpf_trace_printk() usage and allows programs to have dedicated
channel into user space for post-processing of the raw data collected.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-22 06:42:15 -07:00
..
2015-10-13 17:42:34 +02:00
2015-05-23 10:49:55 +01:00
2015-04-21 16:16:02 -04:00
2015-09-15 21:53:24 -07:00
2015-10-05 03:16:46 -07:00
2015-08-25 14:41:50 -05:00
2015-04-12 21:25:13 -04:00
2015-07-01 16:26:08 +02:00
2015-05-25 13:25:35 -04:00
2015-10-18 22:40:04 -07:00
2015-08-03 17:30:00 -07:00
2015-07-21 10:39:05 -07:00
2015-05-05 13:40:44 -06:00
2015-08-27 19:44:53 -04:00
2015-04-23 15:16:14 -04:00
2015-07-20 14:58:46 -04:00
2015-08-18 11:56:13 -06:00
2015-09-17 21:09:07 -07:00
2015-09-04 16:54:41 -07:00
2015-05-24 12:49:16 -07:00
2015-06-11 23:37:37 +02:00
2015-06-03 14:17:38 +02:00
2015-03-29 12:13:52 +10:30
2015-03-31 13:58:35 -04:00