Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | samples: bpf: Remove bpf_debug macro in favor of bpf_printk | Michal Rostecki | 2019-06-24 | 1 | -12/+6 |
| | | | | | | | | | | | ibumad example was implementing the bpf_debug macro which is exactly the same as the bpf_printk macro available in bpf_helpers.h. This change makes use of bpf_printk instead of bpf_debug. Signed-off-by: Michal Rostecki <mrostecki@opensuse.org> Acked-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Alexei Starovoitov <ast@kernel.org> | ||||
* | BPF: Add sample code for new ib_umad tracepoint | Ira Weiny | 2019-03-27 | 1 | -0/+144 |
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> |