Home
last modified time | relevance | path

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

1234

/developtools/profiler/device/plugins/ftrace_plugin/tools/
Dftrace_proto_generator.py109 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 …]
Dftrace_cpp_generator.py99 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/
Dftrace_cpp_generator.py113 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/
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/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/profiler/host/smartperf/trace_streamer/src/filter/
Dslice_filter.h65 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);
Dslice_filter.cpp235 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/
Dprintk.proto20 // category: printk
Drcu.proto20 // category: rcu
Doom.proto20 // category: oom
Draw_syscalls.proto20 // category: raw_syscalls
Dpagemap.proto20 // category: pagemap
Dtask.proto20 // category: task
Dfilemap.proto20 // category: filemap
Dgpio.proto20 // category: gpio
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dprintk.proto20 // category: printk
Drcu.proto20 // category: rcu
Doom.proto20 // category: oom
Dgpu_mem.proto20 // category: gpu_mem
Dtask.proto20 // category: task
Dpagemap.proto20 // category: pagemap
Draw_syscalls.proto20 // category: raw_syscalls
Dgpio.proto20 // category: gpio
Dipi.proto20 // category: ipi

1234