/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/zip/ |
D | RandomAccessFileZipDataInput.java | 34 private final long size; field in RandomAccessFileZipDataInput 40 this.size = -1; in RandomAccessFileZipDataInput() 43 public RandomAccessFileZipDataInput(RandomAccessFile file, long offset, long size) { in RandomAccessFileZipDataInput() argument 47 if (size < 0) { in RandomAccessFileZipDataInput() 48 throw new IndexOutOfBoundsException("size: " + size); in RandomAccessFileZipDataInput() 53 this.size = size; in RandomAccessFileZipDataInput() 57 public long size() { in size() method in RandomAccessFileZipDataInput 58 if (size == -1) { in size() 65 return size; in size() 69 public void copyTo(long offset, long size, ZipDataOutput output) throws IOException { in copyTo() argument [all …]
|
D | ByteBufferZipDataInput.java | 40 public long size() { in size() method in ByteBufferZipDataInput 45 public void copyTo(long offset, long size, ZipDataOutput output) throws IOException { in copyTo() argument 46 if (size < 0 || size > sourceSize) { in copyTo() 47 throw new IndexOutOfBoundsException("size: " + size + ", source size: " + sourceSize); in copyTo() 49 output.write(createByteBuffer(offset, (int) size)); in copyTo() 53 public void copyTo(long offset, int size, ByteBuffer buffer) throws IOException { in copyTo() argument 54 buffer.put(createByteBuffer(offset, size)); in copyTo() 58 public ByteBuffer createByteBuffer(long offset, int size) { in createByteBuffer() argument 59 checkChunkValid(offset, size); in createByteBuffer() 61 int limit = position + size; in createByteBuffer() [all …]
|
/developtools/hiperf/src/ |
D | perf_file_format.cpp | 27 if (index >= extFeatureNames.size()) { in GetFeatureName() 32 if (index >= featureNames.size()) { in GetFeatureName() 69 if (Write((uint32_t)str.size() + 1)) { // include the ending \0 in Write() 70 return Write(str.c_str(), str.size(), str.size() + 1); in Write() 76 bool PerfFileSection::Write(const char *buf, size_t size) in Write() argument 78 return Write(buf, size, size); in Write() 81 bool PerfFileSection::Write(const char *buf, size_t size, size_t max) in Write() argument 83 if (offset_ + size > maxSize_) { in Write() 84 HLOGE("write out of size!!! offset_ %zu size %zu max %zu", offset_, size, maxSize_); in Write() 88 HLOGE("write out of size!!! offset_ %zu size %zu max %zu", offset_, size, maxSize_); in Write() [all …]
|
/developtools/profiler/device/plugins/ftrace_plugin/tools/device_kernel_version/default/event_parsers/ |
D | ftrace_sunrpc_event_parser.cpp | 20 template <typename T> void rpc_bind_status_func(T& msg, uint8_t data[], size_t size, const EventFor… in rpc_bind_status_func() argument 23 msg->set_task_id(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in rpc_bind_status_func() 24 msg->set_client_id(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in rpc_bind_status_func() 25 msg->set_status(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in rpc_bind_status_func() 28 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon9c9facc20202() argument 30 rpc_bind_status_func(msg, data, size, format); in __anon9c9facc20202() 33 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anon9c9facc20302() argument 35 rpc_bind_status_func(msg, data, size, format); in __anon9c9facc20302() 38 template <typename T> void rpc_call_status_func(T& msg, uint8_t data[], size_t size, const EventFor… in rpc_call_status_func() argument 41 msg->set_task_id(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in rpc_call_status_func() [all …]
|
D | ftrace_binder_event_parser.cpp | 20 template <typename T> void binder_alloc_lru_end_func(T& msg, uint8_t data[], size_t size, const Eve… in binder_alloc_lru_end_func() argument 23 msg->set_proc(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in binder_alloc_lru_end_func() 24 msg->set_page_index(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in binder_alloc_lru_end_func() 27 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon20c1b43b0202() argument 30 binder_alloc_lru_end_func(msg, data, size, format); in __anon20c1b43b0202() 34 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anon20c1b43b0302() argument 37 binder_alloc_lru_end_func(msg, data, size, format); in __anon20c1b43b0302() 41 template <typename T> void binder_alloc_lru_start_func(T& msg, uint8_t data[], size_t size, const E… in binder_alloc_lru_start_func() argument 44 msg->set_proc(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in binder_alloc_lru_start_func() 45 msg->set_page_index(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in binder_alloc_lru_start_func() [all …]
|
D | ftrace_cgroup_event_parser.cpp | 20 template <typename T> void cgroup_attach_task_func(T& msg, uint8_t data[], size_t size, const Event… in cgroup_attach_task_func() argument 23 msg->set_dst_root(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in cgroup_attach_task_func() 24 msg->set_dst_id(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in cgroup_attach_task_func() 25 msg->set_dst_level(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in cgroup_attach_task_func() 26 msg->set_pid(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in cgroup_attach_task_func() 27 msg->set_dst_path(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in cgroup_attach_task_func() 28 msg->set_comm(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in cgroup_attach_task_func() 31 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon3efbc5b70202() argument 33 cgroup_attach_task_func(msg, data, size, format); in __anon3efbc5b70202() 36 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anon3efbc5b70302() argument [all …]
|
D | ftrace_ext4_event_parser.cpp | 20 template <typename T> void ext4_alloc_da_blocks_func(T& msg, uint8_t data[], size_t size, const Eve… in ext4_alloc_da_blocks_func() argument 23 msg->set_dev(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in ext4_alloc_da_blocks_func() 24 msg->set_ino(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in ext4_alloc_da_blocks_func() 25 … msg->set_data_blocks(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in ext4_alloc_da_blocks_func() 28 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anonf71c6eec0202() argument 30 ext4_alloc_da_blocks_func(msg, data, size, format); in __anonf71c6eec0202() 33 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anonf71c6eec0302() argument 35 ext4_alloc_da_blocks_func(msg, data, size, format); in __anonf71c6eec0302() 38 template <typename T> void ext4_allocate_blocks_func(T& msg, uint8_t data[], size_t size, const Eve… in ext4_allocate_blocks_func() argument 41 msg->set_dev(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in ext4_allocate_blocks_func() [all …]
|
D | ftrace_writeback_event_parser.cpp | 20 template <typename T> void balance_dirty_pages_func(T& msg, uint8_t data[], size_t size, const Even… in balance_dirty_pages_func() argument 23 msg->set_bdi(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in balance_dirty_pages_func() 24 msg->set_limit(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in balance_dirty_pages_func() 25 msg->set_setpoint(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in balance_dirty_pages_func() 26 msg->set_dirty(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in balance_dirty_pages_func() 27 … msg->set_bdi_setpoint(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in balance_dirty_pages_func() 28 msg->set_bdi_dirty(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in balance_dirty_pages_func() 29 …g->set_dirty_ratelimit(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in balance_dirty_pages_func() 30 …sg->set_task_ratelimit(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in balance_dirty_pages_func() 31 msg->set_dirtied(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in balance_dirty_pages_func() [all …]
|
D | ftrace_sched_event_parser.cpp | 20 template <typename T> void sched_blocked_reason_func(T& msg, uint8_t data[], size_t size, const Eve… in sched_blocked_reason_func() argument 23 msg->set_pid(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in sched_blocked_reason_func() 24 msg->set_caller(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in sched_blocked_reason_func() 25 msg->set_io_wait(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in sched_blocked_reason_func() 28 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anone70067ae0202() argument 30 sched_blocked_reason_func(msg, data, size, format); in __anone70067ae0202() 33 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anone70067ae0302() argument 35 sched_blocked_reason_func(msg, data, size, format); in __anone70067ae0302() 38 template <typename T> void sched_kthread_stop_func(T& msg, uint8_t data[], size_t size, const Event… in sched_kthread_stop_func() argument 41 msg->set_comm(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in sched_kthread_stop_func() [all …]
|
D | ftrace_ftrace_event_parser.cpp | 20 template <typename T> void bputs_func(T& msg, uint8_t data[], size_t size, const EventFormat& forma… in bputs_func() argument 23 msg->set_ip(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in bputs_func() 24 msg->set_str(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in bputs_func() 27 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon95e93adc0202() argument 29 bputs_func(msg, data, size, format); in __anon95e93adc0202() 32 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anon95e93adc0302() argument 34 bputs_func(msg, data, size, format); in __anon95e93adc0302() 37 template <typename T> void branch_func(T& msg, uint8_t data[], size_t size, const EventFormat& form… in branch_func() argument 40 msg->set_line(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in branch_func() 41 msg->set_func(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in branch_func() [all …]
|
D | ftrace_block_event_parser.cpp | 20 template <typename T> void block_bio_backmerge_func(T& msg, uint8_t data[], size_t size, const Even… in block_bio_backmerge_func() argument 23 msg->set_dev(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in block_bio_backmerge_func() 24 msg->set_sector(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in block_bio_backmerge_func() 25 msg->set_nr_sector(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in block_bio_backmerge_func() 26 msg->set_rwbs(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in block_bio_backmerge_func() 27 msg->set_comm(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in block_bio_backmerge_func() 30 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anond8fca8920202() argument 32 block_bio_backmerge_func(msg, data, size, format); in __anond8fca8920202() 35 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anond8fca8920302() argument 37 block_bio_backmerge_func(msg, data, size, format); in __anond8fca8920302() [all …]
|
D | ftrace_power_event_parser.cpp | 20 template <typename T> void clock_disable_func(T& msg, uint8_t data[], size_t size, const EventForma… in clock_disable_func() argument 23 msg->set_name(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in clock_disable_func() 24 msg->set_state(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in clock_disable_func() 25 msg->set_cpu_id(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in clock_disable_func() 28 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon5718db540202() argument 30 clock_disable_func(msg, data, size, format); in __anon5718db540202() 33 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anon5718db540302() argument 35 clock_disable_func(msg, data, size, format); in __anon5718db540302() 38 template <typename T> void clock_enable_func(T& msg, uint8_t data[], size_t size, const EventFormat… in clock_enable_func() argument 41 msg->set_name(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in clock_enable_func() [all …]
|
D | ftrace_kmem_event_parser.cpp | 20 template <typename T> void kfree_func(T& msg, uint8_t data[], size_t size, const EventFormat& forma… in kfree_func() argument 23 msg->set_call_site(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in kfree_func() 24 msg->set_ptr(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in kfree_func() 27 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anonbddceb510202() argument 30 kfree_func(msg, data, size, format); in __anonbddceb510202() 34 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anonbddceb510302() argument 37 kfree_func(msg, data, size, format); in __anonbddceb510302() 41 template <typename T> void kmalloc_func(T& msg, uint8_t data[], size_t size, const EventFormat& for… in kmalloc_func() argument 44 msg->set_call_site(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in kmalloc_func() 45 msg->set_ptr(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in kmalloc_func() [all …]
|
D | ftrace_v4l2_event_parser.cpp | 20 template <typename T> void v4l2_dqbuf_func(T& msg, uint8_t data[], size_t size, const EventFormat& … in v4l2_dqbuf_func() argument 23 msg->set_minor(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in v4l2_dqbuf_func() 24 msg->set_index(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in v4l2_dqbuf_func() 25 msg->set_type(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in v4l2_dqbuf_func() 26 msg->set_bytesused(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in v4l2_dqbuf_func() 27 msg->set_flags(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in v4l2_dqbuf_func() 28 msg->set_field(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in v4l2_dqbuf_func() 29 msg->set_timestamp(FtraceFieldParser::ParseIntField<int64_t>(format.fields, i++, data, size)); in v4l2_dqbuf_func() 30 …msg->set_timecode_type(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in v4l2_dqbuf_func() 31 …sg->set_timecode_flags(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in v4l2_dqbuf_func() [all …]
|
D | ftrace_net_event_parser.cpp | 20 template <typename T> void napi_gro_frags_entry_func(T& msg, uint8_t data[], size_t size, const Eve… in napi_gro_frags_entry_func() argument 23 msg->set_name(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in napi_gro_frags_entry_func() 24 msg->set_napi_id(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in napi_gro_frags_entry_func() 25 …msg->set_queue_mapping(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in napi_gro_frags_entry_func() 26 msg->set_skbaddr(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in napi_gro_frags_entry_func() 27 … msg->set_vlan_tagged(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in napi_gro_frags_entry_func() 28 msg->set_vlan_proto(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in napi_gro_frags_entry_func() 29 msg->set_vlan_tci(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in napi_gro_frags_entry_func() 30 msg->set_protocol(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in napi_gro_frags_entry_func() 31 msg->set_ip_summed(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in napi_gro_frags_entry_func() [all …]
|
D | ftrace_regulator_event_parser.cpp | 20 template <typename T> void regulator_bypass_disable_func(T& msg, uint8_t data[], size_t size, const… in regulator_bypass_disable_func() argument 23 msg->set_name(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in regulator_bypass_disable_func() 26 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anonbbc0547c0202() argument 28 regulator_bypass_disable_func(msg, data, size, format); in __anonbbc0547c0202() 31 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anonbbc0547c0302() argument 33 regulator_bypass_disable_func(msg, data, size, format); in __anonbbc0547c0302() 37 void regulator_bypass_disable_complete_func(T& msg, uint8_t data[], size_t size, const EventFormat&… in regulator_bypass_disable_complete_func() argument 40 msg->set_name(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in regulator_bypass_disable_complete_func() 43 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anonbbc0547c0402() argument 45 regulator_bypass_disable_complete_func(msg, data, size, format); in __anonbbc0547c0402() [all …]
|
D | ftrace_timer_event_parser.cpp | 20 template <typename T> void hrtimer_cancel_func(T& msg, uint8_t data[], size_t size, const EventForm… in hrtimer_cancel_func() argument 23 msg->set_hrtimer(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in hrtimer_cancel_func() 26 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon41f457080202() argument 28 hrtimer_cancel_func(msg, data, size, format); in __anon41f457080202() 31 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anon41f457080302() argument 33 hrtimer_cancel_func(msg, data, size, format); in __anon41f457080302() 36 template <typename T> void hrtimer_expire_entry_func(T& msg, uint8_t data[], size_t size, const Eve… in hrtimer_expire_entry_func() argument 39 msg->set_hrtimer(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in hrtimer_expire_entry_func() 40 msg->set_now(FtraceFieldParser::ParseIntField<int64_t>(format.fields, i++, data, size)); in hrtimer_expire_entry_func() 41 msg->set_function(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in hrtimer_expire_entry_func() [all …]
|
D | ftrace_compaction_event_parser.cpp | 20 template <typename T> void mm_compaction_begin_func(T& msg, uint8_t data[], size_t size, const Even… in mm_compaction_begin_func() argument 23 msg->set_zone_start(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in mm_compaction_begin_func() 24 … msg->set_migrate_pfn(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in mm_compaction_begin_func() 25 msg->set_free_pfn(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in mm_compaction_begin_func() 26 msg->set_zone_end(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in mm_compaction_begin_func() 27 msg->set_sync(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in mm_compaction_begin_func() 30 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anonc68122740202() argument 32 mm_compaction_begin_func(msg, data, size, format); in __anonc68122740202() 35 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anonc68122740302() argument 37 mm_compaction_begin_func(msg, data, size, format); in __anonc68122740302() [all …]
|
D | ftrace_clk_event_parser.cpp | 20 template <typename T> void clk_disable_func(T& msg, uint8_t data[], size_t size, const EventFormat&… in clk_disable_func() argument 23 msg->set_name(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in clk_disable_func() 26 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon271c2e010202() argument 28 clk_disable_func(msg, data, size, format); in __anon271c2e010202() 31 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anon271c2e010302() argument 33 clk_disable_func(msg, data, size, format); in __anon271c2e010302() 36 template <typename T> void clk_disable_complete_func(T& msg, uint8_t data[], size_t size, const Eve… in clk_disable_complete_func() argument 39 msg->set_name(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in clk_disable_complete_func() 42 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon271c2e010402() argument 44 clk_disable_complete_func(msg, data, size, format); in __anon271c2e010402() [all …]
|
D | ftrace_vmscan_event_parser.cpp | 20 template <typename T> void mm_shrink_slab_end_func(T& msg, uint8_t data[], size_t size, const Event… in mm_shrink_slab_end_func() argument 23 msg->set_shr(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in mm_shrink_slab_end_func() 24 msg->set_nid(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in mm_shrink_slab_end_func() 25 msg->set_shrink(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in mm_shrink_slab_end_func() 26 … msg->set_unused_scan(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in mm_shrink_slab_end_func() 27 msg->set_new_scan(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in mm_shrink_slab_end_func() 28 msg->set_retval(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in mm_shrink_slab_end_func() 29 msg->set_total_scan(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in mm_shrink_slab_end_func() 32 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anondcfada6f0202() argument 34 mm_shrink_slab_end_func(msg, data, size, format); in __anondcfada6f0202() [all …]
|
D | ftrace_filelock_event_parser.cpp | 20 template <typename T> void break_lease_block_func(T& msg, uint8_t data[], size_t size, const EventF… in break_lease_block_func() argument 23 msg->set_fl(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in break_lease_block_func() 24 msg->set_i_ino(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in break_lease_block_func() 25 msg->set_s_dev(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in break_lease_block_func() 26 msg->set_fl_next(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in break_lease_block_func() 27 msg->set_fl_owner(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in break_lease_block_func() 28 msg->set_fl_flags(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in break_lease_block_func() 29 msg->set_fl_type(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in break_lease_block_func() 30 …msg->set_fl_break_time(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in break_lease_block_func() 31 …>set_fl_downgrade_time(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in break_lease_block_func() [all …]
|
D | ftrace_mmc_event_parser.cpp | 20 template <typename T> void mmc_request_done_func(T& msg, uint8_t data[], size_t size, const EventFo… in mmc_request_done_func() argument 23 msg->set_cmd_opcode(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in mmc_request_done_func() 24 msg->set_cmd_err(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in mmc_request_done_func() 25 msg->set_cmd_resp(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in mmc_request_done_func() 26 … msg->set_cmd_retries(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in mmc_request_done_func() 27 … msg->set_stop_opcode(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in mmc_request_done_func() 28 msg->set_stop_err(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in mmc_request_done_func() 29 msg->set_stop_resp(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in mmc_request_done_func() 30 … msg->set_stop_retries(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in mmc_request_done_func() 31 msg->set_sbc_opcode(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in mmc_request_done_func() [all …]
|
D | ftrace_dma_fence_event_parser.cpp | 20 template <typename T> void dma_fence_destroy_func(T& msg, uint8_t data[], size_t size, const EventF… in dma_fence_destroy_func() argument 23 msg->set_driver(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in dma_fence_destroy_func() 24 msg->set_timeline(FtraceFieldParser::ParseStrField(format.fields, i++, data, size)); in dma_fence_destroy_func() 25 msg->set_context(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in dma_fence_destroy_func() 26 msg->set_seqno(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in dma_fence_destroy_func() 29 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anone46b40190202() argument 31 dma_fence_destroy_func(msg, data, size, format); in __anone46b40190202() 34 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anone46b40190302() argument 36 dma_fence_destroy_func(msg, data, size, format); in __anone46b40190302() 39 template <typename T> void dma_fence_emit_func(T& msg, uint8_t data[], size_t size, const EventForm… in dma_fence_emit_func() argument [all …]
|
D | ftrace_f2fs_event_parser.cpp | 20 template <typename T> void f2fs_sync_file_enter_func(T& msg, uint8_t data[], size_t size, const Eve… in f2fs_sync_file_enter_func() argument 23 msg->set_dev(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in f2fs_sync_file_enter_func() 24 msg->set_ino(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in f2fs_sync_file_enter_func() 25 msg->set_pino(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in f2fs_sync_file_enter_func() 26 msg->set_mode(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in f2fs_sync_file_enter_func() 27 msg->set_size(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in f2fs_sync_file_enter_func() 28 msg->set_nlink(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in f2fs_sync_file_enter_func() 29 msg->set_blocks(FtraceFieldParser::ParseIntField<uint64_t>(format.fields, i++, data, size)); in f2fs_sync_file_enter_func() 30 msg->set_advise(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in f2fs_sync_file_enter_func() 33 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon60f389780202() argument [all …]
|
D | ftrace_i2c_event_parser.cpp | 20 template <typename T> void i2c_read_func(T& msg, uint8_t data[], size_t size, const EventFormat& fo… in i2c_read_func() argument 23 msg->set_adapter_nr(FtraceFieldParser::ParseIntField<int32_t>(format.fields, i++, data, size)); in i2c_read_func() 24 msg->set_msg_nr(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in i2c_read_func() 25 msg->set_addr(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in i2c_read_func() 26 msg->set_flags(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in i2c_read_func() 27 msg->set_len(FtraceFieldParser::ParseIntField<uint32_t>(format.fields, i++, data, size)); in i2c_read_func() 30 [](FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format) { in __anon6ddb08850202() argument 32 i2c_read_func(msg, data, size, format); in __anon6ddb08850202() 35 …[](ProtoEncoder::FtraceEvent& ftraceEvent, uint8_t data[], size_t size, const EventFormat& format)… in __anon6ddb08850302() argument 37 i2c_read_func(msg, data, size, format); in __anon6ddb08850302() [all …]
|