1
0
Files
linux/include/trace/events
Jesper Dangaard Brouer f9419f7bd7 bpf: cpumap add tracepoints
This adds two tracepoint to the cpumap.  One for the enqueue side
trace_xdp_cpumap_enqueue() and one for the kthread dequeue side
trace_xdp_cpumap_kthread().

To mitigate the tracepoint overhead, these are invoked during the
enqueue/dequeue bulking phases, thus amortizing the cost.

The obvious use-cases are for debugging and monitoring.  The
non-intuitive use-case is using these as a feedback loop to know the
system load.  One can imagine auto-scaling by reducing, adding or
activating more worker CPUs on demand.

V4: tracepoint remove time_limit info, instead add sched info

V8: intro struct bpf_cpu_map_entry members cpu+map_id in this patch

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-18 12:12:18 +01:00
..
2017-01-09 11:10:02 +00:00
2016-12-25 17:21:22 +01:00
2017-09-11 09:45:52 -06:00
2017-08-18 16:36:29 +02:00
2016-08-17 11:13:07 +02:00
2016-09-29 10:03:38 +02:00
2017-07-29 09:00:03 -06:00
2017-10-18 12:12:18 +01:00
2017-08-31 09:45:55 -04:00