Home
last modified time | relevance | path

Searched refs:category (Results 1 – 25 of 188) sorted by relevance

12345678

/developtools/profiler/device/plugins/ftrace_plugin/tools/
Dftrace_proto_generator.py108 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/
Dftrace_cpp_generator.py109 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)
134 self.generate_parse_functions(category, f)
151 def generate_parse_functions(self, category, f): argument
153 for event in self.grouped_event_formats[category]:
209 def formatter_file_path(self, category): argument
210 file_name = "ftrace_{}_event_formatter.cpp".format(category)
[all …]
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dtrace_ops.cpp86 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 … HILOG_ERROR(LOG_CORE, "\"%s\" is not support category on this device", category.c_str()); in EnableCategories()
Dhitrace_ops.cpp42 for (auto& category : targetCategories_) { in PrepareEnableCategoriesCmd() local
43 args_.push_back(category); in PrepareEnableCategoriesCmd()
/developtools/ace_ets2bundle/compiler/src/
Ddo_arkTS_linter.ts85 const originalCategory = diagnostic.category;
86 diagnostic.category = ts.DiagnosticCategory.Warning;
88 diagnostic.category = originalCategory;
98 category: ts.DiagnosticCategory.Warning, constant
121 categoryInfo: diagnostic.category === ts.DiagnosticCategory.Error ? 'Error' : 'Warning',
/developtools/profiler/device/plugins/bytrace_plugin/src/
Dbytrace_module.cpp60 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/smartperf_host/trace_streamer/src/filter/
Dslice_filter.h65 DataIndex category = INVALID_UINT64,
71 DataIndex category = INVALID_UINT64,
77 DataIndex category = INVALID_UINT64,
112 …int32_t MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, DataIndex name);
Dslice_filter.cpp273 int32_t SliceFilter::MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, Dat… in MatchingIncompleteSliceIndex() argument
282 … if (category != INVALID_UINT64 && (categoryLast != INVALID_UINT64 && category != categoryLast)) { in MatchingIncompleteSliceIndex()
351 DataIndex category, in CompleteSlice() argument
372 auto stackIdx = MatchingIncompleteSliceIndex(stack, category, name); in CompleteSlice()
411 size_t SliceFilter::EndBinder(uint64_t timeStamp, uint32_t pid, DataIndex category, DataIndex name,… in EndBinder() argument
413 return CompleteSlice(timeStamp, pid, 0, category, name, args); in EndBinder()
494 …Slice(uint64_t timeStamp, uint32_t pid, uint32_t threadGroupId, DataIndex category, DataIndex name) in EndSlice() argument
496 return CompleteSlice(timeStamp, pid, threadGroupId, category, name); in EndSlice()
/developtools/profiler/host/smartperf/trace_streamer/src/filter/
Dslice_filter.h65 DataIndex category = INVALID_UINT64,
71 DataIndex category = INVALID_UINT64,
77 DataIndex category = INVALID_UINT64,
112 …int32_t MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, DataIndex name);
Dslice_filter.cpp273 int32_t SliceFilter::MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, Dat… in MatchingIncompleteSliceIndex() argument
282 … if (category != INVALID_UINT64 && (categoryLast != INVALID_UINT64 && category != categoryLast)) { in MatchingIncompleteSliceIndex()
351 DataIndex category, in CompleteSlice() argument
372 auto stackIdx = MatchingIncompleteSliceIndex(stack, category, name); in CompleteSlice()
411 size_t SliceFilter::EndBinder(uint64_t timeStamp, uint32_t pid, DataIndex category, DataIndex name,… in EndBinder() argument
413 return CompleteSlice(timeStamp, pid, 0, category, name, args); in EndBinder()
494 …Slice(uint64_t timeStamp, uint32_t pid, uint32_t threadGroupId, DataIndex category, DataIndex name) in EndSlice() argument
496 return CompleteSlice(timeStamp, pid, threadGroupId, category, name); in EndSlice()
/developtools/profiler/device/plugins/memory_plugin/src/
Dsmaps_stats.cpp39 std::string category; in ParseCategory() local
40 if (GetCategoryFromMap(smapsHeadInfo.path, category, endMap_, &MatchTail) || in ParseCategory()
41 GetCategoryFromMap(smapsHeadInfo.path, category, beginMap_, &MatchHead)) { in ParseCategory()
42 return category; in ParseCategory()
44 category = smapsHeadInfo.iNode > 0 ? FILE_PAGE_TAG : ANON_PAGE_TAG; in ParseCategory()
45 return category; in ParseCategory()
48 bool SmapsStats::GetCategoryFromMap(const std::string &name, std::string &category, in GetCategoryFromMap() argument
53 category = p.second; in GetCategoryFromMap()
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/
Drcu.proto20 // category: rcu
Dprintk.proto20 // category: printk
Doom.proto20 // category: oom
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Drcu.proto20 // category: rcu
Dprintk.proto20 // category: printk
Dgpu_mem.proto20 // category: gpu_mem
Doom.proto20 // category: oom
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dprintk.proto20 // category: printk
Drcu.proto20 // category: rcu
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Drcu.proto20 // category: rcu
Dprintk.proto20 // category: printk
Dgpu_mem.proto20 // category: gpu_mem
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/
Drcu.proto20 // category: rcu
Dprintk.proto20 // category: printk

12345678