Home
last modified time | relevance | path

Searched refs:u64 (Results 1 – 25 of 46) sorted by relevance

12

/developtools/hiperf/include/
Dperf_record_format.h34 u64 time; /* if PERF_SAMPLE_TIME set */
35 u64 id; /* if PERF_SAMPLE_ID set */
36 u64 stream_id; /* if PERF_SAMPLE_STREAM_ID set */
38 u64 id2; /* if PERF_SAMPLE_IDENTIFIER set */
64 u64 addr;
65 u64 len;
66 u64 pgoff;
99 u64 addr;
100 u64 len;
101 u64 pgoff;
[all …]
Dcallstack.h59 bool UnwindCallStack(const VirtualThread &thread, bool abi32, u64 *regs, u64 regsNum,
60 const u8 *stack, u64 stackSize, std::vector<CallFrame> &,
70 u64 *regs_ = nullptr; // not const , be cause we will fix it for arm64 cpu in UpdateRegForABI
71 u64 regsNum_ = 0;
73 u64 stackSize_ = 0;
81 bool GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const;
155 const u64 *regs;
Dperf_event_record.h177 PerfRecordMmap(bool inKernel, u32 pid, u32 tid, u64 addr, u64 len, u64 pgoff,
191 PerfRecordMmap2(bool inKernel, u32 pid, u32 tid, u64 addr, u64 len, u64 pgoff, u32 maj, u32 min,
192 u64 ino, u32 prot, u32 flags, const std::string &filename);
212 PerfRecordLost(bool inKernel, u64 id, u64 lost) in PerfRecordLost()
243 static std::vector<u64> ips_;
263 PerfRecordSample(bool inKernel, u32 pid, u32 tid, u64 period = 0, u64 time = 0, u64 id = 0)
Dregister.h159 bool RegisterGetValue(uint64_t &value, const u64 registers[], const size_t registerIndex,
165 inline bool RegisterGetSPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetSPValue()
171 inline bool RegisterGetIPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetIPValue()
183 void UpdateRegForABI(ArchType arch, u64 registers[]);
Dunique_stack_table.h94 uint64_t PutIpsInTable(StackId *stackId, u64 *ips, u64 nr);
95 bool GetIpsByStackId(const StackId stackId, std::vector<u64>& ips);
/developtools/hiperf/test/unittest/common/native/
Dunique_stack_table_test.cpp65 u64 baseips[] = {0x6bcc,
70 u64 partips[] = {0x01,
74 u64 partips1[] = {0x02,
93 std::vector<u64> checkbaseips;
94 std::vector<u64> checkpartips;
95 std::vector<u64> checkpartips1;
100 EXPECT_EQ(memcmp(baseips, checkbaseips.data(), checkbaseips.size()*sizeof(u64)), 0);
115 u64 baseips[] = {0x6bcc,
Dperf_event_record_test.cpp318 if (record.data_.nr != *(reinterpret_cast<const u64 *>(p))) { in CompareRecordSample50()
321 p += sizeof(u64); in CompareRecordSample50()
328 if (record.data_.bnr != *(reinterpret_cast<const u64 *>(p))) { in CompareRecordSample50()
331 p += sizeof(u64); in CompareRecordSample50()
333 if (record.data_.user_abi != *(reinterpret_cast<const u64 *>(p))) { in CompareRecordSample50()
336 p += sizeof(u64); in CompareRecordSample50()
338 if (record.data_.stack_size != *(reinterpret_cast<const u64 *>(p))) { in CompareRecordSample50()
341 p += sizeof(u64); in CompareRecordSample50()
354 if (record.data_.sample_id != *(reinterpret_cast<const u64 *>(p))) { in CompareRecordSample()
357 p += sizeof(u64); in CompareRecordSample()
[all …]
Dregister_test.cpp111 const u64 registers[4] = {1, 2, 3, 4};
132 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4};
151 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4};
/developtools/hdc/hdc_rust/src/serializer/
Dnative_struct.rs68 pub file_size: u64,
69 pub atime: u64,
70 pub mtime: u64,
85 pub perm: u64,
86 pub u_id: u64,
87 pub g_id: u64,
94 pub index: u64,
Dserialize.rs122 size: input.len() as u64, in parse()
159 size: input.len() as u64, in parse()
224 size: input.len() as u64, in parse()
275 size: input.len() as u64, in parse()
308 size: input.len() as u64, in parse()
343 size: input.len() as u64, in parse()
375 size: input.len() as u64, in parse()
409 size: input.len() as u64, in parse()
/developtools/profiler/hiebpf/src/
Dhiebpf.bpf.c77 __uint(key_size, sizeof(u64));
116 u64 ctime = bpf_ktime_get_ns(); in emit_fstrace_event()
117 u64 pid_tgid = bpf_get_current_pid_tgid(); in emit_fstrace_event()
119 const u64 event_size = sizeof(struct fstrace_cmplt_event_t); in emit_fstrace_event()
157 … bpf_get_stack(ctx, cmplt_event->ips, g_stack_limit * sizeof(u64), BPF_F_USER_STACK) / sizeof(u64); in emit_fstrace_event()
179 u64 pid_tgid = bpf_get_current_pid_tgid(); in handle_pftrace_start_event()
228 u64 pid_tgid = bpf_get_current_pid_tgid(); in read_modify_update_current_type()
279 u64 ctime = bpf_ktime_get_ns(); in emit_pftrace_event()
280 u64 pid_tgid = bpf_get_current_pid_tgid(); in emit_pftrace_event()
282 const u64 event_size = sizeof(struct pftrace_cmplt_event_t); in emit_pftrace_event()
[all …]
/developtools/smartperf_host/trace_streamer/prebuilts/patch_perf_event/
Dperf_event.h.patch318 * { u64 nr;
319 - * { u64 hw_idx; } && PERF_SAMPLE_BRANCH_HW_INDEX
320 - * { u64 from, to, flags } lbr[nr];
322 + * { u64 from, to, flags } lbr[nr];} && PERF_SAMPLE_BRANCH_STACK
324 * { u64 abi; # enum perf_sample_regs_abi
325 * u64 regs[weight(mask)]; } && PERF_SAMPLE_REGS_USER
328 * u64 dyn_size; } && PERF_SAMPLE_STACK_USER
332 - * u64 full; && PERF_SAMPLE_WEIGHT
348 + * { u64 weight; } && PERF_SAMPLE_WEIGHT
349 * { u64 data_src; } && PERF_SAMPLE_DATA_SRC
[all …]
/developtools/profiler/device/plugins/native_daemon/include/
Dcall_stack.h44 bool UnwindCallStack(const VirtualThread &thread, u64 *regs, u64 regsNum,
45 const u8 *stack, u64 stackSize, std::vector<CallFrame> &,
52 u64 *regs_ = nullptr; // not const , be cause we will fix it for arm64 cpu in UpdateRegForABI
53 u64 regsNum_ = 0;
55 u64 stackSize_ = 0;
63 bool GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const;
134 const u64 *regs;
Dregister.h200 inline bool RegisterGetValue(uint64_t &value, const u64 registers[], const size_t registerIndex, in RegisterGetValue()
211 inline bool RegisterGetSPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetSPValue()
217 inline bool RegisterGetIPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetIPValue()
229 void UpdateRegForABI(ArchType arch, u64 registers[]);
/developtools/profiler/tools/smaps_show/src/
Dmain.rs29 start: u64,
30 end: u64,
31 off: u64,
34 inode: u64,
36 value: HashMap<String, u64>
39 fn add(&mut self, key: &String, val: u64) { in add() argument
246 let start = u64::from_str_radix(caps.name("start").unwrap().as_str(), 16).unwrap(); in read_smaps()
247 let end = u64::from_str_radix(caps.name("end").unwrap().as_str(), 16).unwrap(); in read_smaps()
248 let off = u64::from_str_radix(caps.name("off").unwrap().as_str(), 16).unwrap(); in read_smaps()
251 let inode = u64::from_str_radix(caps.name("inode").unwrap().as_str(), 10).unwrap(); in read_smaps()
[all …]
/developtools/hdc/hdc_rust/src/common/
Dhdctransfer.rs55 pub io_index: u64,
66 pub file_size: u64,
67 pub dir_size: u64,
70 pub index: u64,
73 pub file_begin_time: u64,
74 pub dir_begin_time: u64,
160 let pos = (index * FILE_PACKAGE_PAYLOAD_SIZE) as u64; in spawn_handler()
228 _file_size: u64, in read_and_send_data() argument
233 let mut pieces_count = (_file_size / FILE_PACKAGE_PAYLOAD_SIZE as u64) as usize; in read_and_send_data()
267 if ((index * FILE_PACKAGE_PAYLOAD_SIZE) as u64) < _file_size { in read_and_send_data()
[all …]
Dfilemanager.rs58 pub fn file_size(&self) -> u64 { in file_size() argument
Dhdcfile.rs41 pub dir_size: u64,
42 pub file_size: u64,
43 pub file_begin_time: u64,
44 pub dir_begin_time: u64,
107 && (file_task.transfer.transfer_config.file_size > (MAX_SIZE_IOBUF as u64)) in check_local_path()
/developtools/profiler/hiebpf/include/
Dfstrace_progs.h31 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE()
71 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE()
110 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE()
149 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE()
189 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE()
229 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE()
269 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE()
311 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE()
357 u64 pid_tgid = bpf_get_current_pid_tgid(); in pwritev_entry()
462 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE()
Dvmlinux.h42 typedef __u64 u64; typedef
105 typedef u64 sector_t;
107 typedef u64 blkcnt_t;
113 typedef u64 phys_addr_t;
444 u64 time;
454 u64 expires;
468 u64 ttbr0;
470 u64 preempt_count;
502 u64 last_update_time;
503 u64 load_sum;
[all …]
/developtools/hiperf/src/
Dperf_event_record.cpp209 std::vector<u64> PerfRecordSample::ips_ = {};
260 header.size -= data_.reg_nr * sizeof(u64); in ReplaceWithCallStack()
279 header.size -= data_.nr * sizeof(u64); in ReplaceWithCallStack()
283 header.size += data_.nr * sizeof(u64); in ReplaceWithCallStack()
323 data_.ips = reinterpret_cast<u64 *>(p); in PerfRecordSample()
324 p += data_.nr * sizeof(u64); in PerfRecordSample()
340 data_.user_regs = reinterpret_cast<u64 *>(p); in PerfRecordSample()
341 p += data_.reg_nr * sizeof(u64); in PerfRecordSample()
345 data_.server_pids = reinterpret_cast<u64 *>(p); in PerfRecordSample()
346 p += data_.server_nr * sizeof(u64); in PerfRecordSample()
[all …]
Dunique_stack_table.cpp117 uint64_t UniqueStackTable::PutIpsInTable(StackId *stackId, u64 *ips, u64 nr) in PutIpsInTable()
170 bool UniqueStackTable::GetIpsByStackId(StackId stackId, std::vector<u64>& ips) in GetIpsByStackId()
Dvirtual_runtime.cpp353 u64 nr = recordSample->data_.nr; in DedupFromRecord()
360 u64 *ips = recordSample->data_.ips; in DedupFromRecord()
383 recordSample->header.size -= (sizeof(u64) * nr - sizeof(stackId)); in DedupFromRecord()
505 for (u64 i = 0; i < recordSample.data_.nr; i++) { in SymbolicRecord()
535 u64 skip = 0; in NeedDropKernelCallChain()
536 u64 skip_pid = 0; in NeedDropKernelCallChain()
537 u64 *ips = sample.data_.ips; in NeedDropKernelCallChain()
548 sample.header.size -= sizeof(u64) * skip; in NeedDropKernelCallChain()
552 sample.header.size -= sizeof(u64) * skip_pid; in NeedDropKernelCallChain()
690 u64 begin = recordMmap2.data_.addr - elfLoadInfoMap[0].mmapLen; in CheckValidSandBoxMmap()
[all …]
/developtools/profiler/proto_encoder/test/unittest/
Dvarint_encode_unittest.cpp293 uint64_t u64 = std::numeric_limits<uint64_t>::min(); variable
294 EXPECT_EQ(EncodeVarint(buf, u64), (uint32_t)sizeof(ENCODE_BYTES_MIN_U64));
296 u64 = std::numeric_limits<uint64_t>::max();
297 EXPECT_EQ(EncodeVarint(buf, u64), (uint32_t)sizeof(ENCODE_BYTES_MAX_U64));
305 uint64_t u64 = 1; variable
306 EncodeVarintPadding(buf, u64, VARINT_ENCODE_MAX_SIZE);
313 u64 = std::numeric_limits<uint64_t>::max();
314 EncodeVarintPadding(buf, u64, VARINT_ENCODE_MAX_SIZE);
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dregister_test.cpp110 const u64 registers[4] = {1, 2, 3, 4};
131 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4};
150 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4};

12