/developtools/profiler/device/plugins/ftrace_plugin/tools/ |
D | ftrace_proto_generator.py | 108 for category in self.grouped_event_formats: 109 proto_name = "{}.proto".format(category) 112 self.generate_event_proto(category, proto_path) 117 for category in self.grouped_event_formats: 119 proto_name = "{}.proto".format(category) 121 for i in range(len(self.grouped_event_formats[category])): 122 event_format = self.grouped_event_formats[category][i] 152 def generate_event_proto(self, category, proto_path): argument 155 f.write("// category: {}\n".format(category)) 158 if category in self.grouped_event_formats: [all …]
|
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/ |
D | ftrace_cpp_generator.py | 109 def parser_file_path(self, category): argument 110 file_name = "ftrace_{}_event_parser.cpp".format(category) 117 type_name = "{}/{}".format(event.category, event.name) 121 for category in self.grouped_event_formats: 122 parser_src_file = self.parser_file_path(category) 135 self.generate_parse_functions(category, f) 152 def generate_parse_functions(self, category, f): argument 154 for event in self.grouped_event_formats[category]: 223 def formatter_file_path(self, category): argument 224 file_name = "ftrace_{}_event_formatter.cpp".format(category) [all …]
|
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
D | trace_ops.cpp | 86 auto category = line.substr(0, pos - 1); in ListCategories() local 87 result.push_back(category); in ListCategories() 115 for (auto& category : categories) { in EnableCategories() local 116 if (HasCategory(category)) { in EnableCategories() 117 targetCategories_.push_back(category); in EnableCategories() 119 … PROFILER_LOG_ERROR(LOG_CORE, "\"%s\" is not support category on this device", category.c_str()); in EnableCategories()
|
D | hitrace_ops.cpp | 42 for (auto& category : targetCategories_) { in PrepareEnableCategoriesCmd() local 43 args_.push_back(category); in PrepareEnableCategoriesCmd()
|
/developtools/ace_ets2bundle/compiler/src/ |
D | do_arkTS_linter.ts | 108 const originalCategory = diagnostic.category; 109 diagnostic.category = ts.DiagnosticCategory.Warning; 111 diagnostic.category = originalCategory; 122 category: ts.DiagnosticCategory.Warning, constant 147 categoryInfo: diagnostic.category === ts.DiagnosticCategory.Error ? 'Error' : 'Warning', 189 category: ts.DiagnosticCategory.Warning, constant
|
/developtools/profiler/device/plugins/bytrace_plugin/src/ |
D | bytrace_module.cpp | 60 for (std::string category : config.categories()) { in ParseConfig() local 61 g_bytraceInfo->categoryVec.push_back(category); in ParseConfig() 106 for (const std::string& category : g_bytraceInfo->categoryVec) { in BeginTrace() local 107 beginCmd += category; in BeginTrace()
|
/developtools/profiler/device/plugins/memory_plugin/src/ |
D | smaps_stats.cpp | 36 std::string category; in ParseCategory() local 37 if (GetCategoryFromMap(smapsHeadInfo.path, category, endMap_, &MatchTail) || in ParseCategory() 38 GetCategoryFromMap(smapsHeadInfo.path, category, beginMap_, &MatchHead)) { in ParseCategory() 39 return category; in ParseCategory() 41 category = smapsHeadInfo.iNode > 0 ? FILE_PAGE_TAG : ANON_PAGE_TAG; in ParseCategory() 42 return category; in ParseCategory() 45 bool SmapsStats::GetCategoryFromMap(const std::string &name, std::string &category, in GetCategoryFromMap() argument 50 category = p.second; in GetCategoryFromMap()
|
/developtools/smartperf_host/trace_streamer/src/filter/ |
D | slice_filter.h | 64 DataIndex category = INVALID_UINT64, 69 DataIndex category = INVALID_UINT64, 75 DataIndex category = INVALID_UINT64, 117 …int32_t MatchingIncompleteSliceIndex(const SlicesStack &stack, DataIndex category, DataIndex name);
|
D | slice_filter.cpp | 275 int32_t SliceFilter::MatchingIncompleteSliceIndex(const SlicesStack &stack, DataIndex category, Dat… in MatchingIncompleteSliceIndex() argument 284 … if (category != INVALID_UINT64 && (categoryLast != INVALID_UINT64 && category != categoryLast)) { in MatchingIncompleteSliceIndex() 351 DataIndex category, in CompleteSlice() argument 363 auto stackIdx = MatchingIncompleteSliceIndex(stack, category, name); in CompleteSlice() 403 size_t SliceFilter::EndBinder(uint64_t timeStamp, uint32_t pid, DataIndex category, DataIndex name,… in EndBinder() argument 406 return CompleteSlice(timeStamp, internalTid, category, name, args); in EndBinder() 489 DataIndex category, in EndSlice() argument 498 return CompleteSlice(timeStamp, internalTid, category, name); in EndSlice()
|
/developtools/profiler/protos/types/plugins/ftrace_data/default/ |
D | printk.proto | 20 // category: printk
|
D | gpu_mem.proto | 20 // category: gpu_mem
|
D | rcu.proto | 20 // category: rcu
|
D | oom.proto | 20 // category: oom
|
D | pagemap.proto | 20 // category: pagemap
|
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/ |
D | rcu.proto | 20 // category: rcu
|
D | printk.proto | 20 // category: printk
|
D | oom.proto | 20 // category: oom
|
D | raw_syscalls.proto | 20 // category: raw_syscalls
|
D | gpio.proto | 20 // category: gpio
|
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/ |
D | gpu_mem.proto | 20 // category: gpu_mem
|
D | oom.proto | 20 // category: oom
|
D | rcu.proto | 20 // category: rcu
|
D | printk.proto | 20 // category: printk
|
D | raw_syscalls.proto | 20 // category: raw_syscalls
|
D | pagemap.proto | 20 // category: pagemap
|