plugin: Add tracing support for send_outreq
The `send_outreq` function is a good place to suspend and resume traces, since these are usually the places where we hand off control back to the `io_loop`. This assumes that we do not continue doing heavy liftin after we have queued an `outreq` call, but that is most likely the case anyway. This frees us from having to track suspensions whenever we call the RPC from a plugin.
This commit is contained in:
committed by
Vincenzo Palazzo
parent
d57accfca7
commit
f36be4b006
@@ -23,8 +23,8 @@ PLUGIN_COMMANDO_OBJS := $(PLUGIN_COMMANDO_SRC:.c=.o)
|
||||
PLUGIN_KEYSEND_SRC := plugins/keysend.c
|
||||
PLUGIN_KEYSEND_OBJS := $(PLUGIN_KEYSEND_SRC:.c=.o)
|
||||
|
||||
PLUGIN_LIB_SRC := plugins/libplugin.c
|
||||
PLUGIN_LIB_HEADER := plugins/libplugin.h
|
||||
PLUGIN_LIB_SRC := plugins/libplugin.c common/trace.c
|
||||
PLUGIN_LIB_HEADER := plugins/libplugin.h common/trace.h
|
||||
PLUGIN_LIB_OBJS := $(PLUGIN_LIB_SRC:.c=.o)
|
||||
|
||||
PLUGIN_PAY_LIB_SRC := \
|
||||
|
||||
Reference in New Issue
Block a user