Searched refs:event_attr (Results 1 – 4 of 4) sorted by relevance
/system/extras/simpleperf/ |
D | record_test.cpp | 31 event_attr = CreateDefaultPerfEventAttr(*type); in SetUp() 32 event_attr.sample_id_all = 1; in SetUp() 37 ReadRecordsFromBuffer(event_attr, record.BinaryForTestingOnly(), record.size()); in CheckRecordMatchBinary() 42 perf_event_attr event_attr; member in RecordTest 46 MmapRecord record(event_attr, true, 1, 2, 0x1000, 0x2000, 0x3000, "MmapRecord", 0); in TEST_F() 51 CommRecord record(event_attr, 1, 2, "CommRecord", 0, 7); in TEST_F() 56 event_attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME | PERF_SAMPLE_ID | in TEST_F() 58 SampleRecord record(event_attr, 1, 2, 3, 4, 5, 6, 7, {8, 9, 10}, {}, 0); in TEST_F() 63 SampleRecord r(event_attr, 0, 1, 0, 0, 0, 0, 0, {}, {}, 0); in TEST_F() 66 event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in TEST_F() [all …]
|
D | event_selection_set.cpp | 186 selection->event_attr = CreateDefaultPerfEventAttr(event_type->event_type); in BuildAndCheckEventSelection() 187 selection->event_attr.exclude_user = event_type->exclude_user; in BuildAndCheckEventSelection() 188 selection->event_attr.exclude_kernel = event_type->exclude_kernel; in BuildAndCheckEventSelection() 189 selection->event_attr.exclude_hv = event_type->exclude_hv; in BuildAndCheckEventSelection() 190 selection->event_attr.exclude_host = event_type->exclude_host; in BuildAndCheckEventSelection() 191 selection->event_attr.exclude_guest = event_type->exclude_guest; in BuildAndCheckEventSelection() 192 selection->event_attr.precise_ip = event_type->precise_ip; in BuildAndCheckEventSelection() 198 ETMRecorder::GetInstance().SetEtmPerfEventAttr(&selection->event_attr); in BuildAndCheckEventSelection() 203 selection->event_attr.freq = 0; in BuildAndCheckEventSelection() 204 selection->event_attr.sample_period = DEFAULT_SAMPLE_PERIOD_FOR_TRACEPOINT_EVENT; in BuildAndCheckEventSelection() [all …]
|
D | event_selection_set.h | 181 perf_event_attr event_attr; member
|
D | Android.bp | 220 "event_attr.cpp",
|