]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbbb421b8131ea909b57c2d1e3895b37bd37cda54
treea00d8dd608774a56dc8bc02ed7192637ec429d8c
parent0f59e737a541bd59d096d968cf85282074e3ff52
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]