Home
last modified time | relevance | path

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

12

/developtools/hiperf/include/
Dperf_record_format.h33 u64 time; /* if PERF_SAMPLE_TIME set */
34 u64 id; /* if PERF_SAMPLE_ID set */
35 u64 stream_id; /* if PERF_SAMPLE_STREAM_ID set */
37 u64 id2; /* if PERF_SAMPLE_IDENTIFIER set */
63 u64 addr;
64 u64 len;
65 u64 pgoff;
98 u64 addr;
99 u64 len;
100 u64 pgoff;
[all …]
Dcallstack.h55 bool UnwindCallStack(const VirtualThread &thread, bool abi32, u64 *regs, u64 regsNum,
56 const u8 *stack, u64 stackSize, std::vector<CallFrame> &,
66 u64 *regs_ = nullptr; // not const , be cause we will fix it for arm64 cpu in UpdateRegForABI
67 u64 regsNum_ = 0;
69 u64 stackSize_ = 0;
77 bool GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const;
133 const u64 *regs;
Dperf_event_record.h174 PerfRecordMmap(bool inKernel, u32 pid, u32 tid, u64 addr, u64 len, u64 pgoff,
188 PerfRecordMmap2(bool inKernel, u32 pid, u32 tid, u64 addr, u64 len, u64 pgoff, u32 maj, u32 min,
189 u64 ino, u32 prot, u32 flags, const std::string &filename);
208 PerfRecordLost(bool inKernel, u64 id, u64 lost) in PerfRecordLost()
238 std::vector<u64> ips_;
252 PerfRecordSample(bool inKernel, u32 pid, u32 tid, u64 period = 0, u64 time = 0, u64 id = 0)
Dregister.h162 bool RegisterGetValue(uint64_t &value, const u64 registers[], const size_t registerIndex,
168 inline bool RegisterGetSPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetSPValue()
174 inline bool RegisterGetIPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetIPValue()
186 void UpdateRegForABI(ArchType arch, u64 registers[]);
Dperf_file_format.h149 bool Write(uint64_t u64);
/developtools/profiler/device/plugins/native_daemon/include/
Dcall_stack.h38 bool UnwindCallStack(const VirtualThread &thread, u64 *regs, u64 regsNum,
39 const u8 *stack, u64 stackSize, std::vector<CallFrame> &,
46 u64 *regs_ = nullptr; // not const , be cause we will fix it for arm64 cpu in UpdateRegForABI
47 u64 regsNum_ = 0;
49 u64 stackSize_ = 0;
57 bool GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const;
113 const u64 *regs;
Dregister.h205 inline bool RegisterGetValue(uint64_t &value, const u64 registers[], const size_t registerIndex, in RegisterGetValue()
216 inline bool RegisterGetSPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetSPValue()
222 inline bool RegisterGetIPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetIPValue()
234 void UpdateRegForABI(ArchType arch, u64 registers[]);
Dstack_preprocess.h121 std::vector<u64> u64regs_;
/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/profiler/host/smartperf/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/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/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/hiperf/test/unittest/common/native/
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.cpp125 const u64 registers[4] = {1, 2, 3, 4};
147 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4};
167 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4};
/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.cpp204 header.size -= data_.reg_nr * sizeof(u64); in ReplaceWithCallStack()
221 header.size -= data_.nr * sizeof(u64); in ReplaceWithCallStack()
225 header.size += data_.nr * sizeof(u64); in ReplaceWithCallStack()
261 data_.ips = reinterpret_cast<u64 *>(p); in PerfRecordSample()
262 p += data_.nr * sizeof(u64); in PerfRecordSample()
278 data_.user_regs = reinterpret_cast<u64 *>(p); in PerfRecordSample()
279 p += data_.reg_nr * sizeof(u64); in PerfRecordSample()
309 std::copy(data_.ips, data_.ips + data_.nr, reinterpret_cast<u64 *>(p)); in GetBinary()
310 p += data_.nr * sizeof(u64); in GetBinary()
324 std::copy(data_.user_regs, data_.user_regs + data_.reg_nr, reinterpret_cast<u64 *>(p)); in GetBinary()
[all …]
Dregister.cpp182 bool RegisterGetValue(uint64_t &value, const u64 registers[], const size_t registerIndex, in RegisterGetValue()
260 void UpdateRegForABI(ArchType arch, u64 *regs) in UpdateRegForABI()
Dcallstack.cpp415 bool CallStack::GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const in GetIpSP()
470 bool CallStack::UnwindCallStack(const VirtualThread &thread, bool abi32, u64 *regs, u64 regsNum, in UnwindCallStack()
471 const u8 *stack, u64 stackSize, std::vector<CallFrame> &callStack, in UnwindCallStack()
Dperf_file_format.cpp61 bool PerfFileSection::Write(uint64_t u64) in Write() argument
63 uint64_t value = u64; in Write()
/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.cpp125 const u64 registers[4] = {1, 2, 3, 4};
147 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4};
167 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4};
Dcallstack_test.cpp88 std::vector<u64> regs;
/developtools/profiler/device/plugins/native_daemon/src/
Dcall_stack.cpp394 bool CallStack::GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const in GetIpSP()
440 bool CallStack::UnwindCallStack(const VirtualThread &thread, u64 *regs, u64 regsNum, in UnwindCallStack()
441 const u8 *stack, u64 stackSize, std::vector<CallFrame> &callStack, in UnwindCallStack()
Dregister.cpp248 void UpdateRegForABI(ArchType arch, u64 *regs) in UpdateRegForABI()

12