Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Drecord_test.cpp29 event_attr = CreateDefaultPerfEventAttr(*type); in SetUp()
30 event_attr.sample_id_all = 1; in SetUp()
35 ReadRecordsFromBuffer(event_attr, record.BinaryForTestingOnly(), record.size()); in CheckRecordMatchBinary()
40 perf_event_attr event_attr; member in RecordTest
44 MmapRecord record(event_attr, true, 1, 2, 0x1000, 0x2000, 0x3000, in TEST_F()
50 CommRecord record(event_attr, 1, 2, "CommRecord", 0, 7); in TEST_F()
55 event_attr.sample_type = PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_TIME 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 …]
Devent_selection_set.cpp157 selection->event_attr = CreateDefaultPerfEventAttr(event_type->event_type); in BuildAndCheckEventSelection()
158 selection->event_attr.exclude_user = event_type->exclude_user; in BuildAndCheckEventSelection()
159 selection->event_attr.exclude_kernel = event_type->exclude_kernel; in BuildAndCheckEventSelection()
160 selection->event_attr.exclude_hv = event_type->exclude_hv; in BuildAndCheckEventSelection()
161 selection->event_attr.exclude_host = event_type->exclude_host; in BuildAndCheckEventSelection()
162 selection->event_attr.exclude_guest = event_type->exclude_guest; in BuildAndCheckEventSelection()
163 selection->event_attr.precise_ip = event_type->precise_ip; in BuildAndCheckEventSelection()
169 ETMRecorder::GetInstance().SetEtmPerfEventAttr(&selection->event_attr); in BuildAndCheckEventSelection()
174 selection->event_attr.freq = 0; in BuildAndCheckEventSelection()
175 selection->event_attr.sample_period = DEFAULT_SAMPLE_PERIOD_FOR_TRACEPOINT_EVENT; in BuildAndCheckEventSelection()
[all …]
Devent_selection_set.h164 perf_event_attr event_attr; member
DAndroid.bp271 "event_attr.cpp",