On 7/3/24 16:38, Josef Bacik wrote:
I've been timing various fuse operations and it's quite annoying to do with kprobes. Add two tracepoints for sending and ending fuse requests to make it easier to debug and time various operations.
Thanks, this is super helpful. [...]
+ EM( FUSE_STATX, "FUSE_STATX") \ + EMe(CUSE_INIT, "CUSE_INIT") + +/* + * This will turn the above table into TRACE_DEFINE_ENUM() for each of the + * entries. + */ +#undef EM +#undef EMe +#define EM(a, b) TRACE_DEFINE_ENUM(a); +#define EMe(a, b) TRACE_DEFINE_ENUM(a);
I'm not super familiar with tracepoints and I'm a bit list why "EMe" is needed
in addition to EM? CUSE_INIT is just another number? Thanks, Bernd