0299746c72
Enabling osprofiler tracing on class OVSNeutronAgent decorates all of its methods. Doing this as label "rpc" for locally called methods is quite misleading. More importantly later we want to enable tracing triggered by a vif plug. For that profiler.init() must be called sometime in OVSNeutronAgent.process_ports_events(). If process_ports_events() is decorated for tracing and we call profiler.init() inside then we'll have the end of the method call traced, but not its beginning. The unmatching end-trace-event makes osprofiler raise. Change-Id: I06b8643c75a30b5a5f6f78d75af9937180da645b Partial-Bug: #1833674 |
||
---|---|---|
.. | ||
agent | ||
mech_driver | ||
__init__.py |