BPF: Add sample code for new ib_umad tracepoint
authorIra Weiny <ira.weiny@intel.com>
Tue, 19 Mar 2019 21:11:49 +0000 (14:11 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 27 Mar 2019 18:53:26 +0000 (15:53 -0300)
commit0ac01febd4753809d7d4d785f71cac2abde6b1c3
treea00d8dd608774a56dc8bc02ed7192637ec429d8c
parent2ccfbb70c2773ab0f257319c7e3b1cefb766d82e
BPF: Add sample code for new ib_umad tracepoint

Provide a count of class types for a summary of MAD packets.  The example
shows one way to filter the trace data based on management class.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
MAINTAINERS
samples/bpf/Makefile
samples/bpf/ibumad_kern.c [new file with mode: 0644]
samples/bpf/ibumad_user.c [new file with mode: 0644]