Home
last modified time | relevance | path

Searched refs:tp_struct (Results 1 – 1 of 1) sorted by relevance

/external/bcc/src/cc/frontends/clang/
Dtp_frontend_action.cc145 string tp_struct = "struct tracepoint__" + category + "__" + event + " {\n"; in GenerateTracepointStruct() local
146 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() local
221 rewriter_.InsertText(insert_loc, tp_struct); in VisitFunctionDecl()