Hmm. You could replace do a s/method/_method/ kind of thing on the read methods and have method in ObjectStore ping the trace point and then call _method. The writes are slightly trickier/simpler. I suggest you add ObjectStore level _start_transaction(uint64_t seq, Transaction*) and _end_transaction(uint64_t seq, Transaction*) methods to allow the implementation to tag the beginning and end of a transaction. You can then iterate through the transaction and emit appropriate events perhaps? -Sam On Mon, Jun 30, 2014 at 11:22 AM, Noah Watkins <noah.watkins@xxxxxxxxxxx> wrote: > Hey Sam, > > I'm starting to add tracepoints to the ObjectStore. Any suggestions on > C++ magic that can be used to create an interposition layer so we > don't have to add tracepoints to each ObjectStore implementation? -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html