Re: [PATCH] i2c: Add message transfer tracepoints for I2C and SMBUS

From: David Howells
Date: Fri Dec 13 2013 - 19:17:16 EST


Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Now that you have two tracepoints that are identical, you can use
> DECLARE_EVENT_CLASS() and DEFINE_EVENT_FN(). That is:

They're not identical. i2c_write() has a data buffer that i2c_read() does
not.

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/