box: add OS stubs for flight recorder requests
This patch introduces two stubs: one to log incoming requests and another one to log outgoing responses. Log itself takes place in TX thread, in function family `tx_process_*`. At the start of TX processing we are able to use raw msgpack from input buffer to log it as it was received. In the same way we can log raw msgpack for responses (before sending message to IProto thread). NO_DOC=<No user visible changes> NO_TEST=<No functional changes> NO_CHANGELOG=<No functional changes>
Showing
- src/box/box.cc 4 additions, 1 deletionsrc/box/box.cc
- src/box/flightrec.h 31 additions, 2 deletionssrc/box/flightrec.h
- src/box/iproto.cc 5 additions, 1 deletionsrc/box/iproto.cc
- src/box/lua/load_cfg.lua 6 additions, 0 deletionssrc/box/lua/load_cfg.lua
- src/main.cc 4 additions, 1 deletionsrc/main.cc
- test/app-tap/init_script.result 3 additions, 0 deletionstest/app-tap/init_script.result
- test/box/admin.result 6 additions, 0 deletionstest/box/admin.result
- test/box/cfg.result 12 additions, 0 deletionstest/box/cfg.result
Loading