Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dtracing_test.cpp62 std::ostream& operator<<(std::ostream& os, const TracingField& field) { in operator <<()
86 ASSERT_EQ(format.fields[0], TracingField({.name = "common_type", .offset = 0, .elem_size = 2})); in TEST()
87 ASSERT_EQ(format.fields[1], TracingField({.name = "common_flags", .offset = 2, .elem_size = 1})); in TEST()
89 TracingField({.name = "common_preempt_count", .offset = 3, .elem_size = 1})); in TEST()
91 TracingField({.name = "common_pid", .offset = 4, .elem_size = 4, .is_signed = true})); in TEST()
94 TracingField( in TEST()
96 ASSERT_EQ(format.fields[5], TracingField({.name = "name", in TEST()
Dtracing.h31 struct TracingField { struct
39 bool operator==(const TracingField& other) const { argument
71 std::vector<TracingField> fields;
74 const TracingField& field = GetField(name); in GetField()
80 const TracingField& field = GetField(name); in GetField()
86 const TracingField& GetField(const std::string& name) { in GetField()
Dcmd_dumprecord.cpp50 using ExtractFieldFn = std::function<std::string(const TracingField&, const PerfSampleRawType&)>;
54 std::vector<TracingField> tp_fields;
58 std::string ExtractStringField(const TracingField& field, const PerfSampleRawType& data) { in ExtractStringField()
70 std::string ExtractDynamicStringField(const TracingField& field, const PerfSampleRawType& data) { in ExtractDynamicStringField()
91 std::string ExtractIntFieldFromPointer(const TracingField& field, const char* p) { in ExtractIntFieldFromPointer()
103 std::string ExtractIntField(const TracingField& field, const PerfSampleRawType& data) { in ExtractIntField()
111 std::string ExtractIntArrayField(const TracingField& field, const PerfSampleRawType& data) { in ExtractIntArrayField()
127 std::string ExtractUnknownField(const TracingField& field, const PerfSampleRawType& data) { in ExtractUnknownField()
145 ExtractFieldFn GetExtractFieldFunction(const TracingField& field) { in GetExtractFieldFunction()
Dtracing.cpp285 static TracingField ParseTracingField(const std::string& s) { in ParseTracingField()
286 TracingField field; in ParseTracingField()
357 TracingField field = ParseTracingField(s); in ParseTracingFormat()