Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Devent_selection_set.cpp56 selection.event_attr = CreateDefaultPerfEventAttr(event_type_modifier.event_type); in AddEventType()
57 selection.event_attr.exclude_user = event_type_modifier.exclude_user; in AddEventType()
58 selection.event_attr.exclude_kernel = event_type_modifier.exclude_kernel; in AddEventType()
59 selection.event_attr.exclude_hv = event_type_modifier.exclude_hv; in AddEventType()
60 selection.event_attr.exclude_host = event_type_modifier.exclude_host; in AddEventType()
61 selection.event_attr.exclude_guest = event_type_modifier.exclude_guest; in AddEventType()
62 selection.event_attr.precise_ip = event_type_modifier.precise_ip; in AddEventType()
63 if (!IsEventAttrSupportedByKernel(selection.event_attr)) { in AddEventType()
77 sample_type |= selection.event_attr.sample_type; in UnionSampleType()
80 selection.event_attr.sample_type = sample_type; in UnionSampleType()
[all …]
Drecord_test.cpp29 event_attr = CreateDefaultPerfEventAttr(*type); in SetUp()
35 perf_event_attr event_attr; member in RecordTest
42 ReadRecordsFromBuffer(event_attr, binary.data(), binary.size()); in CheckRecordMatchBinary()
49 CreateMmapRecord(event_attr, true, 1, 2, 0x1000, 0x2000, 0x3000, "MmapRecord"); in TEST_F()
54 CommRecord record = CreateCommRecord(event_attr, 1, 2, "CommRecord"); in TEST_F()
59 event_attr.sample_id_all = 1; in TEST_F()
60 event_attr.sample_type |= PERF_SAMPLE_TIME; in TEST_F()
61 RecordCache cache(event_attr, 2, 2); in TEST_F()
62 MmapRecord r1 = CreateMmapRecord(event_attr, true, 1, 1, 0x100, 0x200, 0x300, "mmap_record1"); in TEST_F()
105 event_attr.sample_id_all = 1; in TEST_F()
[all …]
Devent_selection_set.h89 perf_event_attr event_attr; member
DAndroid.mk78 event_attr.cpp \