diff options
author | Jakub Kicinski <[email protected]> | 2018-05-03 18:37:08 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-05-04 23:41:03 +0200 |
commit | 0cd3cbed3caf6eae3bc0fa4afa4f26a9babfe55a (patch) | |
tree | 6c85805d0e926386e47ebbe193ccd56dc1a94fa2 /lib/mpi/mpiutil.c | |
parent | c27638c0628a5507e421f325dae3d3c9a45f227e (diff) |
bpf: offload: allow offloaded programs to use perf event arrays
BPF_MAP_TYPE_PERF_EVENT_ARRAY is special as far as offload goes.
The map only holds glue to perf ring, not actual data. Allow
non-offloaded perf event arrays to be used in offloaded programs.
Offload driver can extract the events from HW and put them in
the map for user space to retrieve.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Reviewed-by: Jiong Wang <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions