Lines Matching defs:traceParams
310 void SetAllTags(const TraceParams &traceParams, const std::map<std::string, TagCategory> &allTags,
314 for (std::string tagName : traceParams.tags) {
319 if (traceParams.tagGroups.size() > 0) {
330 for (std::string groupName : traceParams.tagGroups) {
430 bool SetTraceSetting(const TraceParams &traceParams, const std::map<std::string, TagCategory> &allTags,
437 SetAllTags(traceParams, allTags, tagGroupTable);
440 WriteStrToFile("buffer_size_kb", traceParams.bufferSize);
442 SetClock(traceParams.clockType);
444 if (traceParams.isOverWrite == "1") {
1224 TraceErrorCode HandleTraceOpen(const TraceParams &traceParams,
1228 if (!SetTraceSetting(traceParams, allTags, tagGroupTable)) {
1232 g_currentTraceParams = traceParams;
1269 void SetCmdTraceIntParams(const std::string &traceParamsStr, int &traceParams)
1272 HILOG_WARN(LOG_CORE, "Illegal input, traceParams initialized to null.");
1273 traceParams = 0;
1276 traceParams = std::stoi(traceParamsStr);
1277 if (traceParams <= 0) {
1278 HILOG_WARN(LOG_CORE, "Illegal input, traceParams initialized to null.");
1279 traceParams = 0;