/developtools/hiperf/include/ |
H A D | perf_record_format.h | 34 u64 time = 0; /* if PERF_SAMPLE_TIME set */ 35 u64 id = 0; /* if PERF_SAMPLE_ID set */ 36 u64 stream_id = 0; /* if PERF_SAMPLE_STREAM_ID set */ 39 u64 id2 = 0; /* if PERF_SAMPLE_IDENTIFIER set */ 51 u64 size = 0; 52 u64 offset = 0; 53 u64 reference = 0; 76 u64 addr = 0; 77 u64 len = 0; 78 u64 pgof [all...] |
H A D | spe_decoder.h | 256 u64 from_ip; 257 u64 to_ip; 258 u64 timestamp; 259 u64 virt_addr; 260 u64 phys_addr; 261 u64 context_id; 270 u64 offset; 271 u64 trace_nr; 299 u64 count; 301 u64 p [all...] |
H A D | perf_event_record.h | 179 PerfRecordAuxtrace(u64 size, u64 offset, u64 reference, u32 idx, u32 tid, u32 cpu, u32 pid); 195 PerfRecordMmap(bool inKernel, u32 pid, u32 tid, u64 addr, u64 len, u64 pgoff, 209 PerfRecordMmap2(bool inKernel, u32 pid, u32 tid, u64 addr, u64 len, u64 pgoff, u32 maj, u32 min, 210 u64 in [all...] |
H A D | callstack.h | 58 bool UnwindCallStack(const VirtualThread &thread, bool abi32, u64 *regs, u64 regsNum, 59 const u8 *stack, u64 stackSize, std::vector<DfxFrame> &, 69 u64 *regs_ = nullptr; // not const , be cause we will fix it for arm64 cpu in UpdateRegForABI 70 u64 regsNum_ = 0; 72 u64 stackSize_ = 0; 80 bool GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const; 152 const u64 *regs;
|
H A D | register.h | 145 bool RegisterGetValue(uint64_t &value, const u64 registers[], const size_t registerIndex, 151 inline bool RegisterGetSPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetSPValue() 157 inline bool RegisterGetIPValue(uint64_t &value, ArchType arch, const u64 registers[], in RegisterGetIPValue() 169 void UpdateRegForABI(ArchType arch, u64 *registers);
|
H A D | unique_stack_table.h | 94 uint64_t PutIpsInTable(StackId *stackId, u64 *ips, u64 nr); 95 bool GetIpsByStackId(const StackId stackId, std::vector<u64>& ips);
|
/developtools/hdc/hdc_rust/src/serializer/ |
H A D | native_struct.rs | 68 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,
|
H A D | serialize.rs | 122 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/hiperf/test/unittest/common/native/ |
H A D | unique_stack_table_test.cpp | 65 u64 baseips[] = {0x6bcc, in HWTEST_F() 70 u64 partips[] = {0x01, in HWTEST_F() 74 u64 partips1[] = {0x02, in HWTEST_F() 91 std::vector<u64> checkbaseips; in HWTEST_F() 92 std::vector<u64> checkpartips; in HWTEST_F() 93 std::vector<u64> checkpartips1; in HWTEST_F() 98 EXPECT_EQ(memcmp(baseips, checkbaseips.data(), checkbaseips.size()*sizeof(u64)), 0); in HWTEST_F() 113 u64 baseips[] = {0x6bcc, in HWTEST_F()
|
H A D | perf_event_record_test.cpp | 318 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...] |
/developtools/hdc/hdc_rust/src/daemon_lib/ |
H A D | bridge.rs | 66 pub fn start_listen(ptr: u64) -> i32 { in start_listen() 71 pub fn accept_server_socket_fd(ptr: u64, pipe_fd: i32) -> i32 { in accept_server_socket_fd() 76 pub fn init_client_fd(ptr: u64, socket_fd: i32) -> i32 { in init_client_fd() 81 pub fn write_client(ptr: u64, fd: i32, buf: SerializedBuffer) -> i32 { in write_client() 86 pub fn read_client(ptr: u64, fd: i32, excepted_size: i32) -> PersistBuffer { in read_client() 91 pub fn stop(ptr: u64) -> i32 { in stop() 96 pub ptr: u64, 100 pub ptr: u64, 124 size: data.len() as u64, in write_all()
|
/developtools/profiler/hiebpf/src/ |
H A D | hiebpf.bpf.c | 70 __uint(key_size, sizeof(u64)); 109 u64 ctime = bpf_ktime_get_ns(); in emit_fstrace_event() 110 u64 pid_tgid = bpf_get_current_pid_tgid(); in emit_fstrace_event() 112 const u64 event_size = sizeof(struct fstrace_cmplt_event_t); in emit_fstrace_event() 150 bpf_get_stack(ctx, cmplt_event->ips, g_stack_limit * sizeof(u64), BPF_F_USER_STACK) / sizeof(u64); in emit_fstrace_event() 172 u64 pid_tgid = bpf_get_current_pid_tgid(); in handle_pftrace_start_event() 221 u64 pid_tgid = bpf_get_current_pid_tgid(); in read_modify_update_current_type() 272 u64 ctime = bpf_ktime_get_ns(); in emit_pftrace_event() 273 u64 pid_tgi in emit_pftrace_event() [all...] |
/developtools/profiler/tools/smaps_show/src/ |
H A D | main.rs | 29 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() 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 in read_smaps() [all...] |
/developtools/profiler/device/plugins/native_daemon/include/ |
H A D | call_stack.h | 44 bool UnwindCallStack(const VirtualThread &thread, u64 *regs, u64 regsNum,
45 const u8 *stack, u64 stackSize, std::vector<CallFrame> &,
53 u64 *regs_ = nullptr; // not const , be cause we will fix it for arm64 cpu in UpdateRegForABI
54 u64 regsNum_ = 0;
56 u64 stackSize_ = 0;
64 bool GetIpSP(uint64_t &ip, uint64_t &sp, const u64 *regs, size_t regNum) const;
134 const u64 *regs;
|
H A D | register.h | 200 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/hdc/hdc_rust/src/common/ |
H A D | filemanager.rs | 62 pub fn file_size(&self) -> u64 { in file_size() 64 let meta_size: u64 = match f.metadata() { in file_size() 72 let node_size = self.buffer_read(meta_size) as u64; in file_size() 81 pub fn buffer_read(&self, meta_size: u64) -> usize { in buffer_read()
|
H A D | hdctransfer.rs | 61 pub io_index: u64, 73 pub file_size: u64, 74 pub dir_size: u64, 77 pub index: u64, 80 pub file_begin_time: u64, 81 pub dir_begin_time: u64, 281 let pos = (index as u64) * (FILE_PACKAGE_PAYLOAD_SIZE as u64); in spawn_handler() 283 let file_size = transfer_config.file_size as u64; in spawn_handler() 413 _file_size: u64, [all...] |
/developtools/hdc/hdc_rust/src/host_transfer/ |
H A D | host_usb.rs | 84 pub fn get_ready_usb_devices_string(ptr: u64) -> Result<String, FromUtf8Error> { in get_ready_usb_devices_string() 89 pub fn get_ready_usb_devices(ptr: u64) -> PersistBuffer { in get_ready_usb_devices() 93 pub fn on_device_connected(ptr: u64, connect_key: String, connect_success: bool) { in on_device_connected() 104 pub fn write_usb(ptr: u64, connect_key: String, buf: SerializedBuffer) -> i32 { in write_usb() 115 pub fn read_usb(ptr: u64, connect_key: String, excepted_size: i32) -> PersistBuffer { in read_usb() 126 pub fn cancel_usb_io(ptr: u64, connect_key: String) { in cancel_usb_io() 136 pub fn stop(ptr: u64) { in stop() 144 pub ptr: u64, 148 pub ptr: u64, 184 size: data.len() as u64, in write_all() [all...] |
/developtools/hiperf/src/ |
H A D | spe_decoder.cpp | 298 u64 payload = packet->payload; in SpePktDescEvent() 352 u64 payload = packet->payload; in SpePktDescOpType() 453 u64 payload = packet->payload; in SpePktDescAddr() 494 u64 payload = packet->payload; in SpePktDesCont() 571 static u64 SpeCalcIp(int index, u64 payload) in SpeCalcIp() 573 u64 ns; in SpeCalcIp() 574 u64 el; in SpeCalcIp() 575 u64 val; in SpeCalcIp() 681 u64 payloa in SpeReadRecord() [all...] |
/developtools/profiler/hiebpf/include/ |
H A D | fstrace_progs.h | 24 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE() 64 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE() 103 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE() 142 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE() 182 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE() 222 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE() 262 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE() 304 u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_KPROBE() 350 u64 pid_tgid = bpf_get_current_pid_tgid(); in pwritev_entry() 455 u64 pid_tgi in BPF_KPROBE() [all...] |
H A D | vmlinux.h | 42 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_su 58148 long unsigned int u64; global() member [all...] |
/developtools/hdc/hdc_rust/src/tar/ |
H A D | entry.rs | 32 need_size: u64, 121 if self.need_size > data.len() as u64 { in add_data() 123 self.need_size -= data.len() as u64; in add_data() 132 pub fn size(&self) -> u64 { in size()
|
/developtools/profiler/proto_encoder/test/unittest/ |
H A D | varint_encode_unittest.cpp | 293 uint64_t u64 = std::numeric_limits<uint64_t>::min(); in HWTEST_F() local 294 EXPECT_EQ(EncodeVarint(buf, u64), (uint32_t)sizeof(ENCODE_BYTES_MIN_U64)); in HWTEST_F() 296 u64 = std::numeric_limits<uint64_t>::max(); in HWTEST_F() 297 EXPECT_EQ(EncodeVarint(buf, u64), (uint32_t)sizeof(ENCODE_BYTES_MAX_U64)); in HWTEST_F() 305 uint64_t u64 = 1; in HWTEST_F() local 306 EncodeVarintPadding(buf, u64, VARINT_ENCODE_MAX_SIZE); in HWTEST_F() 313 u64 = std::numeric_limits<uint64_t>::max(); in HWTEST_F() 314 EncodeVarintPadding(buf, u64, VARINT_ENCODE_MAX_SIZE); in HWTEST_F()
|
/developtools/hdc/hdc_rust/src/ |
H A D | utils.rs | 37 pub fn get_current_time() -> u64 { in get_current_time() 41 .as_millis() as u64 in get_current_time()
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
H A D | register_test.cpp | 109 const u64 registers[4] = {1, 2, 3, 4}; in HWTEST_F() 130 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4}; in HWTEST_F() 149 u64 registers[PERF_REG_ARM64_MAX] = {1, 2, 3, 4}; in HWTEST_F()
|