Home
last modified time | relevance | path

Searched refs:ebpfHeader (Results 1 – 3 of 3) sorted by relevance

/developtools/smartperf_host/trace_streamer/test/unittest/ebpf/
Debpf_parser_test.cpp55 EbpfDataHeader ebpfHeader; variable
56 ebpfHeader.header.magic = EPBF_ERROR_MAGIC;
58 dequeBuffer.insert(dequeBuffer.end(), reinterpret_cast<uint8_t *>(&ebpfHeader),
59 reinterpret_cast<uint8_t *>(&ebpfHeader + 1));
73 EbpfDataHeader ebpfHeader; variable
74 ebpfHeader.header.headSize = EPBF_ERROR_HEAD_SIZE;
76 dequeBuffer.insert(dequeBuffer.end(), reinterpret_cast<uint8_t *>(&ebpfHeader),
77 reinterpret_cast<uint8_t *>(&ebpfHeader + 1));
91 EbpfDataHeader ebpfHeader; variable
92 ebpfHeader.header.clock = EBPF_CLOCK_BOOTTIME;
[all …]
Dpaged_memory_parser_test.cpp46 EbpfDataHeader ebpfHeader; in SetUp() local
47 ebpfHeader.header.clock = EBPF_CLOCK_BOOTTIME; in SetUp()
48 ebpfHeader.header.cmdLineLen = COMMAND_LINE.length(); in SetUp()
49 memcpy_s(ebpfHeader.cmdline, EbpfDataHeader::EBPF_COMMAND_MAX_SIZE, COMMAND_LINE.c_str(), in SetUp()
51 dequeBuffer_.insert(dequeBuffer_.end(), &(reinterpret_cast<uint8_t *>(&ebpfHeader))[0], in SetUp()
52 … &(reinterpret_cast<uint8_t *>(&ebpfHeader))[EbpfDataHeader::EBPF_DATA_HEADER_SIZE]); in SetUp()
Debpf_file_system_test.cpp57 EbpfDataHeader ebpfHeader; in SetUp() local
58 ebpfHeader.header.clock = EBPF_CLOCK_BOOTTIME; in SetUp()
60 dequeBuffer_.insert(dequeBuffer_.end(), reinterpret_cast<uint8_t *>(&ebpfHeader), in SetUp()
61 reinterpret_cast<uint8_t *>(&ebpfHeader + 1)); in SetUp()