/system/extras/simpleperf/ |
event_selection_set.h | 89 perf_event_attr event_attr; member in struct:EventSelectionSet::EventSelection
|
record_test.cpp | 19 #include "event_attr.h" 29 event_attr = CreateDefaultPerfEventAttr(*type); 35 perf_event_attr event_attr; member in class:RecordTest 42 ReadRecordsFromBuffer(event_attr, binary.data(), binary.size()); 49 CreateMmapRecord(event_attr, true, 1, 2, 0x1000, 0x2000, 0x3000, "MmapRecord"); 54 CommRecord record = CreateCommRecord(event_attr, 1, 2, "CommRecord"); 59 event_attr.sample_id_all = 1; 60 event_attr.sample_type |= PERF_SAMPLE_TIME; 61 RecordCache cache(event_attr, 2, 2); 62 MmapRecord r1 = CreateMmapRecord(event_attr, true, 1, 1, 0x100, 0x200, 0x300, "mmap_record1") [all...] |