Lines Matching refs:request
32 #define CHECK_REQUEST_RESPONSE(context, request, response) \ argument
35 CHECK_POINTER_NOTNULL(request, "request ptr invalid!"); \
80 const ::GetCapabilitiesRequest* request, in GetCapabilities()
83 CHECK_REQUEST_RESPONSE(context, request, response); in GetCapabilities()
86 PROFILER_LOG_INFO(LOG_CORE, "GetCapabilities %d start", request->request_id()); in GetCapabilities()
93 PROFILER_LOG_INFO(LOG_CORE, "GetCapabilities %d done!", request->request_id()); in GetCapabilities()
237 const ::CreateSessionRequest* request, in CreateSession()
240 CHECK_REQUEST_RESPONSE(context, request, response); in CreateSession()
243 PROFILER_LOG_INFO(LOG_CORE, "CreateSession %d start", request->request_id()); in CreateSession()
244 const int nConfigs = request->plugin_configs_size(); in CreateSession()
249 std::make_shared<ProfilerSessionConfig>(request->session_config()); in CreateSession()
257 pluginConfigs.push_back(request->plugin_configs(i)); in CreateSession()
294 pluginData.set_sample_interval(request->plugin_configs(i).sample_interval()); in CreateSession()
348 PROFILER_LOG_INFO(LOG_CORE, "CreateSession %d %u done!", request->request_id(), sessionId); in CreateSession()
464 const ::StartSessionRequest* request, in StartSession()
467 CHECK_REQUEST_RESPONSE(context, request, response); in StartSession()
469 uint32_t sessionId = request->session_id(); in StartSession()
470 PROFILER_LOG_INFO(LOG_CORE, "StartSession %d %u start", request->request_id(), sessionId); in StartSession()
474 newPluginConfigs.reserve(request->update_configs_size()); in StartSession()
475 for (int i = 0; i < request->update_configs_size(); i++) { in StartSession()
476 …PROFILER_LOG_INFO(LOG_CORE, "update_configs %d, name = %s", i, request->update_configs(i).name().c… in StartSession()
477 newPluginConfigs.push_back(request->update_configs(i)); in StartSession()
511 PROFILER_LOG_INFO(LOG_CORE, "StartSession %d %u done!", request->request_id(), sessionId); in StartSession()
516 const ::FetchDataRequest* request, in FetchData()
520 CHECK_POINTER_NOTNULL(request, "request ptr invalid!"); in FetchData()
523 CHECK_POINTER_NOTNULL(request, "request invalid!"); in FetchData()
526 uint32_t sessionId = request->session_id(); in FetchData()
527 PROFILER_LOG_INFO(LOG_CORE, "FetchData %d %u start", request->request_id(), sessionId); in FetchData()
571 PROFILER_LOG_INFO(LOG_CORE, "FetchData %d %u done!", request->request_id(), sessionId); in FetchData()
576 const ::StopSessionRequest* request, in StopSession()
579 CHECK_REQUEST_RESPONSE(context, request, response); in StopSession()
580 uint32_t sessionId = request->session_id(); in StopSession()
581 PROFILER_LOG_INFO(LOG_CORE, "StopSession %d %u start", request->request_id(), sessionId); in StopSession()
590 PROFILER_LOG_INFO(LOG_CORE, "StopSession %d %u done!", request->request_id(), sessionId); in StopSession()
595 const ::DestroySessionRequest* request, in DestroySession()
598 CHECK_REQUEST_RESPONSE(context, request, response); in DestroySession()
600 uint32_t sessionId = request->session_id(); in DestroySession()
601 PROFILER_LOG_INFO(LOG_CORE, "DestroySession %d %u start", request->request_id(), sessionId); in DestroySession()
609 PROFILER_LOG_INFO(LOG_CORE, "DestroySession %d %u done!", request->request_id(), sessionId); in DestroySession()
630 const ::KeepSessionRequest* request, in KeepSession()
633 CHECK_REQUEST_RESPONSE(context, request, response); in KeepSession()
634 uint32_t sessionId = request->session_id(); in KeepSession()
635 PROFILER_LOG_INFO(LOG_CORE, "KeepSession %d %u start", request->request_id(), sessionId); in KeepSession()
641 auto keepAliveTime = request->keep_alive_time(); in KeepSession()
652 PROFILER_LOG_INFO(LOG_CORE, "KeepSession %d %u done!", request->request_id(), sessionId); in KeepSession()