/developtools/profiler/device/plugins/ftrace_plugin/tools/ |
D | ftrace_proto_generator.py | 109 for category in self.grouped_event_formats: 110 proto_name = '{}.proto'.format(category) 113 self.generate_event_proto(category, proto_path) 118 for category in self.grouped_event_formats: 120 proto_name = '{}.proto'.format(category) 122 for i in range(len(self.grouped_event_formats[category])): 123 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)) 157 for event_format in self.grouped_event_formats[category]: [all …]
|
D | ftrace_cpp_generator.py | 99 def parser_file_path(self, category): argument 100 file_name = 'ftrace_{}_event_parser.cpp'.format(category) 107 type_name = '{}/{}'.format(event.category, event.name) 111 for category in self.grouped_event_formats: 112 parser_src_file = self.parser_file_path(category) 124 self.generate_parse_functions(category, f) 141 def generate_parse_functions(self, category, f): argument 143 for event in self.grouped_event_formats[category]: 184 def formatter_file_path(self, category): argument 185 file_name = 'ftrace_{}_event_formatter.cpp'.format(category) [all …]
|
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/ |
D | ftrace_cpp_generator.py | 113 def parser_file_path(self, category): argument 114 file_name = 'ftrace_{}_event_parser.cpp'.format(category) 121 type_name = '{}/{}'.format(event.category, event.name) 125 for category in self.grouped_event_formats: 126 parser_src_file = self.parser_file_path(category) 138 self.generate_parse_functions(category, f) 155 def generate_parse_functions(self, category, f): argument 157 for event in self.grouped_event_formats[category]: 206 def formatter_file_path(self, category): argument 207 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 … HILOG_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/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/host/smartperf/trace_streamer/src/filter/ |
D | slice_filter.h | 65 DataIndex category = INVALID_UINT64, 70 DataIndex category = INVALID_UINT64, 76 DataIndex category = INVALID_UINT64, 107 …int32_t MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, DataIndex name);
|
D | slice_filter.cpp | 235 int32_t SliceFilter::MatchingIncompleteSliceIndex(const SlicesStack& stack, DataIndex category, Dat… in MatchingIncompleteSliceIndex() argument 244 … if (category != INVALID_UINT64 && (categoryLast != INVALID_UINT64 && category != categoryLast)) { in MatchingIncompleteSliceIndex() 307 size_t SliceFilter::CompleteSlice(uint64_t timestamp, uint32_t pid, DataIndex category, DataIndex n… in CompleteSlice() argument 321 auto stackIdx = MatchingIncompleteSliceIndex(stack, category, name); in CompleteSlice() 360 size_t SliceFilter::EndBinder(uint64_t timestamp, uint32_t pid, DataIndex category, DataIndex name,… in EndBinder() argument 362 return CompleteSlice(timestamp, pid, category, name, args); in EndBinder() 441 uint64_t timestamp, uint32_t pid, uint32_t threadGroupId, DataIndex category, DataIndex name) in EndSlice() argument 443 return CompleteSlice(timestamp, pid, category, name); in EndSlice()
|
/developtools/profiler/host/smartperf/trace_streamer/src/protos/types/plugins/ftrace_data/ |
D | printk.proto | 20 // category: printk
|
D | rcu.proto | 20 // category: rcu
|
D | oom.proto | 20 // category: oom
|
D | raw_syscalls.proto | 20 // category: raw_syscalls
|
D | pagemap.proto | 20 // category: pagemap
|
D | task.proto | 20 // category: task
|
D | filemap.proto | 20 // category: filemap
|
D | gpio.proto | 20 // category: gpio
|
/developtools/profiler/protos/types/plugins/ftrace_data/default/ |
D | printk.proto | 20 // category: printk
|
D | rcu.proto | 20 // category: rcu
|
D | oom.proto | 20 // category: oom
|
D | gpu_mem.proto | 20 // category: gpu_mem
|
D | task.proto | 20 // category: task
|
D | pagemap.proto | 20 // category: pagemap
|
D | raw_syscalls.proto | 20 // category: raw_syscalls
|
D | gpio.proto | 20 // category: gpio
|
D | ipi.proto | 20 // category: ipi
|