Re: [PATCH] mctp i2c: Add rx trace

2024-05-29 Thread Tal Yacobi
Hi Jeremy, Thanks for the reply. > > mctp-i2c rx implementation doesn't call > > __i2c_transfer which calls the i2c reply trace function. > > No, but we can trace the i2c rx path through the trace_i2c_slave > tracepoint. It is a little messier than tracing trace_i2c_write, but > has been sufficie

[PATCH] mctp i2c: Add rx trace

2024-05-28 Thread Tal Yacobi
mctp-i2c rx implementation doesn't call __i2c_transfer which calls the i2c reply trace function. Add an mctp_reply trace function that will be used instead. Signed-off-by: Tal Yacobi --- drivers/net/mctp/mctp-i2c.c | 3 +++ include/trace/events/mctp.h | 16 2 files ch