Searched refs:tp_struct (Results 1 – 2 of 2) sorted by relevance
145 string tp_struct = "struct tracepoint__" + category + "__" + event + " {\n"; in GenerateTracepointStruct() local146 tp_struct += "\tu64 __do_not_use__;\n"; in GenerateTracepointStruct()154 tp_struct += "\tint data_loc_" + field_name + ";\n"; in GenerateTracepointStruct()157 tp_struct += "\t" + field_type + " " + field_name + ";\n"; in GenerateTracepointStruct()162 tp_struct += "};\n"; in GenerateTracepointStruct()163 return tp_struct; in GenerateTracepointStruct()214 string tp_struct = GenerateTracepointStruct( in VisitFunctionDecl() local221 rewriter_.InsertText(insert_loc, tp_struct); in VisitFunctionDecl()
825 def _field_type(self, tp_struct, field_name, tp_field): argument829 ptr_struct_name = tp_struct.get_c_name('*')832 tp_item = self._field_type(tp_struct, '%s[0]' % field_name,