929e466c91
Don't bother collecting them into a vector, like in core. Instead, just call a static member function ProfileZone::addOneRecording() for each Event Trace object (string) to be emitted. That function then needs to be implemented separately in each executable. In WSD it logs the object to the Event Trace file. In Kit it sends it to WSD for logging. In Unit tests we use a dummy implementation. (If Event Trace logging is not enabled at all in loolwsd.xml (the default), nothing is done, of course.) When receiving the "traceeventrecording start" or "traceeventrecording stop" message from the client, turn ProfileZone recoring on or off in the WSD and Kit process. (Probably in WSD the flag should be per-client.) Change-Id: Ie1127d65dd44ed77e7eeab4b0f0a90cce95dc4a2 Signed-off-by: Tor Lillqvist <tml@collabora.com> |
||
---|---|---|
.. | ||
ChildSession.cpp | ||
ChildSession.hpp | ||
Delta.hpp | ||
DummyLibreOfficeKit.cpp | ||
DummyLibreOfficeKit.hpp | ||
ForKit.cpp | ||
Kit.cpp | ||
Kit.hpp | ||
KitHelper.hpp | ||
SetupKitEnvironment.hpp | ||
TestStubs.cpp | ||
Watermark.hpp |