On Mon, 2018-12-17 at 14:15 -0500, ira.weiny@xxxxxxxxx wrote: > From: Ira Weiny <ira.weiny@xxxxxxxxx> > > A while ago I wrote these patches for MAD stack tracing. At the time I was > proposing to remove the snoop interface.[1] > > For this submission I'd like to propose adding the tracing and leave the snoop > interface in. While I still don't see a need for the snoop interface, I'm no > longer advocating getting rid of it as the functionality of these patches is > different. > > In addition I wrote a sample eBPF which shows how one can further filter at the > tracepoints to distill the information being traced. I don't know if this > should be submitted through another tree or if it is ok to take though > linux-rdma? I think it needs to go through the tracing subsystem tree, maintained by Ingo Molnar and Steven Rostedt. In addition, you need a MAINTAINERS file update to go along with this. The include/trace/events/ib*mad.h files should be under the INFINIBAND subsystem to patches to them get Cc:ed here. Same for the samples/bpf/ibumad_*.c files. > Ira > > [1] https://www.spinics.net/lists/linux-rdma/msg29109.html > > > Ira Weiny (6): > IB/MAD: Add send path trace points > IB/MAD: Add recv path trace point > IB/MAD: Add agent trace points > IB/UMAD: Add umad trace points > IB/MAD: Add SMP details to MAD tracing > BPF: Add sample code for new ib_umad tracepoint > > drivers/infiniband/core/mad.c | 95 ++++++++- > drivers/infiniband/core/user_mad.c | 7 + > include/trace/events/ib_mad.h | 391 +++++++++++++++++++++++++++++++++++++ > include/trace/events/ib_umad.h | 140 +++++++++++++ > samples/bpf/Makefile | 3 + > samples/bpf/ibumad_kern.c | 123 ++++++++++++ > samples/bpf/ibumad_user.c | 120 ++++++++++++ > 7 files changed, 878 insertions(+), 1 deletion(-) > create mode 100644 include/trace/events/ib_mad.h > create mode 100644 include/trace/events/ib_umad.h > create mode 100644 samples/bpf/ibumad_kern.c > create mode 100644 samples/bpf/ibumad_user.c > -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part