record_test.cpp | 19 #include "event_attr.h" 29 event_attr = CreateDefaultPerfEventAttr(*type); 30 event_attr.sample_id_all = 1; 36 ReadRecordsFromBuffer(event_attr, p, record.size()); 41 perf_event_attr event_attr; member in class:RecordTest 45 MmapRecord record(event_attr, true, 1, 2, 0x1000, 0x2000, 0x3000, 51 CommRecord record(event_attr, 1, 2, "CommRecord", 0, 7); 56 event_attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME 59 SampleRecord record(event_attr, 1, 2, 3, 4, 5, 6, 7, {8, 9, 10}); 64 event_attr.sample_id_all = 1 [all...] |